代码更新
This commit is contained in:
@@ -311,16 +311,17 @@ export default {
|
||||
executeRepair() {
|
||||
const _selectData = this.$refs.table.selection
|
||||
const data = _selectData[0]
|
||||
if (data.invstatus !== '03') {
|
||||
return this.crud.notify('只能对开始状态的单据执行', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
if (data.invstatus === '03' || data.invstatus === '04' || data.invstatus === '05') {
|
||||
crudDevicerepairmst.getDtl(data).then(res => {
|
||||
this.openParam = {
|
||||
'form': data,
|
||||
'tableData': res
|
||||
}
|
||||
this.executeDialog = true
|
||||
})
|
||||
} else {
|
||||
return this.crud.notify('单据状态不正确', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
}
|
||||
crudDevicerepairmst.getDtl(data).then(res => {
|
||||
this.openParam = {
|
||||
'form': data,
|
||||
'tableData': res
|
||||
}
|
||||
this.executeDialog = true
|
||||
})
|
||||
},
|
||||
confirmRepair() {
|
||||
const _selectData = this.$refs.table.selection
|
||||
|
||||
Reference in New Issue
Block a user