巡检报修问题修改

master
zhangdi 10 months ago
parent 88f05e0141
commit 204547e8cd
  1. 8
      src/views/businessManagement/inspection/repair.vue

@ -131,7 +131,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="物料配置" width="120" <el-table-column align="center" label="物料配置" width="120"
v-if="(viewType != 'view') || (errorForm.repairStatus != 1 && errorForm.repairStatus != 101)"> v-if=" (errorForm.repairStatus == 1 && errorForm.repairStatus == 101)">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="setMaterial(scope.row)" :disabled="scope.row.isNeed == 0" <el-button @click="setMaterial(scope.row)" :disabled="scope.row.isNeed == 0"
size="mini">物料配置</el-button> size="mini">物料配置</el-button>
@ -234,7 +234,7 @@
</div> </div>
<!-- 维修效果确认 --> <!-- 维修效果确认 -->
<div <div
v-show=" (errorForm.repairStatus == 5 || errorForm.repairStatus == 6 || errorForm.repairStatus == 7 || errorForm.repairStatus == 8)"> v-show="(viewType != 'view'&&errorForm.repairStatus == 5)|| ( errorForm.repairStatus == 6 || errorForm.repairStatus == 7 || errorForm.repairStatus == 8)">
<div style=" <div style="
color: #101010; color: #101010;
font-size: 20px; font-size: 20px;
@ -640,7 +640,7 @@ export default {
return ''; return '';
}, },
deleteColumn(row, index) { deleteColumn(row, index) {
this.tableData.splice(index, 1); this.materialData.splice(index, 1);
}, },
// //
getSummaries(param) { getSummaries(param) {
@ -704,7 +704,7 @@ export default {
setMaterial(row) { setMaterial(row) {
this.materialId = row.id this.materialId = row.id
this.getProductLists() this.getProductLists()
this.materialData = row.detailGoodsList this.materialData = JSON.parse(JSON.stringify(row.detailGoodsList))
this.materialVisible = true this.materialVisible = true
}, },
addColumn() { addColumn() {

Loading…
Cancel
Save