代码更新
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user