Commit c2f9b42d by liuyang

1.修复收票单核销功能

parent f36b7b58
......@@ -292,7 +292,7 @@ public class ServiceHGCW014 extends ServiceBase {
for (int i = 0; i < resultRows.size(); i++) {
HGCW014 HGCW014 = new HGCW014();
HGCW014.fromMap(resultRows.get(i));
if (!HGCW014.getReviewStatus().equals(ReviewStatusEnum.UNREVIEWED.getCode())){
if (HGCW014.getReviewStatus().equals(ReviewStatusEnum.UNREVIEWED.getCode())){
throw new RuntimeException("当前状态为未审核提交,请先审核提交!");
}
HGCW014.setCancelStatus(2);
......
......@@ -177,7 +177,7 @@ function submitFunc() {
message("选中的第"+(index+1)+"行未保存的数据,请先保存!");
flag = false;
}
if (row.reviewStatus == "3") {
if (row.reviewStatus == "1") {
message("勾选的数据中有已经提交的单据!");
flag = false;
return;
......
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