第一期调整完成
parent
d34ae39d8d
commit
e45cbd63c1
|
@ -152,6 +152,7 @@ $(function () {
|
|||
var projectGrossProfitA=$('[name="projectGrossProfitA"]').val()
|
||||
if(Number(totalTotal)> (Number(projectGrossProfitA)*0.1) ){
|
||||
layuiAlert(`总金额合计不能超过毛利A(${projectGrossProfitA})的10%`);
|
||||
$("#saveDraft").attr('disabled', false)
|
||||
return
|
||||
}
|
||||
if(dataManage){
|
||||
|
@ -194,11 +195,18 @@ $(function () {
|
|||
// }
|
||||
// console.log(message);
|
||||
// 保存付款计划表
|
||||
var flagPay= verifyBudgetPay()
|
||||
if(!flagPay) {
|
||||
$("#saveDraft").attr('disabled', false)
|
||||
return;
|
||||
}
|
||||
var dataPay = collectData("am-modal-prompt-input-pay");
|
||||
dataPay = prepareAjaxDataVerify(dataPay, pay_DETAIL2, $("#id").val());
|
||||
if(dataPay){
|
||||
postAjax(base+"/project/budgetEditSaveBudgetPayPlan", dataPay);
|
||||
}
|
||||
|
||||
|
||||
var startTime = $("#startDate").val();
|
||||
var endTime = $("#endDate").val();
|
||||
if (startTime > endTime) {
|
||||
|
@ -324,6 +332,17 @@ $(function () {
|
|||
// layuiAlert(message);
|
||||
// return;
|
||||
// }
|
||||
// 保存付款计划表
|
||||
var flagPay= verifyBudgetPay()
|
||||
if(!flagPay) {
|
||||
$("#saveDraft").attr('disabled', false)
|
||||
return;
|
||||
}
|
||||
var dataPay = collectData("am-modal-prompt-input-pay");
|
||||
dataPay = prepareAjaxDataVerify(dataPay, pay_DETAIL2, $("#id").val());
|
||||
if(dataPay){
|
||||
postAjax(base+"/project/budgetEditSaveBudgetPayPlan", dataPay);
|
||||
}
|
||||
|
||||
var startTime = $("#startDate").val();
|
||||
var endTime = $("#endDate").val();
|
||||
|
|
|
@ -2,29 +2,29 @@
|
|||
* 一个采购成本详情的字段
|
||||
*/
|
||||
//COST_DETAIL_ARR=["type","category","name","unit","amount","price","taxRate","totalTaxInclude","totalTaxExclude"];
|
||||
pay_DETAIL2={
|
||||
"num":[false,"序号","string"],
|
||||
"payPoint":[false,"付款节点","string"],
|
||||
"payTime":[false,"付款时间","string"],
|
||||
"payProject":[false,"采购成本项目","number"],
|
||||
"payAmount":[false,"付款金额","number"],
|
||||
"supplier":[false,"供应商","string"],
|
||||
pay_DETAIL2 = {
|
||||
"num": [false, "序号", "string"],
|
||||
"payPoint": [false, "付款节点", "string"],
|
||||
"payTime": [false, "付款时间", "string"],
|
||||
"payProject": [false, "采购成本项目", "number"],
|
||||
"payAmount": [false, "付款金额", "number"],
|
||||
"supplier": [false, "供应商", "string"],
|
||||
};
|
||||
|
||||
pay_DETAIL={
|
||||
"num":[false,"序号","string"],
|
||||
"payPoint":[false,"付款节点","string"],
|
||||
"payTime":[false,"付款时间","string"],
|
||||
"payProject":[false,"采购成本项目","number"],
|
||||
"payAmount":[false,"付款金额","number"],
|
||||
"supplier":[false,"供应商","string"],
|
||||
pay_DETAIL = {
|
||||
"num": [false, "序号", "string"],
|
||||
"payPoint": [false, "付款节点", "string"],
|
||||
"payTime": [false, "付款时间", "string"],
|
||||
"payProject": [false, "采购成本项目", "number"],
|
||||
"payAmount": [false, "付款金额", "number"],
|
||||
"supplier": [false, "供应商", "string"],
|
||||
};
|
||||
/*
|
||||
[
|
||||
{"id":"1","name":"xxx1"},{"id":"2","name":"xxx2"}
|
||||
]
|
||||
*/
|
||||
SELECT_TYPE_CATEGORY_DATA=[];
|
||||
SELECT_TYPE_CATEGORY_DATA = [];
|
||||
/*{
|
||||
"1":[
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ SELECT_TYPE_CATEGORY_DATA=[];
|
|||
}
|
||||
]
|
||||
};*/
|
||||
SELECT_TYPE_CATEGORY_MAP_DATA={};
|
||||
SELECT_TYPE_CATEGORY_MAP_DATA = {};
|
||||
/*{
|
||||
"1":"1",
|
||||
"2":"1",
|
||||
|
@ -79,7 +79,7 @@ SELECT_TYPE_CATEGORY_MAP_DATA={};
|
|||
"8":"4"
|
||||
};
|
||||
*/
|
||||
SELECT_CATEGORY_TYPE_MAP_DATA={};
|
||||
SELECT_CATEGORY_TYPE_MAP_DATA = {};
|
||||
|
||||
/*$(function () {
|
||||
$("#cost-detail").click(function () {
|
||||
|
@ -119,11 +119,12 @@ $(function () {
|
|||
var data = collectData("am-modal-prompt-input-pay");
|
||||
//data = prepareAjaxData(data, COST_DETAIL_ARR, $("#id").val(),false);
|
||||
data = prepareAjaxDataVerify(data, pay_DETAIL2, $("#id").val());
|
||||
if(data){
|
||||
postAjax(base+"/project/budgetEditSaveBudgetPayPlan", data, updateCostData);
|
||||
var flag=verifyBudgetPay()
|
||||
if(!flag) return
|
||||
if (data) {
|
||||
postAjax(base + "/project/budgetEditSaveBudgetPayPlan", data, updateCostData);
|
||||
}
|
||||
});
|
||||
|
||||
$("#payAddBtn").click(function () {
|
||||
appendTrPay();
|
||||
$("#payAddBtn").blur();
|
||||
|
@ -133,7 +134,7 @@ $(function () {
|
|||
bindDeleteBtnPay();
|
||||
|
||||
//初始化大类和类别的数据
|
||||
getAjax(base+"/procurement/type/map", null, initTypeCategory);
|
||||
getAjax(base + "/procurement/type/map", null, initTypeCategory);
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -143,25 +144,25 @@ function appendTrPay() {
|
|||
//console.log(SELECT_TYPE_CATEGORY_DATA);
|
||||
var options = '<option value="xxxx" disabled selected>--请选择--</option>\r\n';
|
||||
SELECT_TYPE_CATEGORY_DATA.forEach(function (e) {
|
||||
options+='<option value="'+e.id+'">'+e.name+'</option>\r\n';
|
||||
options += '<option value="' + e.id + '">' + e.name + '</option>\r\n';
|
||||
});
|
||||
|
||||
var template = '<tr>' +
|
||||
'<td width="60px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay input-budget-num" readonly></td>' +
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay am-modal-prompt-input-pay-point" ></td>'+
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay input-changeable-pay-time" autocomplete="off" data-am-datepicker></td>'+
|
||||
'<td width="100px">'+
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay am-modal-prompt-input-pay-point" ></td>' +
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay input-changeable-pay-time" autocomplete="off" data-am-datepicker></td>' +
|
||||
'<td width="100px">' +
|
||||
'<select style="float: left;" class="am-modal-prompt-input am-modal-prompt-input-pay am-modal-prompt-input-pay-project">\n' +
|
||||
'<option value="xxxx" disabled selected>--请选择--</option>'+
|
||||
'<option value="1">设备成本</option>'+
|
||||
'<option value="2">工程成本</option>'+
|
||||
'<option value="3">服务成本</option>'+
|
||||
'<option value="4">其他成本</option>'+
|
||||
'</select>'+
|
||||
'</td>'+
|
||||
'<option value="xxxx" disabled selected>--请选择--</option>' +
|
||||
'<option value="1">设备成本</option>' +
|
||||
'<option value="2">工程成本</option>' +
|
||||
'<option value="3">服务成本</option>' +
|
||||
'<option value="4">其他成本</option>' +
|
||||
'</select>' +
|
||||
'</td>' +
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay am-modal-prompt-input-pay-amount" ></td>' +
|
||||
'<td width="100px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-pay am-modal-prompt-input-pay-supplier" ></td>' +
|
||||
'<td width="60px"><button type="button" style="margin-top: 10px" class="am-btn am-btn-danger am-btn-xs am-round am-modal-line-delete"><span class="am-icon-minus"></span></button></td>'+
|
||||
'<td width="60px"><button type="button" style="margin-top: 10px" class="am-btn am-btn-danger am-btn-xs am-round am-modal-line-delete"><span class="am-icon-minus"></span></button></td>' +
|
||||
|
||||
'</tr>';
|
||||
|
||||
|
@ -198,7 +199,7 @@ function bindDeleteBtnPay() {
|
|||
$(this).parent().parent().remove();
|
||||
bindNum();
|
||||
updateTotal("input-changeable-pay-amount", "input-changeable-pay-amount-total");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -231,22 +232,22 @@ function updateCostData(data, returnData) {
|
|||
var costTaxRates = "";
|
||||
var set = new Set();
|
||||
details.forEach(function (t, number, ts) {
|
||||
if(t["type"] == "1"){
|
||||
if (t["type"] == "1") {
|
||||
//设备类
|
||||
deviceTaxInclude += f2(t["totalTaxInclude"]);
|
||||
deviceTaxExclude += f2(t["totalTaxExclude"]);
|
||||
deviceTax += f2(t["totalTax"]);
|
||||
}else if(t["type"] == "2"){
|
||||
} else if (t["type"] == "2") {
|
||||
//施工类
|
||||
buildTaxInclude += f2(t["totalTaxInclude"]);
|
||||
buildTaxExclude += f2(t["totalTaxExclude"]);
|
||||
buildTax += f2(t["totalTax"]);
|
||||
}else if(t["type"] == "3"){
|
||||
} else if (t["type"] == "3") {
|
||||
//服务类
|
||||
serviceTaxInclude += f2(t["totalTaxInclude"]);
|
||||
serviceTaxExclude += f2(t["totalTaxExclude"]);
|
||||
serviceTax += f2(t["totalTax"]);
|
||||
}else if(t["type"] == "4"){
|
||||
} else if (t["type"] == "4") {
|
||||
//其他类
|
||||
otherTaxInclude += f2(t["totalTaxInclude"]);
|
||||
otherTaxExclude += f2(t["totalTaxExclude"]);
|
||||
|
@ -273,10 +274,10 @@ function updateCostData(data, returnData) {
|
|||
|
||||
//资金计划表中的
|
||||
$(".input-total-title-device-cost-budget-plan").val(f2Fixed(deviceTaxInclude));
|
||||
$(".input-total-title-engineer-cost-budget-plan").val(f2Fixed(f2(serviceTaxInclude)+f2(buildTaxInclude)+f2(otherTaxInclude)));
|
||||
$(".input-total-title-total-cost-budget-plan").val(f2Fixed(f2(deviceTaxInclude)+f2(buildTaxInclude)+f2(serviceTaxInclude)+f2(otherTaxInclude)
|
||||
+f2($(".input-total-title-project-manage-cost-budget-plan").val())
|
||||
+f2($(".input-total-title-earnest-money-cost-budget-plan").val())));
|
||||
$(".input-total-title-engineer-cost-budget-plan").val(f2Fixed(f2(serviceTaxInclude) + f2(buildTaxInclude) + f2(otherTaxInclude)));
|
||||
$(".input-total-title-total-cost-budget-plan").val(f2Fixed(f2(deviceTaxInclude) + f2(buildTaxInclude) + f2(serviceTaxInclude) + f2(otherTaxInclude)
|
||||
+ f2($(".input-total-title-project-manage-cost-budget-plan").val())
|
||||
+ f2($(".input-total-title-earnest-money-cost-budget-plan").val())));
|
||||
|
||||
/* var costOtherOtherTaxInclude = f2($("input[name='costOtherOtherTaxInclude']").val());
|
||||
var costOtherOtherTaxExclude = f2($("input[name='costOtherOtherTaxExclude']").val());
|
||||
|
@ -316,20 +317,20 @@ function initTypeCategory(params, data) {
|
|||
var temp = [];
|
||||
map[t].forEach(function (g) {
|
||||
temp.push({
|
||||
name:g.name,
|
||||
id:g.id+""
|
||||
name: g.name,
|
||||
id: g.id + ""
|
||||
});
|
||||
});
|
||||
SELECT_TYPE_CATEGORY_MAP_DATA[t]= temp;
|
||||
SELECT_TYPE_CATEGORY_MAP_DATA[t] = temp;
|
||||
});
|
||||
|
||||
var procurementTypes = d.procurementTypes;
|
||||
procurementTypes.forEach(function (e) {
|
||||
SELECT_TYPE_CATEGORY_DATA.push({
|
||||
id:e.id+"",
|
||||
name:e.name
|
||||
id: e.id + "",
|
||||
name: e.name
|
||||
});
|
||||
SELECT_CATEGORY_TYPE_MAP_DATA[e.id]=e.type;
|
||||
SELECT_CATEGORY_TYPE_MAP_DATA[e.id] = e.type;
|
||||
});
|
||||
//--请选择--的映射
|
||||
//SELECT_CATEGORY_TYPE_MAP_DATA["xxxx"]="xxxx";
|
||||
|
@ -338,3 +339,19 @@ function initTypeCategory(params, data) {
|
|||
// console.log(SELECT_TYPE_CATEGORY_DATA);
|
||||
// console.log(SELECT_CATEGORY_TYPE_MAP_DATA);
|
||||
}
|
||||
|
||||
//校验付款明细表
|
||||
function verifyBudgetPay() {
|
||||
var timeValue = $(".input-changeable-pay-time");
|
||||
var flag=true
|
||||
var timeFlag = true
|
||||
timeValue.each((index, element) => {
|
||||
if ($(element).val().length != 10)
|
||||
timeFlag = false
|
||||
})
|
||||
if (timeFlag == false) {
|
||||
flag=false
|
||||
layuiAlert('付款计划表中付款时间为必填')
|
||||
}
|
||||
return flag
|
||||
}
|
||||
|
|
|
@ -1051,9 +1051,3 @@ function updateCashFlow() {
|
|||
$("input[name='financingCapitalCashflow']").val(f2Fixed(m));
|
||||
$("input[name='netIncreaseMonetaryFunds']").val(f2Fixed(n));
|
||||
}
|
||||
//校验付款明细表
|
||||
function verifyBudgetPay(){
|
||||
var timeValue = classVal("input-changeable-pay-time");
|
||||
|
||||
|
||||
}
|
|
@ -954,7 +954,7 @@
|
|||
<#list incomeDetails as incomeDetail>
|
||||
<tr>
|
||||
<td>${(incomeDetail_index+1)!}</td>
|
||||
<td>
|
||||
<td width="100px">
|
||||
<#if incomeDetail.type ==1 >
|
||||
设备类
|
||||
<#elseif incomeDetail.type ==2>
|
||||
|
@ -992,7 +992,7 @@
|
|||
</#if>
|
||||
<tr class="total-new" id="incomeTotal">
|
||||
<td>总计</td>
|
||||
<td></td>
|
||||
<td width="100px"></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
|
@ -1094,7 +1094,6 @@
|
|||
value="${Utils.format(budgetPayPlanTotal,'0')}"
|
||||
readonly></td>
|
||||
<td width="100px"></td>
|
||||
<td width="60px"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1193,22 +1192,13 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>费用项目</th>
|
||||
<th>采购类别</th>
|
||||
<th>名称</th>
|
||||
<th>单位</th>
|
||||
<th>数量</th>
|
||||
<th>单价</th>
|
||||
<th>采购成本项目</th>
|
||||
<th>产品大类</th>
|
||||
<th>税率(%)</th>
|
||||
<th>含税总金额(元)</th>
|
||||
<th>不含税金额(元)</th>
|
||||
<th>税金(元)</th>
|
||||
<th>签约方</th>
|
||||
<th>是否垫资</th>
|
||||
<th>预估垫资金额(元)</th>
|
||||
<th>支出时间</th>
|
||||
<th>支出金额(元)</th>
|
||||
<th>付款方式</th>
|
||||
<th>供应商</th>
|
||||
<th>备注</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -1218,17 +1208,6 @@
|
|||
<tr>
|
||||
<td>${(costDetail_index+1)!}</td>
|
||||
<td>
|
||||
<#--<select style="width: auto" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost am-modal-prompt-input-cost-type">
|
||||
<option value="1" <#if costDetail.type == 1>selected</#if>>设备
|
||||
</option>
|
||||
<option value="2" <#if costDetail.type == 2>selected</#if>>施工
|
||||
</option>
|
||||
<option value="3" <#if costDetail.type == 3>selected</#if>>服务
|
||||
</option>
|
||||
<option value="4" <#if costDetail.type == 4>selected</#if>>其他
|
||||
</option>
|
||||
</select>-->
|
||||
<#if costDetail.type ==1 >
|
||||
设备
|
||||
<#elseif costDetail.type ==2>
|
||||
|
@ -1244,20 +1223,7 @@
|
|||
<#if costDetail.category == procurementType.id>${procurementType.name}</#if>
|
||||
</#list>
|
||||
</td>
|
||||
<td><input type="text" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${costDetail.name!}"></td>
|
||||
<td><input type="text" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${costDetail.unit!}"></td>
|
||||
<td><input type="text" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-amount"
|
||||
value="${Utils.format(costDetail.amount,'0.00')}">
|
||||
</td>
|
||||
<td><input type="text" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-price"
|
||||
value="${Utils.format2(costDetail.price,'0.00')}">
|
||||
</td>
|
||||
|
||||
<td><input type="text" min="0.00" max="99.99" step="0.01"
|
||||
readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-tax-rate"
|
||||
|
@ -1282,41 +1248,6 @@
|
|||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${costDetail.contractParty!}" readonly>
|
||||
</td>
|
||||
<td>
|
||||
<#--<select style="width: auto" readonly
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost am-modal-prompt-input-cost-type">
|
||||
<option value="1" <#if costDetail.type == 1>selected</#if>>设备
|
||||
</option>
|
||||
<option value="2" <#if costDetail.type == 2>selected</#if>>施工
|
||||
</option>
|
||||
<option value="3" <#if costDetail.type == 3>selected</#if>>服务
|
||||
</option>
|
||||
<option value="4" <#if costDetail.type == 4>selected</#if>>其他
|
||||
</option>
|
||||
</select>-->
|
||||
<#if costDetail.isUnderwritten ==0 >
|
||||
|
||||
<#elseif costDetail.isUnderwritten ==1>
|
||||
是
|
||||
<#elseif costDetail.isUnderwritten ==2>
|
||||
否
|
||||
</#if>
|
||||
</td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-underwritten-amount-cost"
|
||||
value="${Utils.format(costDetail.underwrittenAmount,'0')}"
|
||||
readonly></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${(costDetail.payTime?string("yyyy-MM-dd"))!}"
|
||||
readonly></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-pay-amount-cost"
|
||||
value="${Utils.format(costDetail.payAmount,'0')}"
|
||||
readonly></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${costDetail.payWay!}" readonly></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost"
|
||||
value="${costDetail.remark!}" readonly></td>
|
||||
|
@ -1333,13 +1264,6 @@
|
|||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-amount-cost"
|
||||
value="${Utils.format(costTotalAmount,'0.00')}"
|
||||
readonly <#--onkeyup="integerNumber(this)"-->></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-tax-include-cost"
|
||||
value="${Utils.format(budgetBean.costPurchaseTotalTaxInclude,'0.00')}"
|
||||
|
@ -1352,17 +1276,7 @@
|
|||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-tax-cost"
|
||||
value="${Utils.format(budgetBean.costPurchaseTotalTax,'0.00')}"
|
||||
readonly></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-underwritten-amount-cost"
|
||||
value="${Utils.format(costUnderwrittenAmountTotal,'0.00')}"
|
||||
readonly></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-pay-amount-cost"
|
||||
value="${Utils.format(costPayAmountTotal,'0.00')}"
|
||||
readonly></td>
|
||||
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -1394,7 +1308,7 @@
|
|||
id="costProjectManageTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th width="60px">序号</th>
|
||||
<th>费用类别</th>
|
||||
<th>业务项目</th>
|
||||
<th>项目明细</th>
|
||||
|
@ -1413,7 +1327,7 @@
|
|||
<#list costProjectManageDetails as costProjectManageDetail>
|
||||
<tr>
|
||||
<td width="60px">${(costProjectManageDetail_index+1)!}</td>
|
||||
<td width="120px">
|
||||
<td>
|
||||
<#if costProjectManageDetail.type ==1 >
|
||||
人工成本
|
||||
<#elseif costProjectManageDetail.type ==2>
|
||||
|
@ -1460,29 +1374,16 @@
|
|||
</#list>
|
||||
</#if>
|
||||
<tr class="total-new" id="manageTotal">
|
||||
<td width="60px">总计</td>
|
||||
<td width="120px"></td>
|
||||
<td width="60px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage" value="总计" readonly></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-amount-project-manage"
|
||||
value="${Utils.format(costProjectManageTotalAmount,'0.00')}"
|
||||
readonly <#--onkeyup="integerNumber(this)"-->></td>
|
||||
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-total-project-manage" value="${Utils.format(budgetBean.costProjectManageTaxInclude,'0')}" readonly></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-total-project-manage"
|
||||
value="${Utils.format(budgetBean.costProjectManageTaxInclude,'0.00')}"
|
||||
readonly></td>
|
||||
<td></td>
|
||||
<td><input type="text"
|
||||
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-pay-amount-project-manage"
|
||||
value="${Utils.format(managePayAmountTotal,'0.00')}"
|
||||
readonly></td>
|
||||
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-pay-amount-project-manage" value="${Utils.format(managePayAmountTotal,'0.00')}" readonly></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<#--<td></td>-->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1528,27 +1429,27 @@
|
|||
class="am-modal-prompt-input"
|
||||
value="月份"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input "
|
||||
value="设备付款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="工程付款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="服务付款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="其他付款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="项目管理费用付款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="保证金付款"
|
||||
readonly></td>
|
||||
|
@ -1556,11 +1457,11 @@
|
|||
class="am-modal-prompt-input"
|
||||
value="付款合计"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="销售收款"
|
||||
readonly></td>
|
||||
<td style="display: block;border-top: 1px solid #ddd;"><input type="text"
|
||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
|
||||
class="am-modal-prompt-input"
|
||||
value="保证金收款"
|
||||
readonly></td>
|
||||
|
@ -1974,6 +1875,13 @@
|
|||
<td>费用项目</td>
|
||||
<td>不含税金额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>项目管理费用</td>
|
||||
<td><input type="text" class="number" name="costProjectManageTaxExclude"
|
||||
value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}"
|
||||
readonly title="项目管理成本总额不含税"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>财务费用</td>
|
||||
<td>资金占用成本</td>
|
||||
|
@ -1981,12 +1889,11 @@
|
|||
value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0.00')}"
|
||||
required readonly title="资金占用成本不含税总额"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>项目管理费用</td>
|
||||
<td><input type="text" class="number" name="costProjectManageTaxExclude"
|
||||
value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}"
|
||||
readonly title="项目管理成本总额不含税"></td>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td><input type="text" class="number" name="incomeTotalTax" value="${(Utils.format(budgetBean.costExpropriationTaxExclude+budgetBean.costProjectManageTaxExclude,'0'))}" readonly title="此列累计"></td>
|
||||
</tr>
|
||||
<#-- <tr>-->
|
||||
<#-- <td>公司管理费用</td>-->
|
||||
|
@ -2017,7 +1924,7 @@
|
|||
<td><input type="text" class="number" name="projectGrossProfitA"
|
||||
value="${Utils.format(budgetBean.projectGrossProfitA,'0')}" readonly
|
||||
title="收入总计(不含税)-成本总计(不含税)"></td>
|
||||
<td>毛利A=收入明细表金额总计(不含税)-采购成本明细表金额总计(不含税)</td>
|
||||
<td>项目毛利A=收入合计(不含税)-采购成本合计(不含税)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目毛利B(元)</td>
|
||||
|
@ -4172,6 +4079,7 @@
|
|||
$('.am-modal-prompt-input-budget-plan-income').css('display', 'none');
|
||||
$('.am-modal-prompt-input-budget-plan-cost').css('display', 'none');
|
||||
};
|
||||
closeDetail()
|
||||
|
||||
var openDetail = function () {
|
||||
$('.am-modal-prompt-input-budget-plan-income').css('display', 'block');
|
||||
|
|
|
@ -1054,9 +1054,6 @@
|
|||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<#-- <td></td>-->
|
||||
<#-- <td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-amount-project-manage" value="${Utils.format(costProjectManageTotalAmount,'0')}" readonly <#–onkeyup="integerNumber(this)"–>></td>-->
|
||||
<#-- <td></td>-->
|
||||
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-total-project-manage" value="${Utils.format(budgetBean.costProjectManageTaxInclude,'0')}" readonly></td>
|
||||
<td></td>
|
||||
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-pay-amount-project-manage" value="${Utils.format(managePayAmountTotal,'0.00')}" readonly></td>
|
||||
|
|
Loading…
Reference in New Issue