Commit 06c73b9c authored by lizhichao's avatar lizhichao

驳回的单据,清空评分

parent 0f254363
......@@ -184,7 +184,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tradePrice != null">trade_price = #{tradePrice},</if>
<if test="tradeCount != null">trade_count = #{tradeCount},</if>
<if test="tradeTotal != null">trade_total = #{tradeTotal},</if>
<if test="tradeScore != null">trade_score = #{tradeScore},</if>
<if test="tradeScore != null and tradeScore!=-1">trade_score = #{tradeScore},</if>
<if test="tradeScore == -1">trade_score = null,</if>
<if test="tradeDeptManagerId != null">trade_dept_manager_id = #{tradeDeptManagerId},</if>
<if test="settlementTime != null">settlement_time = #{settlementTime},</if>
<if test="dealPrice != null">deal_price = #{dealPrice},</if>
......
......@@ -94,9 +94,11 @@
},
submitSuggestion(){
let param = {tradeId:this.tradeData.tradeId,tradeStatus:"1",dealPrice:this.dealPrice,dealRemark:this.dealRemark};
// if(this.socre){
if(this.socre){
param.tradeScore = this.socre;
// }
}else{
param.tradeScore = -1;
}
return param;
}
}
......
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