From 509d7655f43706ec844a356f3c4bca55bca753bd Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期四, 18 十二月 2025 17:54:59 +0800
Subject: [PATCH] 上模单 凯贝扫码取消校验模具数量
---
pages/MJGL/shangmudan/MouldUpperBill.vue | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/pages/MJGL/shangmudan/MouldUpperBill.vue b/pages/MJGL/shangmudan/MouldUpperBill.vue
index 53591d2..b8da547 100644
--- a/pages/MJGL/shangmudan/MouldUpperBill.vue
+++ b/pages/MJGL/shangmudan/MouldUpperBill.vue
@@ -833,7 +833,7 @@
success: (res) => {
if (res.data.code == 1 && res.data.data && res.data.data.length > 0) {
this.listData = [];
- this.tabs=1;
+ this.tabs = 1;
res.data.data.forEach((item, index) => {
this.listData.push({
index: index + 1,
@@ -845,7 +845,7 @@
鍣ㄥ叿鏁伴噺: 0
});
});
-
+
this.selectedRows = [...this.listData];
} else {
uni.showToast({
@@ -939,25 +939,25 @@
})
}
// 濡傛灉鏄簨涓氫竴澶勭粍缁囷紝鏍¢獙鍣ㄥ叿鏁伴噺
- if (uni.getStorageSync('OrganizationID') === "100007" && uni.getStorageSync('Organization') === "浜嬩笟涓�澶�") {
- const zeroQtyItem = this.listData.find(item => {
- // 鑰冭檻0銆乶ull銆乽ndefined绛夊紓甯告儏鍐�
- const qty = Number(item.鍣ㄥ叿鏁伴噺) || 0;
- return qty <= 0;
- });
-
- if (zeroQtyItem) {
- // 鎵惧埌绗竴涓暟閲忓紓甯搁」鐨勪綅缃紙绱㈠紩+1锛�
- const index = this.listData.indexOf(zeroQtyItem) + 1;
- const code = zeroQtyItem.鍣ㄥ叿缂栫爜 || '鏈煡缂栫爜';
- uni.showToast({
- title: `绗�${index}琛屻��${code}銆戝櫒鍏锋暟閲忎负0锛岃妫�鏌,
- icon: 'none',
- duration: 3000
- });
- return;
- }
- }
+ // if (uni.getStorageSync('OrganizationID') === "100007" && uni.getStorageSync('Organization') === "浜嬩笟涓�澶�") {
+ // const zeroQtyItem = this.listData.find(item => {
+ // // 鑰冭檻0銆乶ull銆乽ndefined绛夊紓甯告儏鍐�
+ // const qty = Number(item.鍣ㄥ叿鏁伴噺) || 0;
+ // return qty <= 0;
+ // });
+
+ // if (zeroQtyItem) {
+ // // 鎵惧埌绗竴涓暟閲忓紓甯搁」鐨勪綅缃紙绱㈠紩+1锛�
+ // const index = this.listData.indexOf(zeroQtyItem) + 1;
+ // const code = zeroQtyItem.鍣ㄥ叿缂栫爜 || '鏈煡缂栫爜';
+ // uni.showToast({
+ // title: `绗�${index}琛屻��${code}銆戝櫒鍏锋暟閲忎负0锛岃妫�鏌,
+ // icon: 'none',
+ // duration: 3000
+ // });
+ // return;
+ // }
+ // }
if (!this.hform.HEmpName) {
uni.showToast({
title: '璇烽�夋嫨鎿嶄綔鍛�',
--
Gitblit v1.9.1