Index: ssts-web/src/main/webapp/disinfectsystem/assestManagement/expensiveGoods/expensiveGoodsView.js =================================================================== diff -u -r20845 -r21188 --- ssts-web/src/main/webapp/disinfectsystem/assestManagement/expensiveGoods/expensiveGoodsView.js (.../expensiveGoodsView.js) (revision 20845) +++ ssts-web/src/main/webapp/disinfectsystem/assestManagement/expensiveGoods/expensiveGoodsView.js (.../expensiveGoodsView.js) (revision 21188) @@ -49,12 +49,12 @@ labelSeparator : ':', bodyStyle : 'padding:5px 5px 0px 5px', // autoHeight : true, - height : 620, - autoScroll : true, + height : 300, +// autoScroll : true, items:[{ layout : 'column', items : [{ - columnWidth : 0.35, + columnWidth : 0.5, layout : 'form', labelWidth : 70, items : [{ @@ -291,228 +291,172 @@ name : 'maxStorage', anchor : '95%' }] - }, { - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'textfield', - fieldLabel : '拼音码', - id : 'spelling', - name : 'spelling', - readOnly : true, - allowBlank : true, - anchor : '95%' - }] - }, { - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'textfield', - fieldLabel : '五笔码', - id : 'wbCode', - name : 'wbCode', - readOnly : true, - allowBlank : true, - anchor : '95%' - }] - }, { - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'textfield', - fieldLabel : '外部编码', - maxLength : '16', - id : 'externalCode', - name : 'externalCode', - allowBlank : true, - anchor : '95%' - }] - },{ - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'numberfield', - fieldLabel : '参考价', - maxLength : '16', - id : 'referencePrice', - name : 'referencePrice', - allowBlank : false, - allowNegative : false, - anchor : '95%' - }] - }, { - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'numberfield', - fieldLabel : '最小申请数量', - maxLength : '16', - id : 'minApplyAmount', - name : 'minApplyAmount', - allowBlank : true, - anchor : '95%' - }] - }, { - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'numberfield', - fieldLabel : '最大申请数量', - maxLength : '16', - id : 'maxApplyAmount', - name : 'maxApplyAmount', - allowBlank : true, - anchor : '95%' - }] - },{ - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'textfield', - fieldLabel : '单位', - maxLength : '16', - id : 'unit', - name : 'unit', - allowBlank : true, - anchor : '95%' - }] - },{ - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'numberfield', - fieldLabel : '顺序号', - maxLength : '16', - id : 'sequence', - name : 'sequence', - allowDecimals : false, - allowBlank : true, - anchor : '95%' - }] - },{ - columnWidth : 1, - layout : 'form', - labelWidth : 110, - items : [{ - xtype : 'combo', - fieldLabel : '是否盘点', - id : 'isInventoryGoods', - name : 'isInventoryGoods', - width : 130, - valueField : 'value', - displayField : 'value', - store : inventoryGoodsStore, - forceSelection : true, - allowBlank: true, - mode : 'local', - editable : false, - triggerAction : 'all', - anchor : '95%' - }] - },{ - columnWidth : 1, - layout : 'column', - labelWidth : 0, - items : [{ - layout : 'form', - labelWidth : 110, - columnWidth : 0.8, - items : [{ - xtype : 'textfield', - fieldLabel : '注册证', - readOnly: true, - maxLength : '16', - id : 'registrationCertification', - name : 'registrationCertification', - allowBlank : true, - anchor : '95%' - }] - },{ - layout : 'form', - labelWidth : 0, - columnWidth : 0.2, - items : [new top.Ext.Button({ - text:'选择', - handler : function() { - selectRegistrationCertification(); - } - })] - }] } ] },{ - columnWidth : 0.65, - title: 'Hrp高值耗材数据', + columnWidth : 0.5, +// title: 'Hrp高值耗材数据', id :'hrpContrastDefinition', - hidden:true, - height : 130, - width : 630, +// hidden:true, + height : 300, + width : 500, layout : 'column', - xtype: 'fieldset', +// xtype: 'fieldset', items: [{ columnWidth : 1, layout : 'form', - labelWidth : 50, + labelWidth : 110, items : [{ - xtype : 'textfield', - fieldLabel : '名字', - width : 540, - maxLength : '60', - anchor : '100%', - id : 'hrpName', - name : 'hrpName', - readOnly : true - }] + xtype : 'textfield', + fieldLabel : '拼音码', + id : 'spelling', + name : 'spelling', + readOnly : true, + allowBlank : true, + anchor : '95%' + }] },{ columnWidth : 1, layout : 'form', - labelWidth : 50, + labelWidth : 110, items : [{ - xtype : 'textfield', - fieldLabel : '规格', - width : 540, - maxLength : '60', - anchor : '100%', - id : 'hrpSpecification', - name : 'hrpSpecification', - readOnly : true - }] + xtype : 'textfield', + fieldLabel : '五笔码', + id : 'wbCode', + name : 'wbCode', + readOnly : true, + allowBlank : true, + anchor : '95%' + }] + }, { + columnWidth : 1, + layout : 'form', + labelWidth : 110, + items : [{ + xtype : 'textfield', + fieldLabel : '外部编码', + maxLength : '16', + id : 'externalCode', + name : 'externalCode', + allowBlank : true, + anchor : '95%' + }] },{ - columnWidth : .5, + columnWidth : 1, layout : 'form', - labelWidth : 50, + labelWidth : 110, items : [{ - xtype : 'textfield', - fieldLabel : '价格', - width : 245, - maxLength : '16', - anchor : '100%', - id : 'hrpCost', - name : 'hrpCost', - readOnly : true - }] + xtype : 'numberfield', + fieldLabel : '参考价', + maxLength : '16', + id : 'referencePrice', + name : 'referencePrice', + allowBlank : false, + allowNegative : false, + anchor : '95%' + }] },{ - columnWidth : .5, + columnWidth : 1, layout : 'form', - labelWidth : 50, + labelWidth : 110, items : [{ - xtype : 'textfield', - fieldLabel : '单位', - width : 243, - maxLength : '16', - anchor : '100%', - id : 'hrpUnit', - name : 'hrpUnit', - readOnly : true - }] + xtype : 'numberfield', + fieldLabel : '最小申请数量', + maxLength : '16', + id : 'minApplyAmount', + name : 'minApplyAmount', + allowBlank : true, + anchor : '95%' + }] + }, { + columnWidth : 1, + layout : 'form', + labelWidth : 110, + items : [{ + xtype : 'numberfield', + fieldLabel : '最大申请数量', + maxLength : '16', + id : 'maxApplyAmount', + name : 'maxApplyAmount', + allowBlank : true, + anchor : '95%' + }] + },{ + columnWidth : 1, + layout : 'form', + labelWidth : 110, + items : [{ + xtype : 'textfield', + fieldLabel : '单位', + maxLength : '16', + id : 'unit', + name : 'unit', + allowBlank : true, + anchor : '95%' + }] + },{ + columnWidth : 1, + layout : 'form', + labelWidth : 110, + items : [{ + xtype : 'numberfield', + fieldLabel : '顺序号', + maxLength : '16', + id : 'sequence', + name : 'sequence', + allowDecimals : false, + allowBlank : true, + anchor : '95%' + }] + },{ + columnWidth : 1, + layout : 'form', + labelWidth : 110, + items : [{ + xtype : 'combo', + fieldLabel : '是否盘点', + id : 'isInventoryGoods', + name : 'isInventoryGoods', + width : 130, + valueField : 'value', + displayField : 'value', + store : inventoryGoodsStore, + forceSelection : true, + allowBlank: true, + mode : 'local', + editable : false, + triggerAction : 'all', + anchor : '95%' + }] + },{ + columnWidth : 1, + layout : 'column', + labelWidth : 0, + items : [{ + layout : 'form', + labelWidth : 110, + columnWidth : 0.8, + items : [{ + xtype : 'textfield', + fieldLabel : '注册证', + readOnly: true, + maxLength : '16', + id : 'registrationCertification', + name : 'registrationCertification', + allowBlank : true, + anchor : '95%' + }] + },{ + layout : 'form', + labelWidth : 0, + columnWidth : 0.2, + items : [new top.Ext.Button({ + text:'选择', + handler : function() { + selectRegistrationCertification(); + } + })] + }] }] }] }], @@ -537,9 +481,9 @@ id : 'expensiveGoodsWin', layout : 'fit', title : '高值耗材信息', - width : 980, + width : 700, // height : 620, - height : top.screen.height > 800 ? 660 : 500, + height : top.screen.height > 800 ? 350 : 350, modal : true, // autoHeight : true, border : false,