From 1ca8b748a3541b88b12b7e9e7f5f77a5c8df7fd2 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 31 十月 2025 15:29:28 +0800
Subject: [PATCH] #1
---
src/main/webapp/static/js/matTurn/matTurn.js | 34 +++++-----------------------------
1 files changed, 5 insertions(+), 29 deletions(-)
diff --git a/src/main/webapp/static/js/matTurn/matTurn.js b/src/main/webapp/static/js/matTurn/matTurn.js
index 60c3b72..f1a9874 100644
--- a/src/main/webapp/static/js/matTurn/matTurn.js
+++ b/src/main/webapp/static/js/matTurn/matTurn.js
@@ -5,13 +5,15 @@
{
field: 'matnr',
align: 'center',
- title: '鍝佸彿',
+ title: 'sku',
edit: 'text',
width: 130,
style: 'color: blue;font-weight: bold'
}
, {field: 'maktx', align: 'center', title: '鍝佸悕'}
- , {field: 'specs', align: 'center', title: '鍝佸悕'}
+ // , {field: 'specs', align: 'center', title: '鍝佸悕'}
+ ,{field: 'standby1', align: 'center',title: 'po'}
+ ,{field: 'standby2', align: 'center',title: 'upc'}
];
}
@@ -42,33 +44,6 @@
}
});
- // 椤甸潰淇敼
- table.on('edit(chooseData)', function (obj) {
- let index = obj.tr.attr("data-index");
- let data = locDetlData[index];
- let modify = true;
- if (obj.field === 'count'){
- let vle = Number(obj.value);
- if (isNaN(vle)) {
- layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
- modify = false;
- } else {
- if (vle <= 0) {
- layer.msg("鏁伴噺蹇呴』澶т簬闆�", {icon: 2});
- modify = false;
- }
- if (vle > Number(data.anfme)) {
- layer.msg("鍑哄簱鏁伴噺涓嶅緱澶т簬搴撳瓨鏁伴噺", {icon: 2});
- modify = false;
- }
- }
- }
- if (modify) {
- data[obj.field] = obj.value;
- }
- tableIns.reload({data: locDetlData});
- });
-
// 鐩戝惉澶村伐鍏锋爮浜嬩欢
table.on('toolbar(chooseData)', function (obj) {
switch (obj.event) {
@@ -85,6 +60,7 @@
matId: staNo,
locDetls: locDetlData
}
+ console.log(param)
$.ajax({
url: baseUrl+"/mat/turn/over/out/start",
headers: {'token': localStorage.getItem('token')},
--
Gitblit v1.9.1