fix: 1990 维修已完成,外部显示依然是维修进行中
This commit is contained in:
parent
57efbcfbf9
commit
439b344ec4
|
|
@ -160,7 +160,7 @@
|
|||
@selection-change="handleSelectionChange"
|
||||
border
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column type="selection" width="55" align="center" :selectable="disabledSelection"/>
|
||||
<!-- <el-table-column
|
||||
label="序号"
|
||||
align="center"
|
||||
|
|
@ -368,6 +368,7 @@
|
|||
width="55"
|
||||
align="center"
|
||||
v-if="repairTitle == '维修'"
|
||||
:selectable="selectableDialog"
|
||||
/>
|
||||
<el-table-column
|
||||
label="序号"
|
||||
|
|
@ -377,7 +378,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(dialogQueryParams.pageNum - 1) * 10 +
|
||||
(dialogQueryParams.pageNum - 1) * dialogQueryParams.pageSize +
|
||||
scope.$index +
|
||||
1
|
||||
}}</span>
|
||||
|
|
@ -450,7 +451,7 @@
|
|||
width="300px"
|
||||
v-if="type == 'update'"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<template slot-scope="scope" v-if="scope.row.status !== '1'">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
|
|
@ -1012,6 +1013,13 @@ export default {
|
|||
})
|
||||
.catch(() => {})
|
||||
},
|
||||
// 禁止勾选已完成
|
||||
disabledSelection(row) {
|
||||
return row.repairStatusCode !== '44'
|
||||
},
|
||||
selectableDialog(row) {
|
||||
return row.status !== '1'
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue