|
|
@@ -31,20 +31,20 @@ Ext.define('saas.view.document.product.FormPanel', {
|
|
|
columnWidth: 0.25
|
|
|
},{
|
|
|
xtype: 'textfield',
|
|
|
- name: 'pr_detail',
|
|
|
- fieldLabel: '物料名称',
|
|
|
+ name: 'pr_code',
|
|
|
+ fieldLabel: '物料编号',
|
|
|
allowBlank: false,
|
|
|
columnWidth: 0.25
|
|
|
},{
|
|
|
xtype: 'textfield',
|
|
|
- name: 'pr_code',
|
|
|
- fieldLabel: '物料编号',
|
|
|
+ name: 'pr_detail',
|
|
|
+ fieldLabel: '物料名称',
|
|
|
allowBlank: false,
|
|
|
columnWidth: 0.25
|
|
|
},{
|
|
|
- xtype: 'textfield',
|
|
|
+ xtype: 'hidden',
|
|
|
name: 'pr_status',
|
|
|
- fieldLabel: '可用状态',
|
|
|
+ fieldLabel: '状态',
|
|
|
allowBlank: true,
|
|
|
columnWidth: 0.25
|
|
|
},{
|
|
|
@@ -53,6 +53,12 @@ Ext.define('saas.view.document.product.FormPanel', {
|
|
|
fieldLabel: '状态码',
|
|
|
allowBlank: true,
|
|
|
columnWidth: 0.25
|
|
|
+ },{
|
|
|
+ xtype: 'textfield',
|
|
|
+ name: 'pr_spec',
|
|
|
+ fieldLabel: '规格',
|
|
|
+ allowBlank: false,
|
|
|
+ columnWidth: 0.25
|
|
|
},{
|
|
|
editable:false,
|
|
|
xtype : "remotecombo",
|
|
|
@@ -79,6 +85,12 @@ Ext.define('saas.view.document.product.FormPanel', {
|
|
|
this.dialog.show();
|
|
|
}
|
|
|
},{
|
|
|
+ xtype: 'textfield',
|
|
|
+ name: 'pr_orispeccode',
|
|
|
+ fieldLabel: '型号',
|
|
|
+ allowBlank: true,
|
|
|
+ columnWidth: 0.25
|
|
|
+ },{
|
|
|
editable:false,
|
|
|
xtype : "remotecombo",
|
|
|
storeUrl:'/api/document/productunit/getCombo',
|
|
|
@@ -153,24 +165,48 @@ Ext.define('saas.view.document.product.FormPanel', {
|
|
|
}, {
|
|
|
xtype : "textfield",
|
|
|
name : "pr_whname",
|
|
|
- bind : "{pr_whname}",
|
|
|
fieldLabel : "仓库名称",
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25
|
|
|
},{
|
|
|
+ ignore:true,
|
|
|
+ readOnly:true,
|
|
|
xtype : "numberfield",
|
|
|
name : "pr_standardprice",
|
|
|
- bind : "{pr_standardprice}",
|
|
|
fieldLabel : "标准单价",
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25
|
|
|
},{
|
|
|
+ ignore:true,
|
|
|
+ readOnly:true,
|
|
|
+ xtype : "numberfield",
|
|
|
+ name : "pr_purcprice",
|
|
|
+ fieldLabel : "最新采购单价",
|
|
|
+ allowBlank : true,
|
|
|
+ columnWidth : 0.25
|
|
|
+ },{
|
|
|
+ ignore:true,
|
|
|
+ readOnly:true,
|
|
|
+ xtype : "numberfield",
|
|
|
+ name : "pr_saleprice",
|
|
|
+ fieldLabel : "最新出货单价",
|
|
|
+ allowBlank : true,
|
|
|
+ columnWidth : 0.25
|
|
|
+ },{
|
|
|
+ xtype : "numberfield",
|
|
|
+ name : "pr_zxbzs",
|
|
|
+ fieldLabel : "最小包装数",
|
|
|
+ allowBlank : true,
|
|
|
+ columnWidth : 0.25
|
|
|
+ },{
|
|
|
+ hidden:true,
|
|
|
xtype : "datefield",
|
|
|
name : "createTime",
|
|
|
fieldLabel : "创建时间",
|
|
|
allowBlank : true,
|
|
|
columnWidth : 0.25
|
|
|
},{
|
|
|
+ hidden:true,
|
|
|
xtype : "datefield",
|
|
|
name : "updateTime",
|
|
|
fieldLabel : "更新时间",
|