Fixiaobai
2023-11-09 ffa1b835b4063e9492dec702620534f2fe51c9a8
	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue
modified: src/views/quality/processInspect/processInspect-form.vue
已修改2个文件
9 ■■■■■ 文件已修改
src/views/quality/finishedProductInspection/finishedProduct-form.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/processInspect/processInspect-form.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProduct-form.vue
@@ -110,7 +110,7 @@
                                        <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null"
                                            class="item" effect="dark" content="请先选择设备!" placement="top-start">
                                            <el-select style="width: 100%;" @change="changeState(scope.row, scope.$index)" :disabled="scope.row.eId == null" v-model="scope.row.empiricalValueAddss[index]" placeholder="请选择">
                                                <el-option v-for="(item,i) in dataVal" :key="i" :label="item.label"
                                                <el-option v-for="(item,i) in dataVal" :key="item.value" :label="item.label"
                                                    :value="item.value">
                                                </el-option>
                                            </el-select>
@@ -128,12 +128,12 @@
                                    <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>
                                        :key="item.id" :value="item.id" :label="item.number +'-'+ item.name"></el-option>
                                    </el-select>
                                </div>
                            </template>
                        </el-table-column>
                        <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index"
                        <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="item"
                                label="检验描述" width="240" style="text-align: center;">
                                <template slot-scope="scope">
                                    <el-col v-if="scope.row.itype === '1'">
src/views/quality/processInspect/processInspect-form.vue
@@ -400,10 +400,11 @@
            })
        },
        updateDevice(row, index) {
            let father=row.father
            updateDeviceBypppId({ deviceId: row.eId, ppid: row.iid }).then(res => {
                this.inspectionItems.forEach(obj => {
                    console.log(obj);
                    if (obj.children) {
                    if (obj.children&&obj.father==father) {
                        obj.children[index - 1].inspectionValue = null
                        obj.children[index - 1].iresult = null
                        obj.children[index - 1].empiricalValueAddss = []