diff --git a/src/main/resources/static/assets/js/project_budget.js b/src/main/resources/static/assets/js/project_budget.js
index efbb258..3820852 100644
--- a/src/main/resources/static/assets/js/project_budget.js
+++ b/src/main/resources/static/assets/js/project_budget.js
@@ -411,23 +411,8 @@ function checkIfFillIn() {
return;
}
- if (startTime.length <= 0) {
- window.confirm('项目计划开始时间不能为空');
- check = 1;
- return;
- }
- if (endTime.length <= 0) {
- window.confirm('项目计划结束时间不能为空');
- check = 1;
- return;
- }
- if (startTime > endTime) {
- window.confirm('开始日期应早于结束日期');
- check = 1;
- return;
- }
// if (projectNo.length <= 0) {
// window.confirm('项目编号不能为空');
@@ -442,17 +427,8 @@ function checkIfFillIn() {
// return;
// }
- if (cooperateType == 1 && (collaborator == undefined || collaborator.length <= 0 )) {
- window.confirm('合作对象不能为空');
- check = 1;
- return;
- }
- if (cooperateType == 1 && (collaboratorUrl == undefined || collaboratorUrl.length <= 0 )) {
- window.confirm('合作对象附件不能为空');
- check = 1;
- return;
- }
+
if (underwrittenMode > 2 && (advanceInterestAmount == undefined || advanceInterestAmount.length <= 0)) {
@@ -646,6 +622,7 @@ function arr2ObjectVerifyCheck(line, arr, detailPropertyArr, detailProperty, s)
function collectData(className) {
var a = [];
$("." + className).each(function (t) {
+ if(!$(this).is(':hidden'))
a.push($(this).val());
});
return a;
diff --git a/src/main/resources/static/assets/js/project_budget_cost_project_manage.js b/src/main/resources/static/assets/js/project_budget_cost_project_manage.js
index 565570b..209dd8a 100644
--- a/src/main/resources/static/assets/js/project_budget_cost_project_manage.js
+++ b/src/main/resources/static/assets/js/project_budget_cost_project_manage.js
@@ -5,31 +5,27 @@
COST_PROJECT_MANAGE_DETAIL2={
"num":[false,"序号","string"],
"type":[false,"费用类别","string"],
- "name1":[false,"业务项目","string"],
+ "name":[false,"业务项目","string"],
"detail":[false,"项目明细","string"],
- "detail1":[false,"项目明细","string"],
"total":[false,"总金额","number"],
"payTime":[false,"支出时间","string"],
"payAmount":[false,"支出金额","number"],
"predictMethod":[false,"预估计算方法","string"],
"predictWhy":[false,"预估依据","string"],
"remark":[false,"备注","string"],
- "deletable":[false,"是否可删除","string"]
};
COST_PROJECT_MANAGE_DETAIL={
"num":[false,"序号","string"],
"type":[false,"费用类别","string"],
- "name1":[false,"业务项目","string"],
+ "name":[false,"业务项目","string"],
"detail":[false,"项目明细","string"],
- "detail1":[false,"项目明细","string"],
"total":[false,"总金额","number"],
"payTime":[false,"支出时间","string"],
"payAmount":[false,"支出金额","number"],
"predictMethod":[false,"预估计算方法","string"],
"predictWhy":[false,"预估依据","string"],
"remark":[false,"备注","string"],
- "deletable":[false,"是否可删除","string"]
};
SELECT_TYPE_CATEGORY_MAP_DATA_MANAGER={};
diff --git a/src/main/resources/static/assets/js/project_budget_income.js b/src/main/resources/static/assets/js/project_budget_income.js
index 06f8767..0e8601b 100644
--- a/src/main/resources/static/assets/js/project_budget_income.js
+++ b/src/main/resources/static/assets/js/project_budget_income.js
@@ -78,6 +78,7 @@ $(function () {
appendTrIncome();
$("#incomeAddBtn").blur();
});
+ bindTypeSelectChangeIncome()
});
@@ -186,6 +187,7 @@ function appendTrIncome() {
bindNum();
bindChangeableInput();
bindIncomeTotal();
+ bindTypeSelectChangeIncome()
//绑定数字输入框保留两位小数
bindNumberInput();
@@ -239,4 +241,20 @@ function bindIncomeTotal() {
updateTotal("input-changeable-total-tax-income", "input-changeable-total-total-tax-income");
});
+}
+function bindTypeSelectChangeIncome() {
+ //大类变化联动类别
+ $(".input-changeable-tax-rate-income-select").on('change',function () {
+ var nameSelect = $(this).parent().parent().find(".input-changeable-tax-rate-income-select");
+ var nameInput = $(this).parent().parent().find(".input-changeable-tax-rate-income-name");
+ var type = $(this).val();
+ if(type == '自定义') {
+ nameSelect.attr("style", "display:none");
+ nameInput.attr("type", "text");
+ } else{
+ nameSelect.attr("style", "display:block");
+ nameInput.attr("type", "hidden");
+ }
+ });
+
}
\ No newline at end of file
diff --git a/src/main/resources/templates/admin/project_approve.ftl b/src/main/resources/templates/admin/project_approve.ftl
index 3821a01..6add9bd 100644
--- a/src/main/resources/templates/admin/project_approve.ftl
+++ b/src/main/resources/templates/admin/project_approve.ftl
@@ -249,16 +249,6 @@
#if>
-
项目计划开始时间: |
-
- |
- 项目计划结束时间: |
-
- |
垫资模式: |
@@ -288,36 +278,6 @@
#if>
-
- 合作类型: |
- colspan="1" <#else> colspan="5" #if> >
- <#if project.cooperateType??>
- <#if (project.cooperateType) =1>
-
- <#elseif (project.cooperateType) =2>
-
- #if>
- <#else>
-
- #if>
- |
- <#if project.cooperateType! == 1>
- 合作对象:
- |
-
- <#if project.collaboratorUrl?? && project.collaboratorUrl != "">
-
- <#else>
-
- #if>
- |
- #if>
-
合同金额: |
|
- 项目解决方案:
- |
-
- <#if project.resolvePlan??>
- <#if (project.resolvePlan!) =1>
-
- <#elseif (project.resolvePlan!) =2>
-
- <#elseif (project.resolvePlan!) =3>
-
- #if>
- <#else>
-
- #if>
- |
+<#-- 项目解决方案:-->
+<#-- | -->
+<#-- -->
+<#-- <#if project.resolvePlan??>-->
+<#-- <#if (project.resolvePlan!) =1>-->
+<#-- -->
+<#-- <#elseif (project.resolvePlan!) =2>-->
+<#-- -->
+<#-- <#elseif (project.resolvePlan!) =3>-->
+<#-- -->
+<#-- #if>-->
+<#-- <#else>-->
+<#-- -->
+<#-- #if>-->
+<#-- | -->
客户名称: |
- |
+ |
最终用户名称:
|
- |
@@ -440,7 +400,7 @@
#if>
- 直签: |
+ 是否汇智中标: |
<#if project.signType??>
<#if (project.signType!) =1>
@@ -542,15 +502,15 @@
>${project.stageRemark!}
|
-
- 下一步计划:
- |
-
-
- |
-
+<#-- -->
+<#-- 下一步计划:-->
+<#-- | -->
+<#-- -->
+<#-- -->
+<#-- | -->
+<#--
-->
<#-- 项目预算信息 展示内容 -->
@@ -634,18 +594,7 @@
#if>
- 项目计划开始时间: |
-
-
- |
- 项目计划结束时间: |
-
-
- |
+
- |
-
- 合作类型: |
-
- <#if projectBudget.cooperateTypeBudget??>
- <#if (projectBudget.cooperateTypeBudget) =1>
-
- <#elseif (projectBudget.cooperateTypeBudget) =2>
-
- #if>
- <#else>
-
- #if>
- |
-
- hidden#if> >合作对象: |
- hidden#if> >
- <#if projectBudget.collaboratorUrlBudget?? && projectBudget.collaboratorUrlBudget != "">
-
- <#else>
-
- #if>
- |
-
- hidden#if>> |
-
-
-
+
合同金额: |
@@ -804,29 +717,29 @@
|
- 项目解决方案: |
-
- <#if projectBudget.resolvePlanBudget??>
- <#if (projectBudget.resolvePlanBudget!) =1>
-
- <#elseif (projectBudget.resolvePlanBudget!) =2>
-
- <#elseif (projectBudget.resolvePlanBudget!) =3>
-
- #if>
- <#else>
-
- #if>
- |
+<#--
+<#-- style="font-size: 15px">项目解决方案: | -->
+<#-- -->
+<#-- <#if projectBudget.resolvePlanBudget??>-->
+<#-- <#if (projectBudget.resolvePlanBudget!) =1>-->
+<#-- -->
+<#-- <#elseif (projectBudget.resolvePlanBudget!) =2>-->
+<#-- -->
+<#-- <#elseif (projectBudget.resolvePlanBudget!) =3>-->
+<#-- -->
+<#-- #if>-->
+<#-- <#else>-->
+<#-- -->
+<#-- #if>-->
+<#-- | -->
客户名称: |
-
+ |
|
最终用户名称: |
-
+ |
|
@@ -877,7 +790,7 @@
#if>
- 直签:
+ | 是否汇智中标:
|
<#if projectBudget.signTypeBudget??>
@@ -1756,16 +1669,16 @@
style="padding:0;">
|
- 类别 |
- 费用 |
+<#-- 类别 | -->
+<#-- 费用 | -->
费用项目 |
含税金额(元) |
不含税金额(元) |
税金(元) |
- 成本 |
- 采购成本 |
+<#-- 成本 | -->
+<#-- 采购成本 | -->
设备 |
|
- 成本 |
- 采购成本 |
+<#-- 成本 | -->
+<#-- 采购成本 | -->
工程 |
|
- 成本 |
- 采购成本 |
+<#-- 成本 | -->
+<#-- 采购成本 | -->
服务 |
|
- 成本 |
- 采购成本 |
+<#-- 成本 | -->
+<#-- 采购成本 | -->
其他 |
<#-- readonly required title=""> | -->
<#--
-->
-
- 成本 |
- 其他 |
- ${project.otherName!} |
- |
- |
- |
-
+<#-- -->
+<#-- 成本 | -->
+<#-- 其他 | -->
+<#-- ${project.otherName!} | -->
+<#--
+<#-- value="${Utils.format(budgetBean.costOtherOtherTaxInclude,'0.00')}"-->
+<#-- required readonly title="其他含税总额(填入)"> | -->
+<#--
+<#-- value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0.00')}"-->
+<#-- required readonly title="其他不含税总额(填入)"> | -->
+<#--
+<#-- value="${Utils.format(budgetBean.costOtherOtherTax,'0.00')}"-->
+<#-- required readonly title="其他税金"> | -->
+<#--
-->
合计 |
|
@@ -1946,119 +1859,119 @@
- 现金流量表
- <#--资金计划表-->
-
+<#-- 现金流量表-->
+<#-- <#–资金计划表–>-->
+<#-- -->
+<#-- -->
+<#-- -->
+<#-- 类别 | -->
+<#-- 金额(元) | -->
+<#-- 计算方式 | -->
+<#--
-->
+<#-- -->
+<#-- 销售商品、提供劳务收到的现金<#–a–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly-->
+<#-- required title="取自资金计划表(销售收款)"> | -->
+<#-- 从资金计划表查(销售收款) | -->
+<#--
-->
+<#-- -->
+<#-- 收到的税费返还<#–b–> | -->
+<#-- /
+<#-- value="${Utils.format(cashFlowBean.taxReturn,'0')}" readonly-->
+<#-- required> | -->
+<#-- / | -->
+<#--
-->
+<#-- -->
+<#-- 收到其他与经营活动有关的现金<#–c–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly-->
+<#-- required title="取自资金计划表(保证金收款)"> | -->
+<#-- 从资金计划表查(保证金收款) | -->
+<#--
-->
+<#-- -->
+<#-- 购买商品、接受劳务支付的现金<#–d–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly-->
+<#-- required title="取自资金计划表(设备支出+工程支出)"> | -->
+<#-- 从资金计划表查(设备支出+工程支出) | -->
+<#--
-->
+<#-- -->
+<#-- 支付的各项税费<#–e–> | -->
+<#-- /
+<#-- value="${Utils.format(cashFlowBean.taxCost,'0')}" readonly required>-->
+<#-- | -->
+<#-- / | -->
+<#--
-->
+<#-- -->
+<#-- 支付其他与经营活动有关的现金<#–f–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly-->
+<#-- required title="取自资金计划表(经营性开支+保证金支出+资金利息)"> | -->
+<#-- 从资金计划表查(经营性开支+保证金支出+资金利息) | -->
+<#--
-->
+<#-- -->
+<#-- 经营活动产生的现金流量净额<#–g–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.netCashFlow,'0')}" readonly-->
+<#-- required title="g=a+c+b-d-f-e"> | -->
+<#-- -->
+<#-- 销售商品、提供劳务收到的现金+收到的税费返还+收到其他与经营活动有关的现金-购买商品、接受劳务支付的现金-支付的各项税费-支付其他与经营活动有关的现金-->
+<#-- | -->
+<#--
-->
+<#-- -->
+<#-- 投资活动现金流入<#–h–> | -->
+<#-- /
+<#-- value="${Utils.format(cashFlowBean.cashInflowFromInvestingActivities,'0')}"-->
+<#-- readonly required> | -->
+<#-- / | -->
+<#--
-->
+<#-- -->
+<#-- 投资活动现金流出<#–i–> | -->
+<#-- /
+<#-- value="${Utils.format(cashFlowBean.cashOutflowFromInvestingActivities,'0')}"-->
+<#-- readonly required> | -->
+<#-- / | -->
+<#--
-->
+<#-- -->
+<#-- 投资活动产生的现金流量净额<#–j–> | -->
+<#-- /
+<#-- value="${Utils.format(cashFlowBean.netCashFromInvestingActivities,'0')}"-->
+<#-- readonly required> | -->
+<#-- / | -->
+<#--
-->
+<#-- -->
+<#-- 融资资金流入<#–k–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}"-->
+<#-- readonly required title="从资金计划表查(垫资计划)"> | -->
+<#-- 从资金计划表查(垫资计划) | -->
+<#--
-->
+<#-- -->
+<#-- 还款资金流出<#–l–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}"-->
+<#-- readonly required title="从资金计划表查(还款计划)"> | -->
+<#-- 从资金计划表查(还款计划) | -->
+<#--
-->
+<#-- -->
+<#-- 筹资活动产生的现金流量净额<#–m–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.financingCapitalCashflow,'0')}"-->
+<#-- readonly required title="m=k-l"> | -->
+<#-- 融资资金流入-还款资金流出 | -->
+<#--
-->
+<#-- -->
+<#-- 货币资金净增加额<#–n–> | -->
+<#--
+<#-- value="${Utils.format(cashFlowBean.netIncreaseMonetaryFunds,'0')}"-->
+<#-- readonly required title="n=g+j+m"> | -->
+<#-- -->
+<#-- 经营活动产生的现金流量净额+投资活动产生的现金流量净额+筹资活动产生的现金流量净额-->
+<#-- | -->
+<#--
-->
+<#-- -->
+<#--
-->
diff --git a/src/main/resources/templates/admin/project_budget_edit.ftl b/src/main/resources/templates/admin/project_budget_edit.ftl
index 0a004bd..6ce900e 100644
--- a/src/main/resources/templates/admin/project_budget_edit.ftl
+++ b/src/main/resources/templates/admin/project_budget_edit.ftl
@@ -3,901 +3,1087 @@
<#import "../common/defaultLayout.ftl" as defaultLayout>
<@defaultLayout.layout>
-
+ .project_budget .page-content {
+ height: calc(100% - 60px);
+ overflow: hidden;
+ }
-
-
+ .table-title {
+ text-align: left;
+ }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+