From ec444c3a240a5679fc83ec12fa0d7cf41826e932 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期三, 07 四月 2021 14:25:32 +0800
Subject: [PATCH] 1.0.6 pda调整优化

---
 src/main/webapp/views/pda/combPro.html |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/views/pda/combPro.html b/src/main/webapp/views/pda/combPro.html
index 15435a7..909d15d 100644
--- a/src/main/webapp/views/pda/combPro.html
+++ b/src/main/webapp/views/pda/combPro.html
@@ -175,13 +175,13 @@
         tableIns = table.render({
             elem: '#chooseData',
             data: [],
+            width: 320,
             limit: 500,
             cellMinWidth: 50,
             cols: [[
-                {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'},
-                {field: 'mnemonic', align: 'center', title: '鐢熶骇鍗曞彿'},
+                {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜',event: 'modify',},
+                {field: 'mnemonic', align: 'center', title: '鐢熶骇鍗曞彿',event: 'modify',},
                 {
-                    fixed: 'right',
                     align: 'center',
                     field: 'count',
                     title: '鏁伴噺',
@@ -189,7 +189,7 @@
                     style: 'cursor: pointer;color: blue',
                     width: 50
                 },
-//                {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'}
+                {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О',event: 'modify',}
             ]],
             done: function (res, curr, count) {
             }
@@ -255,8 +255,10 @@
         if (isEmpty(el.value)) {
             return;
         }
-//        var billNo = el.value.split(",")[0].split("=")[1];
         var billNo = el.value;
+        if (billNo.indexOf('=') > -1) {
+            billNo = billNo.split(",")[0].split("=")[1];
+        }
         if (isEmpty(billNo)) {
             return;
         }

--
Gitblit v1.9.1