Commit 1785a1b6 authored by 王晓倩's avatar 王晓倩

买方经办人驳回时不记录“说明”的问题;

交易单导出增加“备注”字段;
parent d5ccc29f
...@@ -44,6 +44,28 @@ public class TTradeProjectExportVo { ...@@ -44,6 +44,28 @@ public class TTradeProjectExportVo {
@Excel(name = "尾款") @Excel(name = "尾款")
private BigDecimal pendingPayment; private BigDecimal pendingPayment;
@Excel(name = "交易说明")
private String dealRemark;
@Excel(name = "备注")
private String remark;
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getDealRemark() {
return dealRemark;
}
public void setDealRemark(String dealRemark) {
this.dealRemark = dealRemark;
}
public String getRelationTransactionProjectName() { public String getRelationTransactionProjectName() {
return relationTransactionProjectName; return relationTransactionProjectName;
} }
......
...@@ -193,7 +193,7 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService ...@@ -193,7 +193,7 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService
changeCount++; changeCount++;
tTradeProject.setChangeCount(changeCount); tTradeProject.setChangeCount(changeCount);
tTradeProject.setTradeStatus(null); tTradeProject.setTradeStatus(null);
tTradeProject.setDealRemark(null); // tTradeProject.setDealRemark(null);
tTradeProject.setEvaluateTime(null); tTradeProject.setEvaluateTime(null);
tTradeChangeInfoMapper.insertTTradeChangeInfo(tradeChangeInfo); tTradeChangeInfoMapper.insertTTradeChangeInfo(tradeChangeInfo);
......
...@@ -221,6 +221,10 @@ ...@@ -221,6 +221,10 @@
param.tradeScore = -1; param.tradeScore = -1;
} }
return param; return param;
},
reject(){
let param = {dealRemark:this.dealRemark};
return param;
} }
} }
} }
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
}, },
//驳回 //驳回
reject(){ reject(){
updateProject({tradeId:this.tradeInfo.tradeId,tradeStatus:"4"}).then(res =>{ updateProject({tradeId:this.tradeInfo.tradeId,tradeStatus:"4",dealRemark:this.$refs.currentCom.reject().dealRemark}).then(res =>{
if(res.code == 200){ if(res.code == 200){
this.open = false; this.open = false;
this.$emit("getList"); this.$emit("getList");
......
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