附件保存完成
parent
d0daa67ddf
commit
14de7c568d
|
@ -402,7 +402,8 @@
|
||||||
<input readonly value=""/>
|
<input readonly value=""/>
|
||||||
</#if>
|
</#if>
|
||||||
</td>
|
</td>
|
||||||
<th class="table-title" colspan="1"><span style="font-size: 15px">是否汇智中标:</span></th>
|
<th class="table-title" colspan="1"><span style="font-size: 15px">是否汇智中标:</span>
|
||||||
|
</th>
|
||||||
<td class="table-title" colspan="3">
|
<td class="table-title" colspan="3">
|
||||||
<#if project.signType??>
|
<#if project.signType??>
|
||||||
<#if (project.signType!) =1>
|
<#if (project.signType!) =1>
|
||||||
|
@ -635,7 +636,8 @@
|
||||||
value="${Utils.format(projectBudget.advancePeakAmountBudget)}"/>
|
value="${Utils.format(projectBudget.advancePeakAmountBudget)}"/>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr><tr class="am-text-nowrap">
|
</tr>
|
||||||
|
<tr class="am-text-nowrap">
|
||||||
<th class="table-title" colspan="1"><span
|
<th class="table-title" colspan="1"><span
|
||||||
style="font-size: 15px">合同金额:</span></th>
|
style="font-size: 15px">合同金额:</span></th>
|
||||||
<td class="table-title" colspan="1">
|
<td class="table-title" colspan="1">
|
||||||
|
@ -792,7 +794,8 @@
|
||||||
<input readonly value=""/>
|
<input readonly value=""/>
|
||||||
</#if>
|
</#if>
|
||||||
</td>
|
</td>
|
||||||
<th class="table-title" colspan="1"><span style="font-size: 15px">是否汇智中标:</span>
|
<th class="table-title" colspan="1"><span
|
||||||
|
style="font-size: 15px">是否汇智中标:</span>
|
||||||
</th>
|
</th>
|
||||||
<td class="table-title" colspan="3">
|
<td class="table-title" colspan="3">
|
||||||
<#if projectBudget.signTypeBudget??>
|
<#if projectBudget.signTypeBudget??>
|
||||||
|
@ -849,6 +852,17 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<button type="button" class="am-btn am-btn-default">
|
||||||
|
<label class="file-label" for="file_upload_icon"
|
||||||
|
style="margin: 0;cursor: pointer"><span
|
||||||
|
class="am-icon-download"></span>销售合同配置清单</label>
|
||||||
|
</button>
|
||||||
|
<span id="collaboratorUrl_check" style="margin-left: 5px;cursor: pointer"
|
||||||
|
onclick="downFile()" fileUrl="${projectBudget.incomeDetailAttr}">
|
||||||
|
${projectBudget.incomeDetailAttr}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
<div class="fixed-table has-actions">
|
<div class="fixed-table has-actions">
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main"
|
<table class="am-table am-table-bordered am-table-radius table-main"
|
||||||
style="padding:0;"
|
style="padding:0;"
|
||||||
|
@ -1100,6 +1114,17 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<button type="button" class="am-btn am-btn-default">
|
||||||
|
<label class="file-label" for="file_upload_icon"
|
||||||
|
style="margin: 0;cursor: pointer"><span
|
||||||
|
class="am-icon-download"></span>销售合同配置清单</label>
|
||||||
|
</button>
|
||||||
|
<span id="collaboratorUrl_check" style="margin-left: 5px;cursor: pointer"
|
||||||
|
onclick="downFile2()" fileUrl="${projectBudget.costDetailAttr}">
|
||||||
|
${projectBudget.costDetailAttr}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
<div class="fixed-table has-actions">
|
<div class="fixed-table has-actions">
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main"
|
<table class="am-table am-table-bordered am-table-radius table-main"
|
||||||
style="padding:0;"
|
style="padding:0;"
|
||||||
|
@ -1289,13 +1314,21 @@
|
||||||
</#list>
|
</#list>
|
||||||
</#if>
|
</#if>
|
||||||
<tr class="total-new" id="manageTotal">
|
<tr class="total-new" id="manageTotal">
|
||||||
<td width="60px"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage" value="总计" readonly></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></td>
|
||||||
<td></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><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></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>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -1344,27 +1377,33 @@
|
||||||
class="am-modal-prompt-input"
|
class="am-modal-prompt-input"
|
||||||
value="月份"
|
value="月份"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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 "
|
class="am-modal-prompt-input "
|
||||||
value="设备付款"
|
value="设备付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="工程付款"
|
value="工程付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="服务付款"
|
value="服务付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="其他付款"
|
value="其他付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="项目管理费用付款"
|
value="项目管理费用付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="保证金付款"
|
value="保证金付款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
|
@ -1372,11 +1411,13 @@
|
||||||
class="am-modal-prompt-input"
|
class="am-modal-prompt-input"
|
||||||
value="付款合计"
|
value="付款合计"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="销售收款"
|
value="销售收款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
<td style="display: block;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><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"
|
class="am-modal-prompt-input"
|
||||||
value="保证金收款"
|
value="保证金收款"
|
||||||
readonly></td>
|
readonly></td>
|
||||||
|
@ -1808,7 +1849,9 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>合计</td>
|
<td>合计</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><input type="text" class="number" name="incomeTotalTax" value="${(Utils.format(budgetBean.costExpropriationTaxExclude+budgetBean.costProjectManageTaxExclude,'0'))}" readonly title="此列累计"></td>
|
<td><input type="text" class="number" name="incomeTotalTax"
|
||||||
|
value="${(Utils.format(budgetBean.costExpropriationTaxExclude+budgetBean.costProjectManageTaxExclude,'0'))}"
|
||||||
|
readonly title="此列累计"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<#-- <tr>-->
|
<#-- <tr>-->
|
||||||
<#-- <td>公司管理费用</td>-->
|
<#-- <td>公司管理费用</td>-->
|
||||||
|
@ -4000,4 +4043,14 @@
|
||||||
$('.am-modal-prompt-input-budget-plan-income').css('display', 'block');
|
$('.am-modal-prompt-input-budget-plan-income').css('display', 'block');
|
||||||
$('.am-modal-prompt-input-budget-plan-cost').css('display', 'block');
|
$('.am-modal-prompt-input-budget-plan-cost').css('display', 'block');
|
||||||
};
|
};
|
||||||
|
function downFile() {
|
||||||
|
var url = $('#collaboratorUrl_check').attr('fileUrl')
|
||||||
|
if (url)
|
||||||
|
location.href = url
|
||||||
|
}
|
||||||
|
function downFile2() {
|
||||||
|
var url = $('#collaboratorUrl_check2').attr('fileUrl')
|
||||||
|
if (url)
|
||||||
|
location.href = url
|
||||||
|
}
|
||||||
</script>
|
</script>
|
|
@ -427,7 +427,7 @@
|
||||||
<div class="am-tab-panel am-fade am-in am-active" id="tab2">
|
<div class="am-tab-panel am-fade am-in am-active" id="tab2">
|
||||||
<input name="projectId" id="projectId" type="hidden" value="${projectBudget.projectId}"/>
|
<input name="projectId" id="projectId" type="hidden" value="${projectBudget.projectId}"/>
|
||||||
<input name="incomeDetailAttr" id="incomeDetailAttr" type="hidden"
|
<input name="incomeDetailAttr" id="incomeDetailAttr" type="hidden"
|
||||||
value="${projectBudget.costDetailAttr}"/>
|
value="${projectBudget.incomeDetailAttr}"/>
|
||||||
<input name="costDetailAttr" id="costDetailAttr" type="hidden"
|
<input name="costDetailAttr" id="costDetailAttr" type="hidden"
|
||||||
value="${projectBudget.costDetailAttr}"/>
|
value="${projectBudget.costDetailAttr}"/>
|
||||||
|
|
||||||
|
@ -892,7 +892,9 @@
|
||||||
</button>
|
</button>
|
||||||
<input id="file_upload_icon" type="file" accept=".xls,.xlsx" style="display:none;">
|
<input id="file_upload_icon" type="file" accept=".xls,.xlsx" style="display:none;">
|
||||||
<span id="collaboratorUrl_check" style="margin-left: 5px;cursor: pointer"
|
<span id="collaboratorUrl_check" style="margin-left: 5px;cursor: pointer"
|
||||||
onclick="downFile()" fileUrl="${projectBudget.incomeDetailAttr}">${projectBudget.incomeDetailAttr?projectBudget.incomeDetailAttr.split('/')[projectBudget.incomeDetailAttr.split('/').length-1]:''}</span>
|
onclick="downFile()" fileUrl="${projectBudget.incomeDetailAttr}">
|
||||||
|
${projectBudget.incomeDetailAttr}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="fixed-table has-actions" style="max-height: calc(100% - 110px)">
|
<div class="fixed-table has-actions" style="max-height: calc(100% - 110px)">
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main"
|
<table class="am-table am-table-bordered am-table-radius table-main"
|
||||||
|
@ -1107,12 +1109,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button type="button" class="am-btn am-btn-default">
|
<button type="button" class="am-btn am-btn-default">
|
||||||
<label class="file-label" for="file_upload_icon"
|
<label class="file-label" for="file_upload_icon2"
|
||||||
style="margin: 0;cursor: pointer"><span class="am-icon-upload"></span>销售合同配置清单</label>
|
style="margin: 0;cursor: pointer"><span class="am-icon-upload"></span>销售合同配置清单</label>
|
||||||
</button>
|
</button>
|
||||||
<input id="file_upload_icon2" type="file" accept=".xls,.xlsx" style="display:none;">
|
<input id="file_upload_icon2" type="file" accept=".xls,.xlsx" style="display:none;">
|
||||||
<span id="collaboratorUrl_check" style="margin-left: 5px;cursor: pointer"
|
<span id="collaboratorUrl_check2" style="margin-left: 5px;cursor: pointer"
|
||||||
onclick="downFile()" fileUrl="${projectBudget.costDetailAttr}">${projectBudget.costDetailAttr?projectBudget.costDetailAttr.split('/')[projectBudget.costDetailAttr.split('/').length-1]:''}</span>
|
onclick="downFile2()" fileUrl="${projectBudget.costDetailAttr}">
|
||||||
|
${projectBudget.costDetailAttr}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="fixed-table has-actions is-vertical-scroll" style="max-height: calc(100% - 110px)">
|
<div class="fixed-table has-actions is-vertical-scroll" style="max-height: calc(100% - 110px)">
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main"
|
<table class="am-table am-table-bordered am-table-radius table-main"
|
||||||
|
@ -2462,7 +2466,7 @@
|
||||||
done: function (e, data) {
|
done: function (e, data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
//设置服务器返回的url
|
//设置服务器返回的url
|
||||||
$("#collaboratorUrl_check").text(data.result.data.newName).attr('fileUrl', data.result.data.url);
|
$("#collaboratorUrl_check2").text(data.result.data.newName).attr('fileUrl', data.result.data.url);
|
||||||
$("#costDetailAttr").val(data.result.data.url)
|
$("#costDetailAttr").val(data.result.data.url)
|
||||||
|
|
||||||
// console.log("collboratorUrl: " + $("#collaboratorUrl").val());
|
// console.log("collboratorUrl: " + $("#collaboratorUrl").val());
|
||||||
|
@ -2568,6 +2572,12 @@
|
||||||
if (url)
|
if (url)
|
||||||
location.href = url
|
location.href = url
|
||||||
}
|
}
|
||||||
|
function downFile2() {
|
||||||
|
var url = $('#collaboratorUrl_check2').attr('fileUrl')
|
||||||
|
if (url)
|
||||||
|
location.href = url
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</@defaultLayout.layout>
|
</@defaultLayout.layout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue