Commit 1cbec5fb authored by Smile's avatar Smile Committed by wux

bug313【订单-复制】复制有客户经理的订单,提交订单时,前端传参没有将原订单的客户经理清空

parent 39bd43ee
......@@ -1441,6 +1441,8 @@ export default {
this.form.adjustToDestWarehouseId = null
this.form.destAdjustToStartWarehouseId = null
this.form.destAdjustToDestWarehouseId = null
//重置客户经理
this.form.salesmanId = null
// 状态重置
this.form.status = 0
this.form.cargoControlStatus = 0
......@@ -1919,6 +1921,8 @@ export default {
if (await this.checkBillOfLading()) {
await this.$confirm(this.$t('提单已制作,如需修改请联系客服'))
}
//仅用于标识不做其他用
this.form.signType='修改'
let data = Object.assign({}, this.form, {
status: submitType,
customDraweeVOList: this.customDraweeList,
......@@ -1939,6 +1943,12 @@ export default {
});
return;
}
if (this.$route.query.copy && this.$route.query.copy == 1){
//仅用于标识不做其他用
this.form.signType='复制'
}else {
this.form.signType='新增'
}
let data = Object.assign({
consigneeId: this.consigneeContact.customerId,
consignorId: this.consignorContact.customerId,
......
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