|
|
@@ -12,9 +12,9 @@ Ext.define('saas.view.document.product.BasePanel', {
|
|
|
xtype : "textfield",
|
|
|
name : "pr_code",
|
|
|
width:300,
|
|
|
- emptyText:'输入物料编号、名称、型号或规格',
|
|
|
+ emptyText:'输入物料编号、名称、型号、规格或品牌',
|
|
|
getCondition: function (v) {
|
|
|
- return "(upper(CONCAT(pr_code,'#',pr_detail,'#',ifnull(pr_spec,''),'#',ifnull(pr_orispeccode,''))) like '%" + v.toUpperCase() + "%')";
|
|
|
+ return "(upper(CONCAT(pr_code,'#',pr_detail,'#',ifnull(pr_spec,''),'#',ifnull(pr_orispeccode,'')'#',ifnull(pr_brand,''))) like '%" + v.toUpperCase() + "%' )";
|
|
|
},
|
|
|
},{
|
|
|
editable:true,
|
|
|
@@ -22,24 +22,14 @@ Ext.define('saas.view.document.product.BasePanel', {
|
|
|
xtype : "remotecombo",
|
|
|
storeUrl: '/api/document/producttype/getCombo',
|
|
|
name : "pr_kind",
|
|
|
- emptyText : "物料类型",
|
|
|
- width:130
|
|
|
- }, {
|
|
|
- editable:true,
|
|
|
- hiddenBtn:true,
|
|
|
- xtype : "remotecombo",
|
|
|
- storeUrl:'/api/document/productbrand/getCombo',
|
|
|
- name : "pr_brand",
|
|
|
- emptyText : "品牌",
|
|
|
- width:120
|
|
|
+ fieldLabel : '物料类型'
|
|
|
}, {
|
|
|
xtype: 'combobox',
|
|
|
name: 'pr_statuscode',
|
|
|
queryMode: 'local',
|
|
|
displayField: 'pr_status',
|
|
|
valueField: 'pr_statuscode',
|
|
|
- emptyText :'状态',
|
|
|
- width:110,
|
|
|
+ fieldLabel : '状态',
|
|
|
editable:false,
|
|
|
store: Ext.create('Ext.data.ArrayStore', {
|
|
|
fields: ['pr_statuscode', 'pr_status'],
|