From 414a9c839061e06468138c9f662a4d9cf4225599 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 09 四月 2025 15:08:29 +0800 Subject: [PATCH] 完成二次报检,过期报检 --- src/views/business/productOrder/components/add.vue | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/business/productOrder/components/add.vue b/src/views/business/productOrder/components/add.vue index b0d63fa..55d3413 100644 --- a/src/views/business/productOrder/components/add.vue +++ b/src/views/business/productOrder/components/add.vue @@ -352,10 +352,10 @@ </span> </template> </el-table-column> - <el-table-column label="鏉′欢" min-width="140" prop="radius" show-overflow-tooltip> + <el-table-column label="璇曢獙鏉′欢" min-width="140" prop="radius" show-overflow-tooltip> <template slot-scope="scope"> <el-input v-if="(active == 1 || tabIndex == 4) && (isAskOnlyRead || isSpecial)" v-model="scope.row.radius" - :autosize="{ minRows: 1, maxRows: 3 }" clearable placeholder="鏉′欢" size="small" type="textarea" + :autosize="{ minRows: 1, maxRows: 3 }" clearable placeholder="璇曢獙鏉′欢" size="small" type="textarea" @change="e => requestChange(e, scope.row, 'radius')"> </el-input> <span v-else>{{ scope.row.radius }}</span> @@ -856,6 +856,11 @@ }; this.addObj.type = String(this.addObj.type) this.sampleList = this.HaveJson(res.data.sampleProduct); + this.sampleList.forEach(m => { + if (m.standardMethodListId) { + m.standardMethodListId = JSON.parse(m.standardMethodListId) + } + }) this.specialStandardMethod = this.sampleList[0].specialStandardMethod this.getProNum() this.addObj.sampleNum = this.sampleList.length @@ -1304,6 +1309,9 @@ }) } else { // 甯歌鎻愪氦 + sampleList.forEach(m => { + m.standardMethodListId = JSON.stringify(m.standardMethodListId) + }) addInsOrder({ insOrder: this.addObj, sampleList: sampleList }).then(res => { this.saveLoad = false this.$message.success('宸叉彁浜�') @@ -1756,7 +1764,7 @@ selectStandardProductList({ model: this.addObj.model ? this.addObj.model : row.model, modelNum: row.modelNum, - standardMethodListId: JSON.stringify(val), + standardMethodListIds: val, state: 1, factory: selectTreeList.join(" - "), cores: row.cores, @@ -1821,7 +1829,7 @@ selectStandardProductList({ model: this.addObj.model ? this.addObj.model : row.model, modelNum: row.modelNum, - standardMethodListId: JSON.stringify(val), + standardMethodListIds: val, state: 1, cores: row.cores, factory: selectTreeList.join(" - "), -- Gitblit v1.9.3