|
|
@@ -11,7 +11,6 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
|
|
|
xtype: 'textfield',
|
|
|
name: 'pi_inoutno',
|
|
|
emptyText:'请输入单号',
|
|
|
- showDetail: true,
|
|
|
getCondition: function(value) {
|
|
|
if(value == ''|| value ==null) {
|
|
|
return '1=1';
|
|
|
@@ -23,7 +22,6 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
|
|
|
xtype: 'condatefield',
|
|
|
name: 'pi_date',
|
|
|
fieldLabel: '日期',
|
|
|
- showDetail: true,
|
|
|
allowBlank: true,
|
|
|
columnWidth: 0.5
|
|
|
}, {
|
|
|
@@ -31,7 +29,13 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
|
|
|
name: 'pr_detail',
|
|
|
fieldLabel: '物料',
|
|
|
emptyText:'请输入物料编号或名称',
|
|
|
- showDetail: true
|
|
|
+ getCondition: function(value) {
|
|
|
+ if(value == ''|| value ==null) {
|
|
|
+ return '1=1';
|
|
|
+ }else {
|
|
|
+ return ' (pr_detail like\'%' + value + '%\' or ) ';
|
|
|
+ }
|
|
|
+ }
|
|
|
}, {
|
|
|
xtype: 'combobox',
|
|
|
name: 'pi_statuscode',
|
|
|
@@ -163,7 +167,7 @@ Ext.define('saas.view.stock.appropriationInOut.QueryPanel', {
|
|
|
},{
|
|
|
text: '序号',
|
|
|
dataIndex: 'pd_pdno',
|
|
|
- width: 65
|
|
|
+ hidden: true
|
|
|
},{
|
|
|
text: '物料编号',
|
|
|
dataIndex: 'pd_prodcode',
|