From b31e5bc0ff4e9b214762068edaee95899abeda18 Mon Sep 17 00:00:00 2001 From: OathK1per Date: Wed, 7 Sep 2022 12:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=AE=A1=E6=A0=B8=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E9=A2=84=E7=AE=97=E7=9A=84=E5=87=A0=E5=BC=A0=E8=A1=A8?= =?UTF-8?q?=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/assets/js/project_budget.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/assets/js/project_budget.js b/src/main/resources/static/assets/js/project_budget.js index fca044b..0a8ee4a 100644 --- a/src/main/resources/static/assets/js/project_budget.js +++ b/src/main/resources/static/assets/js/project_budget.js @@ -204,7 +204,7 @@ $(function () { checkIfFillIn(); var dataIncome = collectData("am-modal-prompt-input-income"); - if (dataIncome.length <= 1) { + if (dataIncome.length <= 5) { window.confirm('请填写收入明细表'); $("#saveApprove").attr('disabled', false); return; @@ -224,7 +224,7 @@ $(function () { updateIncomeDataUnsubmit(dataIncomeCheck); var dataCost = collectData("am-modal-prompt-input-cost"); - if (dataCost.length <= 1) { + if (dataCost.length <= 7) { window.confirm('请填写采购成本明细表'); $("#saveApprove").attr('disabled', false); return; @@ -244,7 +244,8 @@ $(function () { updateCostDataIfUnsubmit(dataCostCheck); var dataManage = collectData("am-modal-prompt-input-cost-project-manage"); - if (dataManage.length <= 1) { + console.log("dataManage: " + dataManage.length); + if (dataManage.length <= 4) { window.confirm('请填写项目管理成本表'); $("#saveApprove").attr('disabled', false); return;