feat(unHandeled): 全部合单参数处理

This commit is contained in:
woody 2025-08-12 10:28:03 +08:00
parent 113667c541
commit 9f6e7c544e
1 changed files with 7 additions and 6 deletions

View File

@ -44,7 +44,7 @@
<el-alert <el-alert
style="width: fit-content" style="width: fit-content"
:closable="false" :closable="false"
title="默认显示【在售】商品订单,如需查询【预售】【缺货】商品,请使用【非在售商品】追加查询" title="默认显示【在售】商品订单,如需查询【预售】【缺货】商品,请使用【非在售商品】进行追加查询"
type="error" type="error"
show-icon show-icon
effect="dark" effect="dark"
@ -779,12 +779,13 @@ export default {
}) })
} else if (index == 0) { } else if (index == 0) {
this.$confirm('是否确定进行全部合单操作?').then((_) => { this.$confirm('是否确定进行全部合单操作?').then((_) => {
const params = {
...this.params,
pkWaresList: this.params.pkWaresList ? this.params.pkWaresList.split(',') : [],
mergeType: this.hdform.mergeType
}
del del
.deliverUnhandeldMerge( .deliverUnhandeldMerge(params)
Object.assign({}, this.params, {
mergeType: this.hdform.mergeType
})
)
.then((res) => { .then((res) => {
this.$message({ this.$message({
message: res.msg, message: res.msg,