Commit 1335f438 authored by dragondean@qq.com's avatar dragondean@qq.com

修复追加接口调用错误

parent 3d0bc626
...@@ -809,6 +809,7 @@ export default { ...@@ -809,6 +809,7 @@ export default {
} }
this.submitting = true this.submitting = true
const func = this.isShipment ? appendApplyWhenShipment : orderWarehouseIn const func = this.isShipment ? appendApplyWhenShipment : orderWarehouseIn
console.log("提交追加", this.isShipment, func)
return func({ return func({
...this.form1, ...this.form1,
brandType: this.warehousing.brandType, brandType: this.warehousing.brandType,
...@@ -892,7 +893,8 @@ export default { ...@@ -892,7 +893,8 @@ export default {
} else { } else {
// 首次入仓、入仓补充 // 首次入仓、入仓补充
this.submitting = true this.submitting = true
return orderWarehouseIn({ const func = this.isShipment ? appendApplyWhenShipment : orderWarehouseIn
return func({
...this.form, ...this.form,
brandType: this.warehousing.brandType, brandType: this.warehousing.brandType,
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment