parent
606f0ff7b2
commit
7488e711a4
|
@ -394,6 +394,16 @@ function checkIfFillIn() {
|
|||
var valueRisk = $("#valueRiskBudget").val();
|
||||
var principal = $("#principalBudget").val();
|
||||
|
||||
|
||||
var contractTimeBudget = $("#contractTimeBudget").val();
|
||||
var bidsTimeBudget = $("#bidsTimeBudget").val();
|
||||
var isSecondBudget = $("#isSecondBudget").val();
|
||||
var signTypeBudget = $("#signTypeBudget").val();
|
||||
var calculationCollectionBudget = $("#calculationCollectionBudget").val();
|
||||
|
||||
|
||||
|
||||
|
||||
if (name.length <= 0) {
|
||||
window.confirm('项目名称不能为空');
|
||||
check = 1;
|
||||
|
@ -511,6 +521,33 @@ function checkIfFillIn() {
|
|||
check = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
if (contractTimeBudget.length <= 0) {
|
||||
window.confirm('预计合同签订时间不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
}
|
||||
//
|
||||
if (bidsTimeBudget.length <= 0) {
|
||||
window.confirm('项目计划招标时间不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
}
|
||||
if(!isSecondBudget){
|
||||
window.confirm('是否二次合作不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
}
|
||||
if(!signTypeBudget){
|
||||
window.confirm('是否汇智中标不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
}
|
||||
if(!calculationCollectionBudget){
|
||||
window.confirm('计收计划不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -392,8 +392,8 @@ function appendTrBudgetPlan() {
|
|||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-service-cost-budget-plan" readonly></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-other-cost-budget-plan" readonly></td>\n' +
|
||||
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-project-manage-cost-budget-plan" readonly></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-cost-budget-plan" readonly></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-project-manage-cost-budget-plan" ></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-cost-budget-plan" ></td>\n' +
|
||||
' <td style="display: block;"><input type="text" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-total-cost-budget-plan" readonly></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-sale-income-budget-plan"></td>\n' +
|
||||
' <td style="display: block;"><input type="text" maxlength="16" value="0.00" class="number am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-income-budget-plan"></td>\n' +
|
||||
|
|
|
@ -787,7 +787,7 @@
|
|||
name="principalBudget" placeholder="请输入项目负责人" maxlength="20"
|
||||
value="${projectBudget.principalBudget!}"/>
|
||||
</td>
|
||||
<th class="table-title" colspan="1"><span
|
||||
<th class="table-title" colspan="1"><span style="color: red;">*</span><span
|
||||
style="font-size: 15px">预计合同签订时间:</span></th>
|
||||
<td class="table-title" colspan="1">
|
||||
<input type="text" class="am-form-field am-input-sm" style="border-style:none;"
|
||||
|
@ -797,7 +797,7 @@
|
|||
placeholder="预计合同签订时间"
|
||||
data-am-datepicker>
|
||||
</td>
|
||||
<th class="table-title" colspan="1"><span
|
||||
<th class="table-title" colspan="1"><span style="color: red;">*</span><span
|
||||
style="font-size: 15px">项目计划招标时间:</span></th>
|
||||
<td class="table-title" colspan="1">
|
||||
<input type="text" class="am-form-field am-input-sm" style="border-style:none;"
|
||||
|
@ -809,7 +809,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr class="am-text-nowrap">
|
||||
<th class="table-title" colspan="1"><span style="font-size: 15px">是否二次合作:</span>
|
||||
<th class="table-title" colspan="1"><span style="color: red;">*</span><span style="font-size: 15px">是否二次合作:</span>
|
||||
</th>
|
||||
<td class="table-title" colspan="1">
|
||||
<select data-am-selected="{btnSize: 'sm',btnWidth: '80%',searchBox: 1}"
|
||||
|
@ -827,7 +827,7 @@
|
|||
</#if>
|
||||
</select>
|
||||
</td>
|
||||
<th class="table-title" colspan="1"><span style="font-size: 15px">是否汇智中标:</span>
|
||||
<th class="table-title" colspan="1"><span style="color: red;">*</span><span style="font-size: 15px">是否汇智中标:</span>
|
||||
</th>
|
||||
<td class="table-title" colspan="3">
|
||||
<select data-am-selected="{btnSize: 'sm',btnWidth: '80%',searchBox: 1}"
|
||||
|
@ -869,7 +869,7 @@
|
|||
<#-- </td>-->
|
||||
<#-- </tr>-->
|
||||
<tr class="am-text-nowrap">
|
||||
<th class="table-title" colspan="1"><span style="font-size: 15px">计收计划:</span></th>
|
||||
<th class="table-title" colspan="1"><span style="color: red;">*</span><span style="font-size: 15px">计收计划:</span></th>
|
||||
<td class="table-title" colspan="5">
|
||||
<textarea rows="3" cols="20" id="calculationCollectionBudget"
|
||||
name="calculationCollectionBudget" maxlength="1000"
|
||||
|
|
|
@ -879,7 +879,7 @@
|
|||
// return;
|
||||
// }
|
||||
//
|
||||
if (calculationCollection == undefined || calculationCollection.length <= 0) {
|
||||
if (!calculationCollection) {
|
||||
window.confirm('计收计划不能为空');
|
||||
check = 1;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue