From f0b5226a49dd90ede8e716ae405c9247480f2ff8 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 09 十一月 2023 10:04:51 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/equipment/metering/index.vue | 145 ++++++++++++++++++++++++++++++++++++----------- src/views/quality/processInspect/processInspect-form.vue | 20 +++--- 2 files changed, 120 insertions(+), 45 deletions(-) diff --git a/src/views/equipment/metering/index.vue b/src/views/equipment/metering/index.vue index bbc96a2..bbd003d 100644 --- a/src/views/equipment/metering/index.vue +++ b/src/views/equipment/metering/index.vue @@ -37,7 +37,7 @@ uploadInfo: { // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl isShow: true, - url: '/mes/equipment/upload' + url: '/mes/equipmentDevice/upload' }, prelang: 'workstation', options: { @@ -94,41 +94,23 @@ // isSearch: true, // searchInfoType: 'text' // }, - { - minWidth: '30', - prop: 'type', - label: '璁惧绫诲瀷', - // sort: true, - isTrue: true, - isSearch: true, - // searchInfoType: 'select', - formatter: this.workShopFormatter, - // optList: () => { - // return this.workshopList - // } - }, + // { + // minWidth: '30', + // prop: 'type', + // label: '璁惧绫诲瀷', + // // sort: true, + // isTrue: true, + // isSearch: true, + // // searchInfoType: 'select', + // formatter: this.workShopFormatter, + // // optList: () => { + // // return this.workshopList + // // } + // }, // 鍨嬪彿瑙勬牸 - { - minWidth: '30', - prop: 'supplier', - label: '鍘傚', - sort: true, - isTrue: true, - isSearch: false, - searchInfoType: 'text' - }, - // 鐘舵�� - { - minWidth: '30', - prop: 'status', - label: '鐘舵��', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - // 鍒堕�犳棩鏈� - { + + // 鍒堕�犳棩鏈� + { minWidth: '150', width: '250', prop: 'createTime', @@ -151,6 +133,99 @@ isSearch: true, searchInfoType: 'datetime' }, + { + minWidth: '30', + prop: 'createUser', + label: '璐熻矗浜�', + sort: true, + isTrue: true, + isSearch: false, + searchInfoType: 'text' + }, + + { + minWidth: '30', + prop: 'supplier', + label: '鍘傚', + sort: true, + isTrue: true, + isSearch: false, + searchInfoType: 'text' + }, + // 鐘舵�� + { + minWidth: '30', + prop: 'status', + label: '鐘舵��', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + // 鐘舵�� + { + minWidth: '30', + prop: 'responsibleDepartment', + label: '璐熻矗閮ㄩ棬', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'InspectionUnit', + label: '妫�楠屽崟浣�', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'certificate', + label: '璇佷功缂栧彿', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'verification', + label: '妫�瀹�', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'classification', + label: '鍒嗙被', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'FixedPointPosition', + label: '瀹氱偣浣嶇疆', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + { + minWidth: '30', + prop: 'specifications', + label: '瑙勬牸', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, ], toolbar: [ { diff --git a/src/views/quality/processInspect/processInspect-form.vue b/src/views/quality/processInspect/processInspect-form.vue index 1a487ec..2f5837d 100644 --- a/src/views/quality/processInspect/processInspect-form.vue +++ b/src/views/quality/processInspect/processInspect-form.vue @@ -143,7 +143,7 @@ </div> </template> </el-table-column> - <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index" + <el-table-column label="妫�楠屾弿杩�" width="240" style="text-align: center;"> <template slot-scope="scope"> <el-col v-if="scope.row.itype === '1'"> @@ -151,26 +151,26 @@ 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> + @blur="changeState(scope.row, inote)" placeholder="璇疯緭鍏ユ楠屾弿杩�"></el-input> <span v-if="resultVal != null && processInspectVo.id != null" v-text="scope.row.inote"></span> </el-tooltip> </el-col> - <el-col v-else> + <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, inote)" placeholder="璇疯緭鍏ユ娴嬪��"></el-input> + <!-- <el-select style="width: 100%;" @change="changeState(scope.row, inote)" :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> - <span v-if="resultVal != null && processInspectVo.id != null" + </el-select> --> + <span v-if="resultVal != null && processInspectVo.id != null" v-text="scope.row.inote"></span> </el-tooltip> - </el-col> + </el-col> </template> </el-table-column> <el-table-column label="缁撹" fixed="right" min-width="100"> -- Gitblit v1.9.3