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

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

parent 88cf7a12
...@@ -166,7 +166,7 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService ...@@ -166,7 +166,7 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService
{ {
TTradeProject trade = tTradeProjectMapper.selectTTradeProjectById(tTradeProject.getTradeId()); 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(); TTradeChangeInfo tradeChangeInfo = new TTradeChangeInfo();
tradeChangeInfo.setRelationTradeId(tTradeProject.getTradeId()); tradeChangeInfo.setRelationTradeId(tTradeProject.getTradeId());
tradeChangeInfo.setOriginalTradeDeptId(trade.getTradeDeptId()); tradeChangeInfo.setOriginalTradeDeptId(trade.getTradeDeptId());
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
dealPrice: this.tradeData.dealPrice, dealPrice: this.tradeData.dealPrice,
dealRemark: this.tradeData.dealRemark, dealRemark: this.tradeData.dealRemark,
tradeDeptId: null, tradeDeptId: null,
tradeStatus: "1",
tradeTransactor: null, tradeTransactor: null,
formDeptOptions: [], formDeptOptions: [],
transactorList: [], transactorList: [],
...@@ -118,6 +119,7 @@ ...@@ -118,6 +119,7 @@
this.socre = ""; this.socre = "";
this.dealPrice = ""; this.dealPrice = "";
if(newVal == '1'){ if(newVal == '1'){
this.tradeStatus = "1";
this.priceDisabled = false; this.priceDisabled = false;
this.socreDisabled = true; this.socreDisabled = true;
this.isShow = false; this.isShow = false;
...@@ -125,6 +127,7 @@ ...@@ -125,6 +127,7 @@
this.tradeTransactor = null; this.tradeTransactor = null;
} }
if(newVal == '2'){ if(newVal == '2'){
this.tradeStatus = "1";
this.priceDisabled = true; this.priceDisabled = true;
this.socreDisabled = false; this.socreDisabled = false;
this.isShow = false; this.isShow = false;
...@@ -132,6 +135,7 @@ ...@@ -132,6 +135,7 @@
this.tradeTransactor = null; this.tradeTransactor = null;
} }
if(newVal == '3'){ if(newVal == '3'){
this.tradeStatus = "0";
this.priceDisabled = true; this.priceDisabled = true;
this.socreDisabled = true; this.socreDisabled = true;
this.isShow = true; this.isShow = true;
...@@ -209,7 +213,7 @@ ...@@ -209,7 +213,7 @@
return false; return false;
}, },
submitSuggestion(){ 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}; tradeDeptId:this.tradeDeptId, tradeTransactor:this.tradeTransactor};
if(this.socre){ if(this.socre){
param.tradeScore = 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