|
@@ -46,11 +46,19 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
<% if (false || ![-100, -200, -300, -301, -302, -303].includes(stg_id)) { %>
|
|
|
- <div class="d-inline-block" id="divSelectableStages_up">
|
|
|
+ <div class="d-inline-block" id="divSelectableBizs_up">
|
|
|
<div class="dropdown" id="divSelectableStages">
|
|
|
<button class="btn btn-sm btn-light dropdown-toggle text-primary" type="button" id="btnCurrentStage" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" id="optionSelectableStages"></div>
|
|
|
</div>
|
|
|
+ <div class="dropdown" id="divSelectableAdvancePays" style="display:none;">
|
|
|
+ <button class="btn btn-sm btn-light dropdown-toggle text-primary" type="button" id="btnCurrentAdvancePay" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
|
|
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" id="optionSelectableAdvancePays"></div>
|
|
|
+ </div>
|
|
|
+ <div class="dropdown" id="divSelectableMaterials" style="display:none;">
|
|
|
+ <button class="btn btn-sm btn-light dropdown-toggle text-primary" type="button" id="btnCurrentMaterial" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
|
|
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" id="optionSelectableMaterials"></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<% } %>
|
|
|
<% if (stg_id === -200 || ![-100, -300, -301, -302, -303].includes(stg_id)) { %>
|
|
@@ -385,18 +393,24 @@
|
|
|
if (type === 'stage') {
|
|
|
// 计量期
|
|
|
$('#divSelectableStages').show();
|
|
|
+ $('#divSelectableAdvancePays').hide();
|
|
|
+ $('#divSelectableMaterials').hide();
|
|
|
$('#biz-prepay-item').hide();
|
|
|
$('#report_selects_ul').show();
|
|
|
$('#divPresets').show();
|
|
|
} else if (type === 'change_prepay') {
|
|
|
// 预付款
|
|
|
$('#divSelectableStages').hide();
|
|
|
+ $('#divSelectableAdvancePays').show();
|
|
|
+ $('#divSelectableMaterials').hide();
|
|
|
$('#biz-prepay-item').show();
|
|
|
$('#report_selects_ul').hide();
|
|
|
$('#divPresets').hide();
|
|
|
} else if (type === 'change_material_adjustment') {
|
|
|
// 材料调差
|
|
|
- $('#divSelectableStages').show();
|
|
|
+ $('#divSelectableStages').hide();
|
|
|
+ $('#divSelectableAdvancePays').hide();
|
|
|
+ $('#divSelectableMaterials').show();
|
|
|
$('#biz-prepay-item').hide();
|
|
|
$('#report_selects_ul').hide();
|
|
|
$('#divPresets').hide();
|