From 93b591f65d0dbc0ab2238fb8a027c58f44e5fb66 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期三, 08 九月 2021 16:12:47 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pda/combPro.html |   69 ++++++++--------------------------
 1 files changed, 17 insertions(+), 52 deletions(-)

diff --git a/src/main/webapp/views/pda/combPro.html b/src/main/webapp/views/pda/combPro.html
index 2f8b0a8..113a633 100644
--- a/src/main/webapp/views/pda/combPro.html
+++ b/src/main/webapp/views/pda/combPro.html
@@ -133,18 +133,18 @@
                 </tr>
             </table>
         </div>
-        <div class="form-item">
-            <table style="display: inline">
-                <tr>
-                    <td>
-                        <span style="width: 35px; margin-right: 5px">鍗曞彿</span>
-                    </td>
-                    <td style="text-align: left">
-                        <input id="supplier" type="text" disabled="disabled">
-                    </td>
-                </tr>
-            </table>
-        </div>
+<!--        <div class="form-item">-->
+<!--            <table style="display: inline">-->
+<!--                <tr>-->
+<!--                    <td>-->
+<!--                        <span style="width: 35px; margin-right: 5px">鍗曞彿</span>-->
+<!--                    </td>-->
+<!--                    <td style="text-align: left">-->
+<!--                        <input id="supplier" type="text" disabled="disabled">-->
+<!--                    </td>-->
+<!--                </tr>-->
+<!--            </table>-->
+<!--        </div>-->
     </div>
     <div class="form-item" style="margin-top: 5px">
         <span style="vertical-align: middle">鏁伴噺</span>
@@ -187,7 +187,8 @@
                     width: 70
                 },
                 {field: 'matNo', align: 'center', title: '浜у搧缂栫爜', event: 'modify'},
-                {field: 'matName', align: 'center', title: '浜у搧鍚嶇О', event: 'modify'}
+                {field: 'matName', align: 'center', title: '浜у搧鍚嶇О', event: 'modify'},
+                {field: 'seqNo', align: 'center', title: '搴忓彿', event: 'modify'}
                 // {field: 'color', align: 'center', title: '棰滆壊', event: 'modify',}
             ]],
             done: function (res, curr, count) {
@@ -209,6 +210,7 @@
                         success: function (layero, index) {
                             $('#matNo').val(data.matNo);
                             $('#matName').val(data.matName);
+                            // $('#supplier').val(data.billNo);
                             $('#count').val(data.count);
                             maxCount = data.count;
                         }
@@ -326,7 +328,7 @@
     // 绉婚櫎鐗╂枡
     function remove() {
         var matNo = $('#matNo').val();
-        var supplier = $("#supplier").val() === '' ? null : $("#supplier").val();
+        // var supplier = $("#supplier").val() === '' ? null : $("#supplier").val();
         for (var j = 0; j < matData.length; j++) {
             if (matNo === matData[j].matNo) {
                 matData.splice(j, 1);
@@ -346,44 +348,6 @@
         tableIns.reload({data: matData});
     }
 
-    function test() {
-        $.ajax({
-            url: baseUrl+"/erp/update",
-            headers: {'token': localStorage.getItem('token')},
-            contentType:'application/json;charset=UTF-8',
-            method: 'POST',
-            async: false,
-            success: function (res) {
-                if (res.code === 200) {
-                    layer.msg("娴嬭瘯鍔熻兘鎴愬姛");
-                } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/pda";
-                } else {
-                    tips(res.msg, true)
-                }
-            }
-        });
-    }
-
-    function test() {
-        $.ajax({
-            url: baseUrl+"/erp/outUpdate",
-            headers: {'token': localStorage.getItem('token')},
-            contentType:'application/json;charset=UTF-8',
-            method: 'POST',
-            async: false,
-            success: function (res) {
-                if (res.code === 200) {
-                    layer.msg("娴嬭瘯鍔熻兘鎴愬姛");
-                } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/pda";
-                } else {
-                    tips(res.msg, true)
-                }
-            }
-        });
-    }
-
     // 缁勬墭
     function comb() {
         var barcode = $('#code').val();
@@ -401,6 +365,7 @@
             return;
         }
         var billNo = $('#billNo').val();
+        debugger
         $.ajax({
             url: baseUrl + "/mobile/comb/auth",
             headers: {'token': localStorage.getItem('token')},

--
Gitblit v1.9.1