Selaa lähdekoodia

pdDetno -> pd_pdno

rainco 7 vuotta sitten
vanhempi
commit
af5c5bce11
1 muutettua tiedostoa jossa 51 lisäystä ja 26 poistoa
  1. 51 26
      frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

+ 51 - 26
frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

@@ -123,7 +123,7 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
         columns : [
             {
                 text : "序号", 
-                dataIndex : "pdDetno", 
+                dataIndex : "pd_pdno", 
                 width : 80.0, 
                 xtype : "rownumberer"
             }, {
@@ -163,53 +163,78 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
             }, 
             {
                 text : "数量", 
-                dataIndex : "pd_yqty", 
+                dataIndex : "pd_inqty", 
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null
             }, 
+            {
+                text : "仓库", 
+                dataIndex : "pd_whname", 
+                width : 120.0, 
+                xtype : "numbercolumn", 
+                items : null,
+                editor : {
+                    displayField : "display", 
+                    editable : true, 
+                    format : "", 
+                    hideTrigger : false, 
+                    maxLength : 100.0, 
+                    minValue : null, 
+                    positiveNum : false, 
+                    queryMode : "local", 
+                    store : null, 
+                    valueField : "value", 
+                    xtype : "dbfindtrigger"
+                }
+            },
             {
                 text : "单价", 
-                dataIndex : "pd_price", 
+                dataIndex : "pd_orderprice", 
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null
             }, 
-            {
+           {
+                text : "含税金额", 
+                dataIndex : "pd_total", 
+                width : 120.0, 
+                xtype : "numbercolumn"
+            }, {
                 text : "税率", 
                 dataIndex : "pd_taxrate", 
                 width : 120.0, 
                 xtype : "numbercolumn", 
                 items : null
             },
-            {
-                text : "含税金额", 
-                dataIndex : "pd_total", 
-                width : 120.0, 
-                xtype : "numbercolumn"
-            }, 
             {
                 text : "未税金额", 
-                dataIndex : "pd_taxtotal", 
+                dataIndex : "pd_nettotal", 
                 xtype : "numbercolumn"
-            },{
-                text : "需求日期", 
-                dataIndex : "pd_delivery", 
-                flex : 1.0, 
-                xtype:'datecolumn',
-                format : "Y-m-d H:i:s", 
-                editor : {
-                    xtype : "datetimefield",
-                    editable : true, 
-                    format : "Y-m-d H:i:s", 
-                    hideTrigger : false
-                }
             },
             {
-                text : "关联销售单号", 
-                dataIndex : "pd_salecode", 
+                text : "采购单号", 
+                dataIndex : "pd_ordercode", 
                 width : 120.0,
-                flex : 1.0
+                flex : 1.0,
+                editor : {
+                    displayField : "display", 
+                    editable : true, 
+                    format : "", 
+                    hideTrigger : false, 
+                    maxLength : 100.0, 
+                    minValue : null, 
+                    positiveNum : false, 
+                    queryMode : "local", 
+                    store : null, 
+                    valueField : "value", 
+                    xtype : "dbfindtrigger"
+                }
+            },{
+                text : "采购序号", 
+                dataIndex : "pd_orderdetno", 
+                xtype : "numbercolumn",
+                flex:1
             }
         ]
     }, {