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