From 1a88411d65508409011cdedb4d8d8b74bb60baa6 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 18 十二月 2024 09:01:58 +0800
Subject: [PATCH] 库位冻结/解冻,库存冻结/解冻

---
 src/main/webapp/static/js/locMast/locMast.js |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/locMast/locMast.js b/src/main/webapp/static/js/locMast/locMast.js
index 20e5195..7fc6049 100644
--- a/src/main/webapp/static/js/locMast/locMast.js
+++ b/src/main/webapp/static/js/locMast/locMast.js
@@ -24,6 +24,16 @@
             ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�',sort:true, hide:false}
             ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��',width:200, hide:false}
             ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷',width:200, hide:false}
+            ,{field: 'frozen$', align: 'center',title: '鍐荤粨鐘舵��',
+                templet: function(d) {
+                    // 鏍规嵁鏉′欢鍒ゆ柇瀛椾綋棰滆壊
+                    if (d.frozen$ === '宸插喕缁�') {
+                        return '<span style="color: #34a8de;">' +d.frozen$ + '</span>';
+                    } else {
+                        return '<span">' +d.frozen$ + '</span>';
+                    }
+                }}
+            ,{field: 'frozenMemo', align: 'center',title: '鍐荤粨鍘熷洜'}
             // ,{field: 'pltType', align: 'center',title: ''}
             // ,{field: 'ctnType', align: 'center',title: ''}
             // ,{field: 'locSts', align: 'center',title: ''}
@@ -461,7 +471,8 @@
             barcode: $('#barcode').val(),
             PdcType: $('#PdcType').val(),
             ctnNo: $('#ctnNo').val(),
-
+            frozen: $('#frozen').val(),
+            frozenMemo: $('#frozenMemo').val()
         };
         $.ajax({
             url: baseUrl+"/locMast/"+name+"/auth",

--
Gitblit v1.9.1