巡检报修问题修改

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

@ -131,7 +131,7 @@
</template>
</el-table-column>
<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">
<el-button @click="setMaterial(scope.row)" :disabled="scope.row.isNeed == 0"
size="mini">物料配置</el-button>
@ -234,7 +234,7 @@
</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="
color: #101010;
font-size: 20px;
@ -640,7 +640,7 @@ export default {
return '';
},
deleteColumn(row, index) {
this.tableData.splice(index, 1);
this.materialData.splice(index, 1);
},
//
getSummaries(param) {
@ -704,7 +704,7 @@ export default {
setMaterial(row) {
this.materialId = row.id
this.getProductLists()
this.materialData = row.detailGoodsList
this.materialData = JSON.parse(JSON.stringify(row.detailGoodsList))
this.materialVisible = true
},
addColumn() {

Loading…
Cancel
Save