From 91f2cd5b0f832091f654cce926585d2f05cad114 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <xltys1995>
Date: 星期四, 08 四月 2021 23:22:32 +0800
Subject: [PATCH] Merge branches 'dev' and 'master' of https://gitee.com/luxiaotao1123/xtywms into master

---
 src/main/webapp/static/js/pakStore/pakStore.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/pakStore.js b/src/main/webapp/static/js/pakStore/pakStore.js
index e7d15a4..bc8b53c 100644
--- a/src/main/webapp/static/js/pakStore/pakStore.js
+++ b/src/main/webapp/static/js/pakStore/pakStore.js
@@ -14,6 +14,12 @@
             style: 'color: blue;font-weight: bold'
         }
     ];
+    matCols.map(function (item) {
+        if (item.field === 'str6') {
+            item.edit = 'text';
+            item.style = 'color: blue;font-weight: bold';
+        }
+    })
     cols.push.apply(cols, matCols);
     cols.push({field: 'matStatus', title: '鐗╂枡鐘舵��', align: 'center', width: 120, templet: '#matStatus'});
     cols.push({fixed: 'right', title: '鎿嶄綔', align: 'center', toolbar: '#operate', width: 80});
@@ -45,7 +51,9 @@
 
     // 椤甸潰淇敼
     table.on('edit(chooseData)', function (obj) {
-        updateMatCodeData(obj.data.matNo, Number(obj.value));
+        if (obj.field === 'count') {
+            updateMatCodeData(obj.data.matNo, Number(obj.value));
+        }
     });
 
     // 鐩戝惉澶村伐鍏锋爮浜嬩欢

--
Gitblit v1.9.1