Commit f182be29 authored by ken.q.you's avatar ken.q.you

fix box close bug---Ken

parent 01f0f00b
...@@ -381,7 +381,7 @@ ...@@ -381,7 +381,7 @@
var year=now.getFullYear(); var year=now.getFullYear();
var vatMonth=vatSessionService.month; var vatMonth=vatSessionService.month;
if(vatSessionService.year==year){ if(vatSessionService.year==year){
if(vatMonth===month-1){ if(vatMonth===month||vatMonth===month-1){
return false; return false;
}else{ }else{
return true; return true;
...@@ -478,6 +478,7 @@ ...@@ -478,6 +478,7 @@
} }
else { else {
doStartCaculate2(false); doStartCaculate2(false);
swal.close();
} }
}; };
......
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