From b06233aa71b70f7a30ff382ae1ba19c29b134d7c Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 28 十一月 2025 15:41:51 +0800
Subject: [PATCH] #库存调整完成
---
src/main/webapp/static/js/locDetl/locDetl.js | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index f55e8b1..531ae9b 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -9,7 +9,18 @@
,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: true}
,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 300, sort:true}
,{field: 'anfme', align: 'center',title: '鍙敤鏁伴噺'}
- ,{field: 'bookQty', align: 'center',title: '璐﹂潰鏁伴噺'}
+ ,{field: 'diffQty', align: 'center',title: '宸紓鏁伴噺',
+ templet: function(d) {
+ // 鏍规嵁鏉′欢鍒ゆ柇瀛椾綋棰滆壊
+ if (d.diffQty < 0 ) {
+ return '<span style="color: #de3434;">' +d.diffQty + '</span>';
+ }else if (d.diffQty > 0){
+ return '<span style="color: #19fa02;">' +d.diffQty + '</span>';
+ } else {
+ return '<span">' +d.diffQty + '</span>';
+ }
+ }}
+ ,{field: 'bookQty', align: 'center',title: '鍘熸暟閲�'}
,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
,{field: 'specs', align: 'center',title: '瑙勬牸'}
,{field: 'model', align: 'center',title: '浠g爜', hide: true}
@@ -46,17 +57,7 @@
return '<span">' +d.frozen$ + '</span>';
}
}}
- ,{field: 'diffQty', align: 'center',title: '鐩樼偣鏁伴噺',
- templet: function(d) {
- // 鏍规嵁鏉′欢鍒ゆ柇瀛椾綋棰滆壊
- if (d.diffQty < 0 ) {
- return '<span style="color: #de3434;">' +d.diffQty + '</span>';
- }else if (d.diffQty > 0){
- return '<span style="color: #19fa02;">' +d.diffQty + '</span>';
- } else {
- return '<span">' +d.diffQty + '</span>';
- }
- }}
+
];
// cols.push.apply(cols, detlCols);
--
Gitblit v1.9.1