From 10a73f7850b5079b1202c67eaf0cf7249e8ea675 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期一, 31 三月 2025 09:43:57 +0800
Subject: [PATCH] 销售出库添加字段(申请出库数量、库存数量、申请采购数量)

---
 WebTM/views/领料发货/销售出库/Kf_SellOutBill.html |  136 +++++++++++++--------------------------------
 1 files changed, 39 insertions(+), 97 deletions(-)

diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
index 6072b42..81c1ee5 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
@@ -38,7 +38,6 @@
     </style>
 </head>
 <body>
-
     <div class="layui-fluid" style="padding: 0;">
         <div class="layui-card" style="padding: 15px;">
             <div class="layui-card-body" style="padding: 1px;">
@@ -918,25 +917,21 @@
                                                 , "HWHID": dataArray[i].HWhID
                                                 , "鍙戣揣浠撳簱": dataArray[i].瀛愪粨搴�
                                                 , "HRemark": ""
-
                                                 , "HQty_Full": "0"
                                                 , "HQty_Empty": "0"
                                                 , "HQty_Back": "0"
                                                 , "HCostPrice": "0"
                                                 , "HCostMoney": "0"
                                                 , "HSalePrice": "0"
-
                                                 , "HSeOrderInterID": dataArray[i].hmainid
                                                 , "HSeOrderEntryID": dataArray[i].hsubid
                                                 , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                                                 , "HSourceInterID": dataArray[i].hmainid
                                                 , "HSourceEntryID": dataArray[i].hsubid
                                                 , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                                                 , "HSourceBillType": dataArray[i].HBillType
                                                 , "HRelationQty": "0"
                                                 , "HRelationMoney": "0"
-
                                                 , 'HSPID': "0"
                                                 , 'HSPName': ""
                                                 , 'HSPGroupID': "0"
@@ -949,17 +944,17 @@
                                                 , 'HPOOrderInterID': "0"
                                                 , 'HPOOrderEntryID': "0"
                                                 , 'HPOOrderBillNo': ""
-
                                                 , 'HPropertyID': "0"
                                                 , 'HPropertyName': ""
                                                 , 'HSecUnitID': "0"
                                                 , 'HSecUnitName': ""
                                                 , 'HSecUnitRate': "0"
-
-
                                                 , 'HEngineNum': ""
                                                 , 'HUnderPanNum': ""
                                                 , 'HLeaveFactCard': ""
+                                                , 'HReqBuyQty': "0"
+                                                , 'HReqOutQty': "0"
+                                                , 'HCurrentInventory': "0"
                                             }
                                         );
                                     }
@@ -1018,25 +1013,21 @@
                                                 , "HWHID": dataArray[i].HWHID
                                                 , "鍙戣揣浠撳簱": dataArray[i].鍙戣揣浠撳簱
                                                 , "HRemark": ""
-
                                                 , "HQty_Full": "0"
                                                 , "HQty_Empty": "0"
                                                 , "HQty_Back": "0"
                                                 , "HCostPrice": "0"
                                                 , "HCostMoney": "0"
                                                 , "HSalePrice": "0"
-
                                                 , "HSeOrderInterID": dataArray[i].hmainid
                                                 , "HSeOrderEntryID": dataArray[i].hsubid
                                                 , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                                                 , "HSourceInterID": dataArray[i].hmainid
                                                 , "HSourceEntryID": dataArray[i].hsubid
                                                 , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                                                 , "HSourceBillType": dataArray[i].HBillType
                                                 , "HRelationQty": "0"
                                                 , "HRelationMoney": "0"
-
                                                 , 'HSPID': "0"
                                                 , 'HSPName': ""
                                                 , 'HSPGroupID': "0"
@@ -1049,17 +1040,17 @@
                                                 , 'HPOOrderInterID': "0"
                                                 , 'HPOOrderEntryID': "0"
                                                 , 'HPOOrderBillNo': ""
-
                                                 , 'HPropertyID': "0"
                                                 , 'HPropertyName': ""
                                                 , 'HSecUnitID': "0"
                                                 , 'HSecUnitName': ""
                                                 , 'HSecUnitRate': "0"
-
-
                                                 , 'HEngineNum': ""
                                                 , 'HUnderPanNum': ""
                                                 , 'HLeaveFactCard': ""
+                                                , 'HReqBuyQty': "0"
+                                                , 'HReqOutQty': "0"
+                                                , 'HCurrentInventory': "0"
                                             }
                                         );
                                     }
@@ -1121,25 +1112,21 @@
                     , "HWHID": $("#HWHID").val()
                     , "鍙戣揣浠撳簱": $("#HWHName").val()
                     , "HRemark": ""
-
                     , "HQty_Full": "0"
                     , "HQty_Empty": "0"
                     , "HQty_Back": "0"
                     , "HCostPrice": "0"
                     , "HCostMoney": "0"
                     , "HSalePrice": "0"
-
                     , "HSeOrderInterID": 0
                     , "HSeOrderEntryID": 0
                     , "HSeOrderBillNo": ""
-
                     , "HSourceInterID": "0"
                     , "HSourceEntryID": "0"
                     , "HSourceBillNo": ""
                     , "HSourceBillType": ""
                     , "HRelationQty": "0"
                     , "HRelationMoney": "0"
-
                     , 'HSPID': "0"
                     , 'HSPName': ""
                     , 'HSPGroupID': "0"
@@ -1152,17 +1139,17 @@
                     , 'HPOOrderInterID': "0"
                     , 'HPOOrderEntryID': "0"
                     , 'HPOOrderBillNo': ""
-
                     , 'HPropertyID': "0"
                     , 'HPropertyName': ""
                     , 'HSecUnitID': "0"
                     , 'HSecUnitName': ""
                     , 'HSecUnitRate': "0"
-
-
                     , 'HEngineNum': ""
                     , 'HUnderPanNum': ""
                     , 'HLeaveFactCard': ""
+                    , 'HReqBuyQty': "0"
+                    , 'HReqOutQty': "0"
+                    , 'HCurrentInventory': "0"
                 };
 
                 switch (obj.event) {
@@ -2162,25 +2149,21 @@
                                             , "HWHID": dataArray[i].HWhID
                                             , "鍙戣揣浠撳簱": dataArray[i].瀛愪粨搴�
                                             , "HRemark": ""
-
                                             , "HQty_Full": "0"
                                             , "HQty_Empty": "0"
                                             , "HQty_Back": "0"
                                             , "HCostPrice": "0"
                                             , "HCostMoney": "0"
                                             , "HSalePrice": "0"
-
                                             , "HSeOrderInterID": dataArray[i].hmainid
                                             , "HSeOrderEntryID": dataArray[i].hsubid
                                             , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                                             , "HSourceInterID": dataArray[i].hmainid
                                             , "HSourceEntryID": dataArray[i].hsubid
                                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                                             , "HSourceBillType": dataArray[i].HBillType
                                             , "HRelationQty": "0"
                                             , "HRelationMoney": "0"
-
                                             , 'HSPID': "0"
                                             , 'HSPName': ""
                                             , 'HSPGroupID': "0"
@@ -2193,17 +2176,17 @@
                                             , 'HPOOrderInterID': "0"
                                             , 'HPOOrderEntryID': "0"
                                             , 'HPOOrderBillNo': ""
-
                                             , 'HPropertyID': "0"
                                             , 'HPropertyName': ""
                                             , 'HSecUnitID': "0"
                                             , 'HSecUnitName': ""
                                             , 'HSecUnitRate': "0"
-
-
                                             , 'HEngineNum': ""
                                             , 'HUnderPanNum': ""
                                             , 'HLeaveFactCard': ""
+                                            , 'HReqBuyQty': "0"
+                                            , 'HReqOutQty': "0"
+                                            , 'HCurrentInventory': "0"
                                         }
                                     );
                                 }
@@ -2283,25 +2266,21 @@
                                             , "HWHID": dataArray[i].HWHID
                                             , "鍙戣揣浠撳簱": dataArray[i].鍙戣揣浠撳簱
                                             , "HRemark": ""
-
                                             , "HQty_Full": "0"
                                             , "HQty_Empty": "0"
                                             , "HQty_Back": "0"
                                             , "HCostPrice": "0"
                                             , "HCostMoney": "0"
                                             , "HSalePrice": "0"
-
                                             , "HSeOrderInterID": dataArray[i].hmainid
                                             , "HSeOrderEntryID": dataArray[i].hsubid
                                             , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                                             , "HSourceInterID": dataArray[i].hmainid
                                             , "HSourceEntryID": dataArray[i].hsubid
                                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                                             , "HSourceBillType": dataArray[i].HBillType
                                             , "HRelationQty": "0"
                                             , "HRelationMoney": "0"
-
                                             , 'HSPID': "0"
                                             , 'HSPName': ""
                                             , 'HSPGroupID': "0"
@@ -2314,17 +2293,17 @@
                                             , 'HPOOrderInterID': "0"
                                             , 'HPOOrderEntryID': "0"
                                             , 'HPOOrderBillNo': ""
-
                                             , 'HPropertyID': "0"
                                             , 'HPropertyName': ""
                                             , 'HSecUnitID': "0"
                                             , 'HSecUnitName': ""
                                             , 'HSecUnitRate': "0"
-
-
                                             , 'HEngineNum': ""
                                             , 'HUnderPanNum': ""
                                             , 'HLeaveFactCard': ""
+                                            , 'HReqBuyQty': "0"
+                                            , 'HReqOutQty': "0"
+                                            , 'HCurrentInventory': "0"
                                         }
                                     );
                                 }
@@ -2379,25 +2358,21 @@
                         , { field: 'HWHID', title: 'HWHID', width: 100, edit: 'text', hide: true, style: 'background-color:#efefef4d;' }
                         , { field: '鍙戣揣浠撳簱', title: '鍙戣揣浠撳簱', width: 100, edit: 'text', event: "HWHID" }
                         , { field: 'HRemark', title: '澶囨敞', width: 100, edit: 'text' }
-
                         , { field: 'HQty_Full', title: '婊¤溅閲嶉噺', width: 100, edit: 'text', event: "HQty_Full", hide: true }
                         , { field: 'HQty_Empty', title: '绌鸿溅閲嶉噺', width: 100, edit: 'text', event: "HQty_Empty", hide: true }
                         , { field: 'HQty_Back', title: '鍥炶溅閲嶉噺', width: 100, edit: 'text', event: "HQty_Back", hide: true }
                         , { field: 'HCostPrice', title: '鎴愭湰鍗曚环', width: 100, edit: 'text', event: "HCostPrice", hide: true }
                         , { field: 'HCostMoney', title: '鎴愭湰閲戦', width: 100, edit: 'text', event: "HCostMoney", hide: true }
                         , { field: 'HSalePrice', title: '閿�鍞崟浠�', width: 100, edit: 'text', event: "HSalePrice", hide: true }
-
                         , { field: 'HSeOrderInterID', title: '閿�鍞鍗曞唴鐮�', width: 100, edit: 'text', hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSeOrderEntryID', title: '閿�鍞鍗曞瓙鍐呯爜', width: 100, edit: 'text', hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSeOrderBillNo', title: '閿�鍞鍗曞彿', width: 100, hide: true, style: 'background-color:#efefef4d;' }
-
                         , { field: 'HSourceInterID', title: '婧愬崟鍐呯爜', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSourceBillNo', title: '婧愬崟鍙�', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSourceBillType', title: '婧愬崟绫诲瀷', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HRelationQty', title: '鍏宠仈鏁伴噺', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HRelationMoney', title: '鍏宠仈閲戦', width: 100, hide: true, style: 'background-color:#efefef4d;' }
-
                         , { field: 'HSPID', title: 'HSPID', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSPName', title: '浠撲綅', width: 100, hide: true }
                         , { field: 'HSPGroupID', title: 'HSPGroupID', width: 100, hide: true, style: 'background-color:#efefef4d;' }
@@ -2410,17 +2385,17 @@
                         , { field: 'HPOOrderInterID', title: '閲囪喘璁㈠崟鍐呯爜', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HPOOrderEntryID', title: '閲囪喘璁㈠崟瀛愬唴鐮�', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HPOOrderBillNo', title: '閲囪喘璁㈠崟鍙�', width: 100, hide: true, style: 'background-color:#efefef4d;' }
-
                         , { field: 'HPropertyID', title: 'HPropertyID', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HPropertyName', title: '杈呭姪灞炴��', width: 100, hide: true }
                         , { field: 'HSecUnitID', title: 'HSecUnitID', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                         , { field: 'HSecUnitName', title: '杈呭姪璁¢噺鍗曚綅', width: 100, hide: true }
                         , { field: 'HSecUnitRate', title: '鎹㈢畻鐜�', width: 100, hide: true }
-
-
                         , { field: 'HEngineNum', title: '鍙戝姩鏈哄彿', width: 100, hide: true }
                         , { field: 'HUnderPanNum', title: '鍦扮洏鍙�', width: 100, hide: true }
                         , { field: 'HLeaveFactCard', title: '鍑哄巶璇�', width: 100, hide: true }
+                        , { field: 'HReqBuyQty', title: '閲囪喘鏁伴噺', width: 100, totalRow: true }
+                        , { field: 'HReqOutQty', title: '鐢宠鍑哄簱鏁伴噺', width: 100, totalRow: true }
+                        , { field: 'HCurrentInventory', title: '褰撳墠搴撳瓨', width: 100, totalRow: true }
 
                         , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 70 }
                     ]]
@@ -2447,25 +2422,21 @@
                     , "HWHID": $("#HWHID").val()
                     , "鍙戣揣浠撳簱": $("#HWHName").val()
                     , "HRemark": ""
-
                     , "HQty_Full": "0"
                     , "HQty_Empty": "0"
                     , "HQty_Back": "0"
                     , "HCostPrice": "0"
                     , "HCostMoney": "0"
                     , "HSalePrice": "0"
-
                     , "HSeOrderInterID": "0"
                     , "HSeOrderEntryID": "0"
                     , "HSeOrderBillNo": ""
-
                     , "HSourceInterID": "0"
                     , "HSourceEntryID": "0"
                     , "HSourceBillNo": ""
                     , "HSourceBillType": ""
                     , "HRelationQty": "0"
                     , "HRelationMoney": "0"
-
                     , 'HSPID': "0"
                     , 'HSPName': ""
                     , 'HSPGroupID': "0"
@@ -2478,18 +2449,17 @@
                     , 'HPOOrderInterID': "0"
                     , 'HPOOrderEntryID': "0"
                     , 'HPOOrderBillNo': ""
-
                     , 'HPropertyID': "0"
                     , 'HPropertyName': ""
                     , 'HSecUnitID': "0"
                     , 'HSecUnitName': ""
                     , 'HSecUnitRate': "0"
-
-
                     , 'HEngineNum': ""
                     , 'HUnderPanNum': ""
                     , 'HLeaveFactCard': ""
-
+                    , 'HReqBuyQty': "0"
+                    , 'HReqOutQty': "0"
+                    , 'HCurrentInventory': "0"
                     
                 }];
 
@@ -2550,8 +2520,6 @@
                                 , "HGroupName": data.鐝粍
                                 , "HPriceType": data.鍗曚环绫诲瀷
                                 , "HRemark": data.琛ㄥご澶囨敞
-
-
                                 , "HConveyCompID": data.HConveyCompID
                                 , "HConveyCompName": data.杩愯緭鍏徃
                                 , "HConveyTypeID": data.HConveyTypeID
@@ -2568,8 +2536,6 @@
                                 , "HCheckStatusMan": data.鏍搁攢浜�
                                 , "HExplanation": data.鎽樿
                                 , "HInnerBillNo": data.鍐呴儴鍗曟嵁鍙�
-
-                                
                                 , "HMaker": data.鍒跺崟浜�
                                 , "HMakeDate": data.鍒跺崟鏃ユ湡 == null ? "" : Format(new Date(data.鍒跺崟鏃ユ湡), "yyyy-MM-dd")
                                 , "HUpDater": data.淇敼浜�
@@ -2606,25 +2572,21 @@
                                         , "HWHID": result.data[i].hwhid
                                         , "鍙戣揣浠撳簱": result.data[i].鍙戣揣浠撳簱
                                         , "HRemark": result.data[i].琛ㄤ綋澶囨敞
-
                                         , "HQty_Full": result.data[i].婊¤溅閲嶉噺
                                         , "HQty_Empty": result.data[i].绌鸿溅閲嶉噺
                                         , "HQty_Back": result.data[i].鍥炶溅閲嶉噺
                                         , "HCostPrice": result.data[i].鎴愭湰鍗曚环
                                         , "HCostMoney": result.data[i].鎴愭湰閲戦
                                         , "HSalePrice": result.data[i].閿�鍞崟浠�
-
                                         , "HSeOrderInterID": result.data[i].HSeOrderInterID
                                         , "HSeOrderEntryID": result.data[i].HSeOrderEntryID
                                         , "HSeOrderBillNo": result.data[i].閿�鍞鍗曞彿
-
                                         , "HSourceInterID": result.data[i].HSourceInterID
                                         , "HSourceEntryID": result.data[i].HSourceEntryID
                                         , "HSourceBillNo": result.data[i].婧愬崟鍗曞彿
                                         , "HSourceBillType": result.data[i].HSourceBillType
                                         , "HRelationQty": result.data[i].鍏宠仈鏁伴噺
                                         , "HRelationMoney": result.data[i].鍏宠仈閲戦
-
                                         , 'HSPID': result.data[i].HSPID
                                         , 'HSPName': result.data[i].浠撲綅
                                         , 'HSPGroupID': result.data[i].HSPGroupID
@@ -2637,17 +2599,17 @@
                                         , 'HPOOrderInterID': result.data[i].閲囪喘璁㈠崟鍐呯爜
                                         , 'HPOOrderEntryID': result.data[i].閲囪喘璁㈠崟瀛愬唴鐮�
                                         , 'HPOOrderBillNo': result.data[i].閲囪喘璁㈠崟鍙�
-
                                         , 'HPropertyID': result.data[i].HPropertyID
                                         , 'HPropertyName': result.data[i].杈呭姪灞炴��
                                         , 'HSecUnitID': result.data[i].HSecUnitID
                                         , 'HSecUnitName': result.data[i].杈呭姪璁¢噺鍗曚綅
                                         , 'HSecUnitRate': result.data[i].鎹㈢畻鐜�
-
-
                                         , 'HEngineNum': result.data[i].鍙戝姩鏈哄彿
                                         , 'HUnderPanNum': result.data[i].鍦扮洏鍙�
                                         , 'HLeaveFactCard': result.data[i].鍑哄巶璇�
+                                        , 'HReqBuyQty': result.data[i].鐢宠閲囪喘鏁伴噺
+                                        , 'HReqOutQty': result.data[i].鐢宠鍑哄簱鏁伴噺
+                                        , 'HCurrentInventory': result.data[i].褰撳墠搴撳瓨
                                     }
                                 )
                             }
@@ -2738,25 +2700,21 @@
                             , "HWHID": $("#HWHID").val()
                             , "鍙戣揣浠撳簱": $("#HWHName").val()
                             , "HRemark": ""
-
                             , "HQty_Full": "0"
                             , "HQty_Empty": "0"
                             , "HQty_Back": "0"
                             , "HCostPrice": "0"
                             , "HCostMoney": "0"
                             , "HSalePrice": "0"
-
                             , "HSeOrderInterID": dataArray[i].hmainid
                             , "HSeOrderEntryID": dataArray[i].hsubid
                             , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                             , "HSourceInterID": dataArray[i].hmainid
                             , "HSourceEntryID": dataArray[i].hsubid
                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                             , "HSourceBillType": dataArray[i].HBillType
                             , "HRelationQty": "0"
                             , "HRelationMoney": "0"
-
                             , 'HSPID': "0"
                             , 'HSPName': ""
                             , 'HSPGroupID': "0"
@@ -2769,17 +2727,17 @@
                             , 'HPOOrderInterID': "0"
                             , 'HPOOrderEntryID': "0"
                             , 'HPOOrderBillNo': ""
-
                             , 'HPropertyID': "0"
                             , 'HPropertyName': ""
                             , 'HSecUnitID': "0"
                             , 'HSecUnitName': ""
                             , 'HSecUnitRate': "0"
-
-
                             , 'HEngineNum': ""
                             , 'HUnderPanNum': ""
                             , 'HLeaveFactCard': ""
+                            , 'HReqBuyQty': "0"
+                            , 'HReqOutQty': "0"
+                            , 'HCurrentInventory': "0"
                         }
                     );
                 }
@@ -3224,25 +3182,21 @@
                                                     , "HWHID": $("#HWHID").val()
                                                     , "鍙戣揣浠撳簱": $("#HWHName").val()
                                                     , "HRemark": ""
-
                                                     , "HQty_Full": "0"
                                                     , "HQty_Empty": "0"
                                                     , "HQty_Back": "0"
                                                     , "HCostPrice": "0"
                                                     , "HCostMoney": "0"
                                                     , "HSalePrice": "0"
-
                                                     , "HSeOrderInterID": 0
                                                     , "HSeOrderEntryID": 0
                                                     , "HSeOrderBillNo": ""
-
                                                     , "HSourceInterID": "0"
                                                     , "HSourceEntryID": "0"
                                                     , "HSourceBillNo": ""
                                                     , "HSourceBillType": ""
                                                     , "HRelationQty": "0"
                                                     , "HRelationMoney": "0"
-
                                                     , 'HSPID': "0"
                                                     , 'HSPName': ""
                                                     , 'HSPGroupID': "0"
@@ -3255,17 +3209,17 @@
                                                     , 'HPOOrderInterID': "0"
                                                     , 'HPOOrderEntryID': "0"
                                                     , 'HPOOrderBillNo': ""
-
                                                     , 'HPropertyID': "0"
                                                     , 'HPropertyName': ""
                                                     , 'HSecUnitID': "0"
                                                     , 'HSecUnitName': ""
                                                     , 'HSecUnitRate': "0"
-
-
                                                     , 'HEngineNum': ""
                                                     , 'HUnderPanNum': ""
                                                     , 'HLeaveFactCard': ""
+                                                    , 'HReqBuyQty': "0"
+                                                    , 'HReqOutQty': "0"
+                                                    , 'HCurrentInventory': "0"
                                                 };
                                                 table.cache["mainTable"].push(NewRow);
                                                 option.data = table.cache["mainTable"];
@@ -3536,25 +3490,21 @@
                                             , "HWHID": $("#HWHID").val()
                                             , "鍙戣揣浠撳簱": $("#HWHName").val()
                                             , "HRemark": ""
-
                                             , "HQty_Full": "0"
                                             , "HQty_Empty": "0"
                                             , "HQty_Back": "0"
                                             , "HCostPrice": "0"
                                             , "HCostMoney": "0"
                                             , "HSalePrice": "0"
-
                                             , "HSeOrderInterID": 0
                                             , "HSeOrderEntryID": 0
                                             , "HSeOrderBillNo": ""
-
                                             , "HSourceInterID": "0"
                                             , "HSourceEntryID": "0"
                                             , "HSourceBillNo": ""
                                             , "HSourceBillType": ""
                                             , "HRelationQty": "0"
                                             , "HRelationMoney": "0"
-
                                             , 'HSPID': "0"
                                             , 'HSPName': ""
                                             , 'HSPGroupID': "0"
@@ -3567,17 +3517,17 @@
                                             , 'HPOOrderInterID': "0"
                                             , 'HPOOrderEntryID': "0"
                                             , 'HPOOrderBillNo': ""
-
                                             , 'HPropertyID': "0"
                                             , 'HPropertyName': ""
                                             , 'HSecUnitID': "0"
                                             , 'HSecUnitName': ""
                                             , 'HSecUnitRate': "0"
-
-
                                             , 'HEngineNum': ""
                                             , 'HUnderPanNum': ""
                                             , 'HLeaveFactCard': ""
+                                            , 'HReqBuyQty': "0"
+                                            , 'HReqOutQty': "0"
+                                            , 'HCurrentInventory': "0"
                                         };
                                         table.cache["mainTable"].push(NewRow);
                                         option.data = table.cache["mainTable"];
@@ -4036,25 +3986,21 @@
                             , "HWHID": dataArray[i].HWhID
                             , "鍙戣揣浠撳簱": dataArray[i].瀛愪粨搴�
                             , "HRemark": ""
-
                             , "HQty_Full": "0"
                             , "HQty_Empty": "0"
                             , "HQty_Back": "0"
                             , "HCostPrice": "0"
                             , "HCostMoney": "0"
                             , "HSalePrice": "0"
-
                             , "HSeOrderInterID": dataArray[i].hmainid
                             , "HSeOrderEntryID": dataArray[i].hsubid
                             , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                             , "HSourceInterID": dataArray[i].hmainid
                             , "HSourceEntryID": dataArray[i].hsubid
                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                             , "HSourceBillType": dataArray[i].HBillType
                             , "HRelationQty": "0"
                             , "HRelationMoney": "0"
-
                             , 'HSPID': "0"
                             , 'HSPName': ""
                             , 'HSPGroupID': "0"
@@ -4067,17 +4013,17 @@
                             , 'HPOOrderInterID': "0"
                             , 'HPOOrderEntryID': "0"
                             , 'HPOOrderBillNo': ""
-
                             , 'HPropertyID': "0"
                             , 'HPropertyName': ""
                             , 'HSecUnitID': "0"
                             , 'HSecUnitName': ""
                             , 'HSecUnitRate': "0"
-
-
                             , 'HEngineNum': ""
                             , 'HUnderPanNum': ""
                             , 'HLeaveFactCard': ""
+                            , 'HReqBuyQty': "0"
+                            , 'HReqOutQty': "0"
+                            , 'HCurrentInventory': "0"
                         }
                     );
                 }
@@ -4165,25 +4111,21 @@
                             , "HWHID": dataArray[i].HWHID
                             , "鍙戣揣浠撳簱": dataArray[i].鍙戣揣浠撳簱
                             , "HRemark": ""
-
                             , "HQty_Full": "0"
                             , "HQty_Empty": "0"
                             , "HQty_Back": "0"
                             , "HCostPrice": "0"
                             , "HCostMoney": "0"
                             , "HSalePrice": "0"
-
                             , "HSeOrderInterID": dataArray[i].hmainid
                             , "HSeOrderEntryID": dataArray[i].hsubid
                             , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
-
                             , "HSourceInterID": dataArray[i].hmainid
                             , "HSourceEntryID": dataArray[i].hsubid
                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
                             , "HSourceBillType": dataArray[i].HBillType
                             , "HRelationQty": "0"
                             , "HRelationMoney": "0"
-
                             , 'HSPID': "0"
                             , 'HSPName': ""
                             , 'HSPGroupID': "0"
@@ -4196,17 +4138,17 @@
                             , 'HPOOrderInterID': "0"
                             , 'HPOOrderEntryID': "0"
                             , 'HPOOrderBillNo': ""
-
                             , 'HPropertyID': "0"
                             , 'HPropertyName': ""
                             , 'HSecUnitID': "0"
                             , 'HSecUnitName': ""
                             , 'HSecUnitRate': "0"
-
-
                             , 'HEngineNum': ""
                             , 'HUnderPanNum': ""
                             , 'HLeaveFactCard': ""
+                            , 'HReqBuyQty': "0"
+                            , 'HReqOutQty': "0"
+                            , 'HCurrentInventory': "0"
                         }
                     );
                 }

--
Gitblit v1.9.1