概算也没有项目管理成本含税金额

master
xxssyyyyssxx 2021-11-03 17:07:05 +08:00
parent f208fc08f4
commit 9feb829aee
2 changed files with 6 additions and 6 deletions

View File

@ -43,10 +43,10 @@ function calIncomeAndCost() {
calCostInclude(); calCostInclude();
calIncomeCost(); calIncomeCost();
}); });
$("input[name='costProjectManageTaxInclude']").change(function () { /*$("input[name='costProjectManageTaxInclude']").change(function () {
calCostInclude(); calCostInclude();
calIncomeCost(); calIncomeCost();
}); });*/
$("input[name='costOtherOtherTaxInclude']").change(function () { $("input[name='costOtherOtherTaxInclude']").change(function () {
calCostInclude(); calCostInclude();
calIncomeCost(); calIncomeCost();
@ -127,14 +127,14 @@ function calCostInclude() {
var costPurchaseBuildTaxInclude = $("input[name='costPurchaseBuildTaxInclude']").val(); var costPurchaseBuildTaxInclude = $("input[name='costPurchaseBuildTaxInclude']").val();
var costPurchaseServiceTaxInclude = $("input[name='costPurchaseServiceTaxInclude']").val(); var costPurchaseServiceTaxInclude = $("input[name='costPurchaseServiceTaxInclude']").val();
var costPurchaseOtherTaxInclude = $("input[name='costPurchaseOtherTaxInclude']").val(); var costPurchaseOtherTaxInclude = $("input[name='costPurchaseOtherTaxInclude']").val();
var costProjectManageTaxInclude = $("input[name='costProjectManageTaxInclude']").val(); //var costProjectManageTaxInclude = $("input[name='costProjectManageTaxInclude']").val();
var costOtherOtherTaxInclude = $("input[name='costOtherOtherTaxInclude']").val(); var costOtherOtherTaxInclude = $("input[name='costOtherOtherTaxInclude']").val();
var costTotalTaxInclude = $("input[name='costTotalTaxInclude']"); var costTotalTaxInclude = $("input[name='costTotalTaxInclude']");
if(costPurchaseDeviceTaxInclude && costPurchaseBuildTaxInclude && costPurchaseServiceTaxInclude && costPurchaseOtherTaxInclude && costProjectManageTaxInclude && costOtherOtherTaxInclude){ if(costPurchaseDeviceTaxInclude && costPurchaseBuildTaxInclude && costPurchaseServiceTaxInclude && costPurchaseOtherTaxInclude /*&& costProjectManageTaxInclude*/ && costOtherOtherTaxInclude){
costTotalTaxInclude.val(parseFloat(costPurchaseDeviceTaxInclude)+parseFloat(costPurchaseBuildTaxInclude)+parseFloat(costPurchaseServiceTaxInclude)+parseFloat(costPurchaseOtherTaxInclude)+parseFloat(costProjectManageTaxInclude)+parseFloat(costOtherOtherTaxInclude)); costTotalTaxInclude.val(parseFloat(costPurchaseDeviceTaxInclude)+parseFloat(costPurchaseBuildTaxInclude)+parseFloat(costPurchaseServiceTaxInclude)+parseFloat(costPurchaseOtherTaxInclude)/*+parseFloat(costProjectManageTaxInclude)*/+parseFloat(costOtherOtherTaxInclude));
}else { }else {
costTotalTaxInclude.val(""); costTotalTaxInclude.val("");
} }

View File

@ -255,7 +255,7 @@
<td>成本</td> <td>成本</td>
<td>项目管理成本</td> <td>项目管理成本</td>
<td>项目管理成本</td> <td>项目管理成本</td>
<td><input name="costProjectManageTaxInclude" value="${estimateBean.costProjectManageTaxInclude}" required></td> <td><#--<input name="costProjectManageTaxInclude" value="${estimateBean.costProjectManageTaxInclude}" required>-->/</td>
<td><input name="costProjectManageTaxExclude" value="${estimateBean.costProjectManageTaxExclude}" required></td> <td><input name="costProjectManageTaxExclude" value="${estimateBean.costProjectManageTaxExclude}" required></td>
</tr> </tr>
<tr> <tr>