From cd280ead41b98ee60154038e36d9b83cc25e7d16 Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期三, 20 十二月 2023 12:55:25 +0800 Subject: [PATCH] # --- src/main/webapp/views/pda/stockIn.html | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/views/pda/stockIn.html b/src/main/webapp/views/pda/stockIn.html index a2b72d8..1bcdca9 100644 --- a/src/main/webapp/views/pda/stockIn.html +++ b/src/main/webapp/views/pda/stockIn.html @@ -71,7 +71,7 @@ <!-- 澶撮儴 --> <header> <div class="layui-input-inline"> - <label class="layui-form-label">鏉$爜</label> + <label class="layui-form-label">pack鐮�</label> <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" oninput="if(value.length>8)value=value.slice(0,8)" placeholder="鎵爜 / 杈撳叆" autocomplete="off"> </div> <div style="margin: 5px 5px" class="layui-form"> @@ -120,8 +120,8 @@ cellMinWidth: 50, cols: [[ {fixed: 'left', align: 'center', field: 'count', title: '鏁伴噺', style:'color: blue', width:50}, - {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'}, - {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'} + {field: 'matnr', align: 'center', title: '鍟嗗搧缂栧彿'}, + {field: 'maktx', align: 'center', title: '鍟嗗搧鍚嶇О'} ]], done: function (res, curr, count) { @@ -181,13 +181,13 @@ // 娣诲姞琛ㄦ牸鏁版嵁 var matData = []; function addTableData(data) { - if (isEmpty(data.matName)){ + if (isEmpty(data.maktx)){ tips("鎻愬彇澶辫触", true); return; } let toPush = true; for (var j=0;j<matData.length;j++){ - if (data.matNo === matData[j].matNo) { + if (data.matnr === matData[j].matnr) { matData[j].count = Number(matData[j].count) + Number(data.count); toPush = false; } @@ -213,11 +213,11 @@ function pakIn() { var barcode = $('#code').val(); if (isEmpty(barcode)) { - tips("鎵樼洏鏉$爜涓虹┖", true); + tips("pack鐮佷负绌�", true); return; } if (barcode.length !== 8) { - tips("鏉$爜蹇呴』涓�8浣�", true); + tips("pack鐮佸繀椤讳负8浣�", true); return; } if (matData.length === 0) { @@ -258,11 +258,11 @@ function emptyPakIn() { var barcode = $('#code').val(); if (isEmpty(barcode)) { - tips("鎵樼洏鏉$爜涓虹┖", true); + tips("pack鐮佷负绌�", true); return; } if (barcode.length !== 8) { - tips("鏉$爜蹇呴』涓�8浣�", true); + tips("pack鐮佸繀椤讳负8浣�", true); return; } var site = $('#putSiteSelect').val(); @@ -322,4 +322,4 @@ <option value="{{this}}">{{this}}</option> {{/each}} </script> -</html> \ No newline at end of file +</html> -- Gitblit v1.9.1