From 20cf1938a8aa04a3f911d6d3729e8aec08a7d658 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 25 二月 2025 09:08:51 +0800
Subject: [PATCH] feat: 完成检测单页面
---
src/views/business/productOrder/components/add.vue | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/views/business/productOrder/components/add.vue b/src/views/business/productOrder/components/add.vue
index 4a13829..62c5d87 100644
--- a/src/views/business/productOrder/components/add.vue
+++ b/src/views/business/productOrder/components/add.vue
@@ -547,7 +547,7 @@
selectStandardTreeList2
} from "@/api/business/rawMaterialOrder";
import {
- addInsOrder, delInsOrderTemplate,
+ addInsOrder, addInsOrderTemplate, delInsOrderTemplate,
getQuarterOnOrder,
selectOrderManDay,
updateInsOrder,
@@ -1634,17 +1634,14 @@
sampleList: this.sampleList,
selectTree:this.selectTree
})
- }, {
- headers: {
- 'Content-Type': 'application/json'
- }
}).then(res => {
- if (res.code == 201) return
this.templateLoading = false;
this.templateDia = false;
this.$message.success('淇濆瓨鎴愬姛')
this.selectInsOrderTemplate()
this.templateName = ''
+ }).catch(e => {
+ this.templateLoading = false;
})
} else {
this.$message.error('璇峰~鍐欐ā鏉垮悕绉�')
@@ -1947,7 +1944,7 @@
},
// 杈呭姪绾胯姱閰嶇疆
openAuxiliaryCore () {
- if (this.active === 1) {
+ if (this.active == 1) {
if (this.sampleIds.length === 0) {
this.$message.error("鏈�夋嫨鏍峰搧")
} else if (this.sampleIds.length === 1) {
@@ -1975,7 +1972,7 @@
}
},
openCableConfig() {
- if (this.active === 1) {
+ if (this.active == 1) {
if (this.sampleIds.length === 0) {
this.$message.error("鏈�夋嫨鏍峰搧")
} else if (this.sampleIds.length === 1) {
--
Gitblit v1.9.3