From b69442a151f8a0990cd17acb705f482609e6727d Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期四, 09 十一月 2023 13:11:16 +0800
Subject: [PATCH] 	modified:   package.json 	modified:   src/api/quality/finishedProduct.js 	modified:   src/views/equipment/equipment/index.vue 	modified:   src/views/equipment/metering/index.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-print.vue 	modified:   src/views/quality/finishedProductInspection/index.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-print.vue

---
 src/views/quality/finishedProductInspection/finishedProduct-form.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/views/quality/finishedProductInspection/finishedProduct-form.vue b/src/views/quality/finishedProductInspection/finishedProduct-form.vue
index 5012f74..da0e42b 100644
--- a/src/views/quality/finishedProductInspection/finishedProduct-form.vue
+++ b/src/views/quality/finishedProductInspection/finishedProduct-form.vue
@@ -125,12 +125,12 @@
                             <template slot-scope="scope">
                                 <span v-if="resultVal!=null && processInspectVo.id!=null" v-text="scope.row.ename"></span>
                                 <div v-else>
-                                    <el-input  v-model="scope.row.eId"  v-if="scope.row.iname != null" placeholder="璇疯緭鍏ヨ澶囧彿"></el-input>
-                                    <!-- <el-select style="width:100%" v-model="scope.row.eId"
+                                    <!-- <el-input  v-model="scope.row.eId"  v-if="scope.row.iname != null" placeholder="璇疯緭鍏ヨ澶囧彿"></el-input> -->
+                                    <el-select style="width:100%" v-model="scope.row.eId"
                                     v-if="scope.row.iname != null" filterable @change="updateDevice(scope.row,scope.$index)">
                                         <el-option v-for="(item,index) in deviceList"
                                         :key="index" :value="item.id" :label="item.number +'-'+ item.name"></el-option>
-                                    </el-select> -->
+                                    </el-select>
                                 </div>
                             </template>
                         </el-table-column>
@@ -140,9 +140,11 @@
                                     <el-col v-if="scope.row.itype === '1'">
                                         <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null"
                                             class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start">
+
                                             <el-input :disabled="scope.row.eId == null"
                                                 v-model="scope.row.inote"
                                                 @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ楠屾弿杩�"></el-input>
+
                                             <span v-if="resultVal != null && processInspectVo.id != null"
                                                 v-text="scope.row.inote"></span>
                                         </el-tooltip>
@@ -150,14 +152,14 @@
                                     <el-col v-else>
                                         <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null"
                                             class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start">
-                                            <!-- <el-input :disabled="scope.row.eId == null"
-                                                v-model="scope.row.empiricalValueAddss[index]"
-                                                @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ娴嬪��"></el-input> -->
-                                            <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="璇烽�夋嫨">
+                                            <el-input :disabled="scope.row.eId == null"
+                                                v-model="scope.row.inote"
+                                                @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ娴嬪��"></el-input>
+                                            <!-- <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="璇烽�夋嫨">
                                                 <el-option v-for="item in dataVal" :key="item.value" :label="item.label"
                                                     :value="item.value">
                                                 </el-option>
-                                            </el-select>
+                                            </el-select> -->
                                             <span v-if="resultVal != null && processInspectVo.id != null"
                                                 v-text="scope.row.inote"></span>
                                         </el-tooltip>
@@ -216,6 +218,7 @@
     updateDeviceById,
     updateFinishedInsProduct,
     updateFinishedInspectById,
+    selectDeviceAPI,
  } from '@/api/quality/finishedProduct'
 import { selectDevice } from '@/api/quality/rawMaterial'
 export default {
@@ -273,7 +276,7 @@
         this.init()
     },
     methods: {
-
+        
         submitSave(){
             let pro = 0
             this.inspectionItems.forEach(item => {
@@ -379,9 +382,11 @@
             }
         },
         getDeviceList(){
-            selectDevice(null).then(res=>{
+            selectDeviceAPI(null).then(res=>{
                 // this.deviceList = res.data.data
                 console.log(res);
+                this.deviceList = res.data.data
+
             })
         },
         updateDevice(row,index){

--
Gitblit v1.9.3