Commit c01dc13f authored by wanghf's avatar wanghf

线上发包任务,发票信息管理功能优化

parent e127072c
...@@ -333,6 +333,10 @@ export default { ...@@ -333,6 +333,10 @@ export default {
} }
laborSign(queryParams).then(response => { laborSign(queryParams).then(response => {
if (response.code == 200) { if (response.code == 200) {
if(response.total == 0){
this.$modal.msgError("该企业未签约,无法申请开票");
return;
}
this.taxCompanyList = response.rows; this.taxCompanyList = response.rows;
} }
}) })
...@@ -475,7 +479,7 @@ export default { ...@@ -475,7 +479,7 @@ export default {
selectItemList.forEach(item => { selectItemList.forEach(item => {
sumSuccessAmount += Number(item.successAmount); sumSuccessAmount += Number(item.successAmount);
}); });
this.formApply.totalAmountTax = sumSuccessAmount; this.formApply.totalAmountTax = Number.parseFloat(sumSuccessAmount).toFixed(2);
}) })
}, },
} }
......
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