From 9ea93abc2606948e5724316a4a3ec338ea14a130 Mon Sep 17 00:00:00 2001
From: pjb <123456>
Date: 星期一, 17 十一月 2025 13:56:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/tzhneasrs' into tzhneasrs
---
src/main/webapp/static/js/cool.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/cool.js b/src/main/webapp/static/js/cool.js
index e3ae972..41fcca4 100644
--- a/src/main/webapp/static/js/cool.js
+++ b/src/main/webapp/static/js/cool.js
@@ -122,6 +122,14 @@
if(selectOptionDom[0].type === "orderDetl"){
$('#weight').val(selectOptionDom[0].weight);
+ // 鏍规嵁鐗屽彿閫夋嫨杩涜杩囨护
+ checkData = firstData.filter(item => item.brand === $('#maktxV').val())
+ var allWeight = 0;
+ for (var i in checkData){
+ allWeight += (checkData[i].weightAnfme - checkData[i].qtyAnfme)
+ }
+ // 鏍规嵁鐗屽彿閲嶆柊娓叉煋
+ $('#qtyWeight').val(allWeight);
}
}
inputDom.val("");
--
Gitblit v1.9.1