|
@@ -37,13 +37,14 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
- :disabled="scope.row.status === 2"
|
|
|
+ :disabled="scope.row.status !== 1"
|
|
|
@click="handleAdd(scope.row)"
|
|
|
>登记
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
+ :disabled="scope.row.status === 1 || scope.row.status === 4 || scope.row.status === 5"
|
|
|
@click="handleEdit(scope.row)"
|
|
|
> 修改
|
|
|
</el-button>
|
|
@@ -97,7 +98,7 @@ export default {
|
|
|
mixins: [Base, BaseData],
|
|
|
data() {
|
|
|
return {
|
|
|
- dc_key: ['DECORATION_SITUATION'],
|
|
|
+ dc_key: ['DECORATION_SITUATION', 'DEPOSIT_STATUS'],
|
|
|
loading: false,
|
|
|
AllData: [],
|
|
|
customerManagementId: '',
|
|
@@ -155,7 +156,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getItemJson: function(item) {
|
|
|
- item.statusStr = item.status === 1 ? '未收取' : '已收取'
|
|
|
+ item.fundCollectionStatusStrstatusStr = this.dc_map.DEPOSIT_STATUS[item.status]
|
|
|
item.collectionName = item.collectionName == null ? this.username : item.collectionName
|
|
|
item.collectionTime = item.collectionTime == null ? this.dateStr : item.collectionTime
|
|
|
return item
|