From 0e37ff9a1b1ad8f6bbcf0f3097cef7d109ef2ec8 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 24 二月 2025 10:06:30 +0800 Subject: [PATCH] 应对风险和机遇的措施搬迁完成 --- 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