Browse Source

修改栈板分类bug

dev
常熟吴彦祖 2 weeks ago
parent
commit
937bc9e260
  1. 13
      src/views/modules/haianAutoWarehouse/haianPalletSorting.vue

13
src/views/modules/haianAutoWarehouse/haianPalletSorting.vue

@ -1038,6 +1038,8 @@ export default {
partNo: original.partNo,
createDate: original.createDate,
createBy: original.createBy,
// 标记为人工分拣扫回,使后端跳过区域pack_able校验,其他标签状态校验仍保留 - rqrq
sortFlag: 1,
// 分拣扫回固定回写0:语义是“恢复到已推送基线”,不把扫回数据再次当增量 - rqrq
wcsFlag: 0
}).then(({ data }) => {
@ -1078,9 +1080,16 @@ export default {
palletId: this.palletCode
}).then(({ data }) => {
if (data && data.code === 0) {
this.sortingList = []
const sortedSource = this.sortedSourceFlag
const resultRow = data.row || {}
this.$message.success(resultRow.message || (this.sortedSourceFlag ? '已通知托盘回库' : '分拣提交成功'))
this.$message.success(resultRow.message || (sortedSource ? '已通知托盘回库' : '分拣提交成功'))
if (sortedSource) {
// 被分拣栈板通知回库成功后清空整页状态,避免继续操作已提交的托盘和明细 - rqrq
this.resetPage(true)
} else {
// 普通分拣工作盘保持原行为,仅清空本次已查询的分拣清单 - rqrq
this.sortingList = []
}
} else {
this.$alert((data && data.msg) || '分拣提交失败', '错误', { confirmButtonText: '确定' })
}

Loading…
Cancel
Save