Commit 1aeaa456 authored by 王晓倩's avatar 王晓倩

解决转移支付自动变为卖方部门长审核bug

parent 88cf7a12
......@@ -166,7 +166,7 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService
{
TTradeProject trade = tTradeProjectMapper.selectTTradeProjectById(tTradeProject.getTradeId());
// 转移支付:新增交易转移信息,更新交易单
if("myChange".equals(tTradeProject.getQueryType()) && tTradeProject.getTradeDeptId()!=null && tTradeProject.getTradeTransactor()!=null){
if("0".equals(tTradeProject.getTradeStatus()) && tTradeProject.getTradeDeptId()!=null && tTradeProject.getTradeTransactor()!=null){
TTradeChangeInfo tradeChangeInfo = new TTradeChangeInfo();
tradeChangeInfo.setRelationTradeId(tTradeProject.getTradeId());
tradeChangeInfo.setOriginalTradeDeptId(trade.getTradeDeptId());
......
......@@ -103,6 +103,7 @@
dealPrice: this.tradeData.dealPrice,
dealRemark: this.tradeData.dealRemark,
tradeDeptId: null,
tradeStatus: "1",
tradeTransactor: null,
formDeptOptions: [],
transactorList: [],
......@@ -118,6 +119,7 @@
this.socre = "";
this.dealPrice = "";
if(newVal == '1'){
this.tradeStatus = "1";
this.priceDisabled = false;
this.socreDisabled = true;
this.isShow = false;
......@@ -125,6 +127,7 @@
this.tradeTransactor = null;
}
if(newVal == '2'){
this.tradeStatus = "1";
this.priceDisabled = true;
this.socreDisabled = false;
this.isShow = false;
......@@ -132,6 +135,7 @@
this.tradeTransactor = null;
}
if(newVal == '3'){
this.tradeStatus = "0";
this.priceDisabled = true;
this.socreDisabled = true;
this.isShow = true;
......@@ -209,7 +213,7 @@
return false;
},
submitSuggestion(){
let param = {tradeId:this.tradeData.tradeId,tradeStatus:"1",dealPrice:this.dealPrice,dealRemark:this.dealRemark,evaluateTime:moment().format('YYYY-MM-DD HH:mm:ss'),
let param = {tradeId:this.tradeData.tradeId,tradeStatus:this.tradeStatus,dealPrice:this.dealPrice,dealRemark:this.dealRemark,evaluateTime:moment().format('YYYY-MM-DD HH:mm:ss'),
tradeDeptId:this.tradeDeptId, tradeTransactor:this.tradeTransactor};
if(this.socre){
param.tradeScore = this.socre;
......
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