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

交易单驳回之后的修改处理

parent bb6dd7e7
......@@ -198,8 +198,13 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService
tTradeChangeInfoMapper.insertTTradeChangeInfo(tradeChangeInfo);
// 除修改、转移支付外的其他操作
} else if(tTradeProject.getTradeDeptId()==null && tTradeProject.getTradeTransactor()==null){
tTradeProject.setChangeCount(trade.getChangeCount());
// 处理驳回后的修改操作(经办人评价或转移支付、买方部门长、卖方部门长审批步骤均有状态值)
} else if(tTradeProject.getTradeStatus() == null){
tTradeProject.setTradeStatus("0");
}
tTradeProject.setUpdateTime(DateUtils.getNowDate());
......
......@@ -613,7 +613,7 @@ export default {
this.$refs["form"].validate((valid) => {
if (valid) {
if (this.form.tradeId != null) {
// 为区分转移支付,新增和修改时交易单状态传值设为null,新增时数据库默认‘0’
// 为区分转移支付,修改时交易单状态传值设为null
this.form.tradeStatus = null;
updateProject(this.form).then((response) => {
this.msgSuccess("修改成功");
......
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