From 813bab524f7803987043b072157259fbdceb6228 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 11 十二月 2023 17:41:20 +0800
Subject: [PATCH] 	modified:   src/views/plan/manufacturingorder/index.vue

---
 src/views/quality/finishedProductInspection/finishedProduct-form.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/quality/finishedProductInspection/finishedProduct-form.vue b/src/views/quality/finishedProductInspection/finishedProduct-form.vue
index 0f74641..804c545 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
@@ -515,7 +515,6 @@
                 let id = res.data.data
                 if(id != null){
                     queryById(id).then(response=>{
-                        console.log(response.data.data.children)
                         let proList = response.data.data.children
                         proList.forEach(item=>{
                             item.iid = Math.random();

--
Gitblit v1.9.3