From 76f734b2d81f91beecb887699922df57e1a5e965 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 20 六月 2025 10:14:24 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI

---
 WebTM/views/领料发货/销售出库/Kf_SellOutBill.html |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 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 7e11a0c..c9f8596 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"
@@ -3270,7 +3270,7 @@
                                                 option.data = table.cache["mainTable"];
                                                 table.render(option);
                                             }
-                                            var HQty = option.data[rowIndex + i].HQty * 1;                           //鏁伴噺
+                                            var HQty = 1;                           //鏁伴噺
                                             var HPrice = checkStatus.data[i].缁撶畻浠�;               //鍗曚环
                                             var HMoney = HQty * HPrice;                     //閲戦=鏁伴噺*鍗曚环
                                             var HTaxMoney = Number((HMoney * HTaxRate).toFixed(4));         //绋庨=閲戦*绋庣巼
@@ -3283,6 +3283,7 @@
                                             option.data[rowIndex + i].HUnitID = checkStatus.data[i].HUnitID;
                                             option.data[rowIndex + i].璁¢噺鍗曚綅 = checkStatus.data[i].璁¢噺鍗曚綅鍚嶇О;
                                             option.data[rowIndex + i].HPrice = HPrice;
+                                            option.data[rowIndex + i].HQty = HQty;
                                             option.data[rowIndex + i].HTaxMoney = HTaxMoney;
                                             option.data[rowIndex + i].HlineTotal = HlineTotal;
                                             option.data[rowIndex + i].HTaxPrice = HTaxPrice;
@@ -3318,7 +3319,7 @@
                                             });
                                         }
                                         //鏁版嵁鏍¢獙鍚堟牸锛岄噸绠楄褰�
-                                        var HQty = obj.data.HQty * 1;                           //鏁伴噺
+                                        var HQty = 1;                           //鏁伴噺
                                         var HPrice = HDataTemp.缁撶畻浠�;               //鍗曚环
                                         var HMoney = HQty * HPrice;                     //閲戦=鏁伴噺*鍗曚环
                                         var HTaxMoney = Number((HMoney * HTaxRate).toFixed(4));         //绋庨=閲戦*绋庣巼
@@ -3475,7 +3476,8 @@
                     element.focus();
 
                     var HOrgID = $("#HOrgID").val();
-
+                    var HWHID = $("#HWHID").val();
+                    var HWHName = $("#HWHName").val();
                     layer.open({
                         type: 2
                         , skin: "layui-layer-rim" //鍔犱笂杈规
@@ -3575,7 +3577,7 @@
                                         option.data = table.cache["mainTable"];
                                         table.render(option);
                                     }
-                                    var HQty = option.data[rowIndex + i].HQty * 1;                           //鏁伴噺
+                                    var HQty = 1;                           //鏁伴噺
                                     var HPrice = checkStatus.data[i].缁撶畻浠�;               //鍗曚环
                                     var HMoney = HQty * HPrice;                     //閲戦=鏁伴噺*鍗曚环
                                     var HTaxMoney = Number((HMoney * HTaxRate).toFixed(4));         //绋庨=閲戦*绋庣巼
@@ -3587,6 +3589,7 @@
                                     option.data[rowIndex + i].瑙勬牸鍨嬪彿 = checkStatus.data[i].瑙勬牸鍨嬪彿;
                                     option.data[rowIndex + i].HUnitID = checkStatus.data[i].HUnitID;
                                     option.data[rowIndex + i].璁¢噺鍗曚綅 = checkStatus.data[i].璁¢噺鍗曚綅鍚嶇О;
+                                    option.data[rowIndex + i].HQty = HQty;
                                     option.data[rowIndex + i].HPrice = HPrice;
                                     option.data[rowIndex + i].HTaxMoney = HTaxMoney;
                                     option.data[rowIndex + i].HlineTotal = HlineTotal;
@@ -3622,7 +3625,7 @@
                                     });
                                 }
                                 //鏁版嵁鏍¢獙鍚堟牸锛岄噸绠楄褰�
-                                var HQty = obj.data.HQty * 1;                           //鏁伴噺
+                                var HQty = 1;                           //鏁伴噺
                                 var HPrice = HDataTemp.缁撶畻浠�;               //鍗曚环
                                 var HMoney = HQty * HPrice;                     //閲戦=鏁伴噺*鍗曚环
                                 var HTaxMoney = Number((HMoney * HTaxRate).toFixed(4));         //绋庨=閲戦*绋庣巼

--
Gitblit v1.9.1