From 79a30b927dc7a0d3281b10e989c7a3d2ab8a98a4 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 09 五月 2024 10:10:15 +0800 Subject: [PATCH] 修改样品管理bug --- src/components/do/b1-inspect-order-plan/Inspection.vue | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 055e498..1858949 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -196,8 +196,7 @@ </el-radio-group> </div> <div class="center-box"> - <table border="1" class="tables" cellpadding="10" v-for="(item,index) in tableList" :key="index" - > + <table border="1" class="tables" cellpadding="10" v-for="(item,index) in tableList" :key="index"> <tbody> <tr v-for="(m,i) in item.arr" :key="i"> <td :id='item.templateId+"-"+n.i+"-"+n.r+"-"+n.c' v-for="(n,j) in m" :key="j" @@ -921,7 +920,6 @@ this.tableList[0].insProductResult[m] = JSON.stringify(this.tableList[0].insProductResult[m]) break; case 'resValue': - console.log(this.param) this.tableList[0].lastValue = value.v.v break; case 'insResult': @@ -1034,7 +1032,7 @@ }).then(res => { if (res.code === 200 && res.data) { this.equipOptions = res.data.map(m => { - m.value = m.factoryNo + m.value = m.managementNumber m.label = m.deviceName return m }) @@ -1113,10 +1111,8 @@ }) }, saveInsContext(){ - this.$axios.post(this.$api.insOrderPlan.saveInsContext, this.param, { - headers: { - 'Content-Type': 'application/json' - } + this.$axios.post(this.$api.insOrderPlan.saveInsContext, { + param: JSON.stringify(this.param) }).then(res => { if (res.code == 201) { this.$message.error('淇濆瓨澶辫触') -- Gitblit v1.9.3