From d485e884a63698aef54db9912a52ccb300ce9c08 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 11 十二月 2023 15:48:52 +0800 Subject: [PATCH] 修改 --- src/views/quality/finishedProductInspection/finishedProduct-form.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/quality/finishedProductInspection/finishedProduct-form.vue b/src/views/quality/finishedProductInspection/finishedProduct-form.vue index 0f74641..f264e13 100644 --- a/src/views/quality/finishedProductInspection/finishedProduct-form.vue +++ b/src/views/quality/finishedProductInspection/finishedProduct-form.vue @@ -88,7 +88,7 @@ <el-form-item label="浜у搧鍚堟牸搴撲綅锛�" prop="locationId"> <el-select @change="changeLocation" clearable style="width:100%" v-model="processInspectVo.locationId" placeholder="璇烽�夋嫨鍚堟牸搴撲綅" - autocomplete="off"> + :disabled="resultVal!=null && processInspectVo.id!=null" autocomplete="off"> <el-option v-for="(item,i) in locationList" :key="i" :label="item.locName+'-'+item.locNo" :value="item.id"></el-option> </el-select> @@ -294,7 +294,7 @@ mounted() { this.getDeviceList() this.processInspectVo.id = this.$route.query.id - this.resultVal = this.$route.query.resultVal + this.resultVal = this.$route.params.resultVal if(this.resultVal == null){ let val = sessionStorage.getItem("finished-resultVal-"+this.processInspectVo.id); val == undefined ? this.resultVal=null : this.resultVal = val -- Gitblit v1.9.3