From 30a69ff085522db588c7781018f04c64a138a0f9 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 26 六月 2026 17:46:23 +0800
Subject: [PATCH] 去除拆分订单是否登记检验结果确认,默认是
---
src/views/business/inspectionTask/inspection.vue | 48 +++++++++++++++++++++++++-----------------------
1 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue
index 9cce797..bf77e81 100644
--- a/src/views/business/inspectionTask/inspection.vue
+++ b/src/views/business/inspectionTask/inspection.vue
@@ -3561,31 +3561,33 @@
})
.then((res) => {
if (res.code === 200) {
- if (!res.data || res.data.errorMsg.length == 0) {
+ if (!res.data || res.data.errorMsg.length === 0) {
this.submitLoading = true;
+ this.confirmSubmit(true);
+ //鍘婚櫎鎷嗗垎璁㈠崟鏄惁鐧昏妫�楠岀粨鏋滅‘璁わ紝榛樿鏄�
//妫�楠岀被鍨嬩负鍘熸潗鏂�
- if (
- this.typeSource == 1 &&
- res.data.unInsOrderCount == 0 &&
- this.isSplit == 1
- ) {
- const htmlStr =
- "鏄惁鐧昏IFS閲囪喘妫�楠岀粨鏋滃苟绉诲簱锛熻鎿嶄綔浼氱櫥璁�<span style='color:#ff4949'>鍚屼竴闆朵欢鍚屼竴璁㈠崟鐨勬墍鏈夋媶鍒嗘壒娆�</span>锛岃璋ㄦ厧閫夋嫨銆�";
- this.$confirm(htmlStr, "鎻愮ず", {
- confirmButtonText: "鏄�",
- cancelButtonText: "鍚�",
- type: "warning",
- dangerouslyUseHTMLString: true,
- })
- .then(() => {
- this.confirmSubmit(true);
- })
- .catch(() => {
- this.confirmSubmit(false);
- });
- } else {
- this.confirmSubmit(true);
- }
+ // if (
+ // this.typeSource == 1 &&
+ // res.data.unInsOrderCount == 0 &&
+ // this.isSplit == 1
+ // ) {
+ // const htmlStr =
+ // "鏄惁鐧昏IFS閲囪喘妫�楠岀粨鏋滃苟绉诲簱锛熻鎿嶄綔浼氱櫥璁�<span style='color:#ff4949'>鍚屼竴闆朵欢鍚屼竴璁㈠崟鐨勬墍鏈夋媶鍒嗘壒娆�</span>锛岃璋ㄦ厧閫夋嫨銆�";
+ // this.$confirm(htmlStr, "鎻愮ず", {
+ // confirmButtonText: "鏄�",
+ // cancelButtonText: "鍚�",
+ // type: "warning",
+ // dangerouslyUseHTMLString: true,
+ // })
+ // .then(() => {
+ // this.confirmSubmit(true);
+ // })
+ // .catch(() => {
+ // this.confirmSubmit(false);
+ // });
+ // } else {
+ // this.confirmSubmit(true);
+ // }
} else {
let newData = [];
const h = this.$createElement;
--
Gitblit v1.9.3