Sfoglia il codice sorgente

【界面标准化】【调拨单列表标准化】 【前端处理】

rainco 7 anni fa
parent
commit
f5b0b945fc

+ 0 - 1
frontend/saas-web/app/view/purchase/purchase/QueryPanel.js

@@ -10,7 +10,6 @@ Ext.define('saas.view.purchase.purchase.QueryPanel', {
     queryFormItems: [{
         xtype: 'textfield',
         name: 'pu_code',
-        fieldLabel: ' ',
         labelSeparator:' ',
         emptyText:'请输入单号或供应商',
         getCondition: function(value) {

+ 1 - 8
frontend/saas-web/app/view/purchase/purchaseOut/QueryPanel.js

@@ -25,14 +25,7 @@ Ext.define('saas.view.purchase.purchaseOut.QueryPanel', {
         name: 'pr_detail',
         fieldLabel: '物料',
         emptyText: '输入物料编号或名称',
-        showDetail: true,
-        getCondition: function (value) {
-            if (!value) {
-                return '1=1';
-            } else {
-                return ' pr_detail = \'' + value + '\' ';
-            }
-        }
+        showDetail: true
     }, {
         xtype: 'combobox',
         name: 'pi_statuscode',

+ 1 - 1
frontend/saas-web/app/view/sale/saleOut/QueryPanel.js

@@ -63,7 +63,7 @@ Ext.define('saas.view.sale.saleout.QueryPanel', {
     }, {
         xtype: 'warehouseDbfindTrigger',
         name: 'pd_whname',
-        emptyText:'请输入物料编号或名称',
+        emptyText:'请输入仓库编号或名称',
         fieldLabel: '仓库',
         showDetail: true
     }, {

+ 8 - 4
frontend/saas-web/app/view/stock/appropriationInOut/QueryPanel.js

@@ -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',