代码更新

This commit is contained in:
2022-07-21 19:52:15 +08:00
parent 2691af74f8
commit d2a88b9a6f
9 changed files with 133 additions and 87 deletions

View File

@@ -345,13 +345,17 @@ export default {
openReceive() {
const _selectData = this.$refs.table.selection
const data = _selectData[0]
crudDevicerepairmst.getDtl(data).then(res => {
this.openParam = {
'form3': data,
'itemData': res
}
this.receiveDialog = true
})
if (data.invstatus === '03' || data.invstatus === '04' || data.invstatus === '05') {
crudDevicerepairmst.getDtl(data).then(res => {
this.openParam = {
'form3': data,
'itemData': res
}
this.receiveDialog = true
})
} else {
this.crud.notify('状态不正确', CRUD.NOTIFICATION_TYPE.INFO)
}
}
}
}