Commit 102172dd authored by eddie.woo's avatar eddie.woo

modify

parent 27df02ac
......@@ -291,8 +291,9 @@
},
function (isConfirm) {
if (isConfirm) {
vatReportService.hasManualDataSource(vatSessionService.project.id,vatSessionService.month).then(function (hasManual) {
if(hasManual){
vatReportService.hasManualDataSource(vatSessionService.project.id, vatSessionService.month).then(function (hasManual) {
if (hasManual) {
setTimeout(function () {
swal({
title: "warning!",
text: "是否保留手工数据!",
......@@ -304,24 +305,23 @@
closeOnConfirm: true,
closeOnCancel: true
},
function (isConfirm) {
if (isConfirm) {
function (tmpConfirm) {
if (tmpConfirm) {
doStartCaculate(true);
}else{
} else {
doStartCaculate(false);
}
});
}else{
}, 500);
} else {
doStartCaculate(false);
}
});
}
else {
} else {
swal.close();
}
});
}
else {
} else {
doStartCaculate(false);
}
};
......
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