From 843d421107006d38c9af61c956a3ed30275a5657 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 25 四月 2024 09:13:37 +0800 Subject: [PATCH] 修改报告按钮逻辑 --- src/components/do/b1-ins-order/add.vue | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 5f39d99..d12a168 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -108,7 +108,7 @@ </el-button> <el-button size="medium" type="primary" @click="save" :loading="saveLoad" v-show="active==1">鎻愪氦</el-button> <!-- 瀹℃牳 --> - <el-button size="medium" @click="upInsOrderOfState(2)" :loading="saveLoad" v-show="active==3">涓嶉�氳繃</el-button> + <el-button size="medium" @click="upInsOrderOfState(2)" :loading="saveLoad" v-show="active==3" :disabled="saveLoad">涓嶉�氳繃</el-button> <el-button size="medium" type="primary" @click="upInsOrderOfState(1)" :loading="saveLoad" v-show="active==3">閫氳繃</el-button> <el-button size="medium" @click="$parent.playOrder(0)"> @@ -301,10 +301,7 @@ <el-table-column prop="inspectionItemSubclass" label="妫�楠岄」瀛愰」" min-width="140" show-overflow-tooltip></el-table-column> <el-table-column prop="sonLaboratory" label="瀛愬疄楠屽" width="130" show-overflow-tooltip></el-table-column> - <el-table-column prop="method" label="璇曢獙鏂规硶" min-width="120" show-overflow-tooltip> - <template slot-scope="scope"> - <span>{{scope.row.method.replace('[','').replace(']','').replaceAll('"','')}}</span> - </template> + <el-table-column prop="methodS" label="璇曢獙鏂规硶" min-width="120" show-overflow-tooltip> </el-table-column> <el-table-column prop="unit" label="璁¢噺鍗曚綅" width="100" show-overflow-tooltip></el-table-column> <el-table-column prop="price" label="鍗曚环" width="100" show-overflow-tooltip></el-table-column> @@ -684,7 +681,7 @@ this.saveLoad = true this.$axios.post(this.$api.insOrder.addInsOrder, { insOrder: this.addObj, - list: this.sampleList + list: JSON.stringify(this.sampleList) }, { headers: { 'Content-Type': 'application/json' -- Gitblit v1.9.3