fix(wms): 移除分条操作中冗余的待处理动作添加
移除注释掉的addPendingAction调用,该操作已不再需要 将stepSpilt.loading设置为false移到finally块中确保执行
This commit is contained in:
@@ -836,21 +836,22 @@ export default {
|
||||
await this.$modal.confirm('是否确认领料开始分条操作?')
|
||||
this.stepSpilt.loading = true
|
||||
await startSpecialSplit(row.coilId);
|
||||
await addPendingAction({
|
||||
coilId: row.coilId,
|
||||
currentCoilNo: row.currentCoilNo,
|
||||
actionType: 501,
|
||||
actionStatus: 0,
|
||||
sourceType: 'manual',
|
||||
priority: 0,
|
||||
})
|
||||
// await addPendingAction({
|
||||
// coilId: row.coilId,
|
||||
// currentCoilNo: row.currentCoilNo,
|
||||
// actionType: 501,
|
||||
// actionStatus: 0,
|
||||
// sourceType: 'manual',
|
||||
// priority: 0,
|
||||
// })
|
||||
this.$message.success('分条操作已创建')
|
||||
this.stepSpilt.loading = false
|
||||
|
||||
this.getPendingAction()
|
||||
// this.getMaterialCoil()
|
||||
this.getStepSplitList()
|
||||
} finally {
|
||||
this.buttonLoading = false
|
||||
this.stepSpilt.loading = false
|
||||
}
|
||||
},
|
||||
handleContinueSplit(row) {
|
||||
|
||||
Reference in New Issue
Block a user