From 83b8b7cecfe8266a44bfce696d857b3be7149e3f Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 31 十二月 2024 10:52:28 +0800
Subject: [PATCH] 优化MES调拨信息上报及库位查询逻辑
---
src/main/webapp/views/pda/stockIn.html | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/views/pda/stockIn.html b/src/main/webapp/views/pda/stockIn.html
index a2b72d8..78eb7ad 100644
--- a/src/main/webapp/views/pda/stockIn.html
+++ b/src/main/webapp/views/pda/stockIn.html
@@ -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,7 +213,7 @@
function pakIn() {
var barcode = $('#code').val();
if (isEmpty(barcode)) {
- tips("鎵樼洏鏉$爜涓虹┖", true);
+ tips("璐ф灦鏉$爜涓虹┖", true);
return;
}
if (barcode.length !== 8) {
@@ -258,7 +258,7 @@
function emptyPakIn() {
var barcode = $('#code').val();
if (isEmpty(barcode)) {
- tips("鎵樼洏鏉$爜涓虹┖", true);
+ tips("璐ф灦鏉$爜涓虹┖", true);
return;
}
if (barcode.length !== 8) {
@@ -322,4 +322,4 @@
<option value="{{this}}">{{this}}</option>
{{/each}}
</script>
-</html>
\ No newline at end of file
+</html>
--
Gitblit v1.9.1