Przeglądaj źródła

资金模块-收款单/付款单明细二日期字段

huangx 7 lat temu
rodzic
commit
8ac64453c5

+ 1 - 3
frontend/saas-web/app/view/money/payBalance/FormPanel.js

@@ -222,9 +222,7 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
         }, {
             text: "单据日期",
             dataIndex: "pbd_sldate",
-            xtype: 'datecolumn',
-            defaultValue: new Date(),
-            hidden: true
+            xtype: 'datecolumn'
         }, {
             text: "单据金额",
             dataIndex: "pbd_amount",

+ 17 - 0
frontend/saas-web/app/view/money/payBalance/FormPanelController.js

@@ -109,6 +109,12 @@ Ext.define('saas.view.money.payBalance.FormPanelController', {
                         },{
                             from: 'sl_namount',
                             to: 'pb_pbdamount'
+                        },{
+                            from:'sl_date',
+                            to:'pbd_sldate'
+                        },{
+                            from:'sl_kind',
+                            to:'pbd_slkind'
                         }],
                         dbtpls: [{
                             field: 'sl_code',
@@ -136,6 +142,11 @@ Ext.define('saas.view.money.payBalance.FormPanelController', {
                             "flex": 1,
                             "dataIndex": "sl_code",
                             "width": 100
+                        },{
+                            "text": "源单类型",
+                            "flex": 1,
+                            "dataIndex": "sl_kind",
+                            "width": 100
                         }, {
                             "text": "单据金额",
                             "flex": 1,
@@ -155,6 +166,12 @@ Ext.define('saas.view.money.payBalance.FormPanelController', {
                             "dataIndex": "sl_namount",
                             "width": 100,
                             align:'right'
+                        },{
+                            "text": "单据日期",
+                            "flex": 1,
+                            "dataIndex": "sl_date",
+                            "width": 100,
+                            align:'right'
                         }]
                     });
 

+ 1 - 3
frontend/saas-web/app/view/money/recBalance/FormPanel.js

@@ -219,9 +219,7 @@ Ext.define('saas.view.money.recBalance.FormPanel', {
         }, {
             text: "单据日期",
             dataIndex: "rbd_sldate",
-            defaultValue: new Date(),
-            xtype: 'datecolumn',
-            hidden: true
+            xtype: 'datecolumn'
         }, {
             text: "单据金额",
             dataIndex: "rbd_amount",

+ 17 - 0
frontend/saas-web/app/view/money/recBalance/FormPanelController.js

@@ -181,6 +181,12 @@ Ext.define('saas.view.money.recBalance.FormPanelController', {
                         },{
                             from: 'sl_namount',
                             to: 'rbd_pbdamount'
+                        },{
+                            from:'sl_date',
+                            to:'rbd_sldate'
+                        },{
+                            from:'sl_kind',
+                            to:'rbd_slkind'
                         }],
                         dbtpls: [{
                             field: 'sl_code',
@@ -209,6 +215,11 @@ Ext.define('saas.view.money.recBalance.FormPanelController', {
                             "dataIndex": "sl_code",
                             "width": 100
                         }, {
+                            "text": "源单类型",
+                            "flex": 1,
+                            "dataIndex": "sl_kind",
+                            "width": 100
+                        },{
                             "text": "单据金额",
                             "flex": 1,
                             "dataIndex": "sl_orderamount",
@@ -227,6 +238,12 @@ Ext.define('saas.view.money.recBalance.FormPanelController', {
                             "dataIndex": "sl_namount",
                             "width": 100,
                             align:'right'
+                        },{
+                            "text": "单据日期",
+                            "flex": 1,
+                            "dataIndex": "sl_date",
+                            "width": 100,
+                            align:'right'
                         }]
                     });