From d6ceb8dcb521b007319710728fe464b5e7019316 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 04 十一月 2025 13:14:13 +0800
Subject: [PATCH] 核磅录入导体提交
---
pages/wareHouse/nuclearScale/index.vue | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/pages/wareHouse/nuclearScale/index.vue b/pages/wareHouse/nuclearScale/index.vue
index 5f7d6be..ef48e0d 100644
--- a/pages/wareHouse/nuclearScale/index.vue
+++ b/pages/wareHouse/nuclearScale/index.vue
@@ -337,13 +337,13 @@
if (that.form.productType == "TG01") {
that.$refs.saveForm.open(ScanCodeRecordList);
} else {
- that.queryCustomName(codeInfo,ScanCodeRecordList);
+ that.queryCustomName(codeInfo, ScanCodeRecordList);
}
}
});
},
methods: {
- queryCustomName(codeInfo,ScanCodeRecordList) {
+ queryCustomName(codeInfo, ScanCodeRecordList) {
// 鏌ヨ瀹㈡埛鍚嶇О
this.$u.api.NuclearScaleEntry.queryCustomName({
BN: codeInfo.BN,
@@ -354,10 +354,11 @@
// 鎵弿鎶ュ伐鍗曚簩缁寸爜
uni.showModal({
title: "鎻愮ず",
- content: "瀹㈡埛涓嶄竴鑷达細" + res.data + " || " + that.form.customerName1,
+ content:
+ "瀹㈡埛涓嶄竴鑷达細" + res.data + " || " + that.form.customerName1,
showCancel: true,
success: function (res) {
- that.ScanCodeRecord.unshift(ScanCodeRecordList);
+ that.ScanCodeRecord.unshift(ScanCodeRecordList);
},
});
} else {
@@ -402,7 +403,14 @@
switch (this.form.productType) {
case "DT01":
if (magnetic >= -3 && magnetic <= 3) {
- this.allSubmit();
+ let that = this;
+ uni.showModal({
+ title: "鎻愮ず",
+ content: "纾呭樊:" + magnetic + "锛屾槸鍚︾‘璁ゆ彁浜わ紵",
+ success: function (res) {
+ that.allSubmit();
+ },
+ });
} else {
this.$u.toast("纾呭樊:" + magnetic + "锛岃杞﹂棿鏍告煡");
}
@@ -418,6 +426,7 @@
}
},
allSubmit() {
+ console.log("杩涙潵浜�", this.ScanCodeRecord);
this.ScanCodeRecord.forEach((item) => {
item.batchNo = item.outBatchNo;
});
--
Gitblit v1.9.3