Commit 8dd4c01c authored by Smile's avatar Smile Committed by wux

bug281 【跟进记录-新增/编辑】只修改“销售阶段”,不修改“货物状态”,报价单取status,反写status

parent fd151d23
......@@ -284,10 +284,10 @@ export default {
this.offer = offer;
// 选择了报价单后,需要将报价单中的客户及客户联系人信息回显
this.form.offerNumber = offer.number
if (offer.cargoStatus||offer.saleStage){
if (offer.cargoStatus||offer.status){
this.$set(this.form,'cargoStatus',offer.cargoStatus);
if (!this.isView){
this.$set(this.form,'saleStage',offer.saleStage);
this.$set(this.form,'saleStage',offer.status);
}
}else {
this.$set(this.form,'cargoStatus',null);
......@@ -561,7 +561,7 @@ export default {
if (status === 1){
if (this.form.followType===2&&(this.form.cargoStatus!==this.offer.cargoStatus||this.form.saleStage!==this.offer.saleStage)){
this.offer.cargoStatus=this.form.cargoStatus;
this.offer.saleStage=this.form.saleStage;
this.offer.status=this.form.saleStage;
updateByCustomerFollow(this.offer);
}
}
......
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