|
|
@@ -354,14 +354,21 @@
|
|
|
<label class="custom-control-label" for="radioRough">概算</label>
|
|
|
</div>
|
|
|
<% } %>
|
|
|
- <div class="custom-control custom-radio custom-control-inline">
|
|
|
- <input type="radio" value="bill" id="radioBill" name="valuation_type" class="custom-control-input">
|
|
|
- <label class="custom-control-label" <%= compilationName.includes('公路造价') ? '' : 'checked' %> for="radioBill">预算</label>
|
|
|
- </div>
|
|
|
- <div class="custom-control custom-radio custom-control-inline">
|
|
|
- <input type="radio" value="ration" id="radioRation" name="valuation_type" class="custom-control-input">
|
|
|
- <label class="custom-control-label" for="radioRation">工程量清单</label>
|
|
|
- </div>
|
|
|
+ <% if (compilationName.includes('内蒙古高速公路日常养护估算(2021)')) { %>
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
+ <input type="radio" value="estimation" id="radioEstimation" name="valuation_type" class="custom-control-input">
|
|
|
+ <label class="custom-control-label" checked for="radioEstimation">估算</label>
|
|
|
+ </div>
|
|
|
+ <% } else { %>
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
+ <input type="radio" value="bill" id="radioBill" name="valuation_type" class="custom-control-input">
|
|
|
+ <label class="custom-control-label" <%= compilationName.includes('公路造价') ? '' : 'checked' %> for="radioBill">预算</label>
|
|
|
+ </div>
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
+ <input type="radio" value="ration" id="radioRation" name="valuation_type" class="custom-control-input">
|
|
|
+ <label class="custom-control-label" for="radioRation">工程量清单</label>
|
|
|
+ </div>
|
|
|
+ <% } %>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group row" style="display: none">
|
|
|
@@ -379,21 +386,23 @@
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="form-group row" id="tender-engineering-group">
|
|
|
- <label for="staticEmail" class="col-auto col-form-label col-form-label-sm">养护类别</label>
|
|
|
- <div class="col">
|
|
|
- <select class="form-control form-control-sm" id="tender-engineering">
|
|
|
- </select>
|
|
|
+ <% if (!compilationName.includes('内蒙古高速公路日常养护估算(2021)')) { %>
|
|
|
+ <div class="form-group row" id="tender-engineering-group">
|
|
|
+ <label for="staticEmail" class="col-auto col-form-label col-form-label-sm">养护类别</label>
|
|
|
+ <div class="col">
|
|
|
+ <select class="form-control form-control-sm" id="tender-engineering">
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <span class="form-text text-danger" id="engineering-info" style="display: none;">请选择养护类别</span>
|
|
|
- <div class="form-group row" id="tender-feeStandard-group">
|
|
|
- <label for="staticEmail" class="col-auto col-form-label col-form-label-sm">费用标准</label>
|
|
|
- <div class="col">
|
|
|
- <select class="form-control form-control-sm" id="tender-feeStandard"></select>
|
|
|
+ <span class="form-text text-danger" id="engineering-info" style="display: none;">请选择养护类别</span>
|
|
|
+ <div class="form-group row" id="tender-feeStandard-group">
|
|
|
+ <label for="staticEmail" class="col-auto col-form-label col-form-label-sm">费用标准</label>
|
|
|
+ <div class="col">
|
|
|
+ <select class="form-control form-control-sm" id="tender-feeStandard"></select>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <span class="form-text text-danger" id="feeStandard-info" style="display: none;">请选择费用标准</span>
|
|
|
+ <span class="form-text text-danger" id="feeStandard-info" style="display: none;">请选择费用标准</span>
|
|
|
+ <% } %>
|
|
|
<div class="form-group row" id="taxType_div">
|
|
|
<label for="staticEmail" class="col-auto col-form-label col-form-label-sm">计税方式</label>
|
|
|
<div class="col">
|
|
|
@@ -815,6 +824,7 @@
|
|
|
let rationValuation = '<%- rationValuation %>';
|
|
|
let engineeringList = '<%- engineeringList %>';
|
|
|
let compilationData = '<%- compilationData %>';
|
|
|
+ let estimationData = '<%- estimationValuation %>'
|
|
|
compilationData = JSON.parse(compilationData.replace(/[\s\r\n]/g, ""));//去掉空格字符
|
|
|
</script>
|
|
|
</html>
|