|
|
|
|
@ -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() { |
|
|
|
|
|