|
@@ -464,6 +464,15 @@ public class SyCostAllocationController {
|
|
|
syCostJson.setRejectDate(dtActionTime);
|
|
|
syCostJson.setStatus("返单");
|
|
|
syCostJsonService.updateById(syCostJson);
|
|
|
+ }else if ("删除".equalsIgnoreCase(action)){
|
|
|
+ syCostJson.setFirstApproveBy(null);
|
|
|
+ syCostJson.setFirstApproveDate(null);
|
|
|
+ syCostJson.setSubmitBy(null);
|
|
|
+ syCostJson.setSubmitDate(null);
|
|
|
+ syCostJson.setRejectBy(null);
|
|
|
+ syCostJson.setRejectDate(null);
|
|
|
+ syCostJson.setStatus("保存");
|
|
|
+ syCostJsonService.updateById(syCostJson);
|
|
|
}
|
|
|
}
|
|
|
result.success("");
|