Commit 05992bf2 authored by Marcus's avatar Marcus

填单为无牌,入仓后填单数据变成了有牌

http://zentao.jdshangmen.com/bug-view-904.html
parent 35fd5dbf
...@@ -586,7 +586,7 @@ export default { ...@@ -586,7 +586,7 @@ export default {
} }
return orderWarehouseIn({ return orderWarehouseIn({
...this.form1, ...this.form1,
brandType: this.form1.brand ? 1 : 0, brandType: this.warehousing.brandType,
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
orderItemId: undefined, orderItemId: undefined,
orderNo: this.warehousing.orderNo, orderNo: this.warehousing.orderNo,
...@@ -616,7 +616,7 @@ export default { ...@@ -616,7 +616,7 @@ export default {
// 入仓修改 // 入仓修改
return orderWarehouseInUpdateApply({ return orderWarehouseInUpdateApply({
...this.form, ...this.form,
brandType: this.form.brand ? 1 : 0, brandType: this.warehousing.brandType,
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
orderItemId: this.warehousing.orderItemId, orderItemId: this.warehousing.orderItemId,
orderNo: this.warehousing.orderNo, orderNo: this.warehousing.orderNo,
...@@ -643,7 +643,7 @@ export default { ...@@ -643,7 +643,7 @@ export default {
// 首次入仓 // 首次入仓
return orderWarehouseIn({ return orderWarehouseIn({
...this.form, ...this.form,
brandType: (this.form.brand && this.form.brand !== '0') ? 1 : 0, brandType: this.warehousing.brandType,
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
orderItemId: this.warehousing.orderItemId, orderItemId: this.warehousing.orderItemId,
orderNo: this.warehousing.orderNo, orderNo: this.warehousing.orderNo,
......
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