|
@@ -36,7 +36,7 @@ let taxTypeMap = {
|
|
|
let regions = [];
|
|
let regions = [];
|
|
|
|
|
|
|
|
const {
|
|
const {
|
|
|
- ValuationType: { SUGGESTION, FEASIBILITY, ROUGH, BUDGET, BOQ },
|
|
|
|
|
|
|
+ ValuationType: { SUGGESTION, FEASIBILITY, ROUGH, BUDGET, BOQ, ESTIMATION },
|
|
|
ValuationText,
|
|
ValuationText,
|
|
|
BOQType: { BID_INVITATION, BID_SUBMISSION },
|
|
BOQType: { BID_INVITATION, BID_SUBMISSION },
|
|
|
} = window.commonConstants;
|
|
} = window.commonConstants;
|
|
@@ -2570,14 +2570,22 @@ function initProjectOptSet($target) {
|
|
|
<label class="custom-control-label" for="type-rough">概算</label>
|
|
<label class="custom-control-label" for="type-rough">概算</label>
|
|
|
</div>
|
|
</div>
|
|
|
` : ''}
|
|
` : ''}
|
|
|
- <div class="custom-control custom-radio custom-control-inline">
|
|
|
|
|
- <input type="radio" value="${BUDGET}" name="valuation-type" ${COMPILATION_NAME.includes('公路造价') ? '' : 'checked'} id="type-budget" class="custom-control-input">
|
|
|
|
|
- <label class="custom-control-label" for="type-budget">预算</label>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="custom-control custom-radio custom-control-inline">
|
|
|
|
|
- <input type="radio" value="${BOQ}" name="valuation-type" id="type-boq" class="custom-control-input">
|
|
|
|
|
- <label class="custom-control-label" for="type-boq">工程量清单</label>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ ${COMPILATION_NAME.includes('内蒙古高速公路日常养护估算(2021)') ? `
|
|
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
|
|
+ <input type="radio" value="${ESTIMATION}" name="valuation-type" checked id="type-estimation" class="custom-control-input">
|
|
|
|
|
+ <label class="custom-control-label" for="type-estimation">估算</label>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ` : `
|
|
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
|
|
+ <input type="radio" value="${BUDGET}" name="valuation-type" ${COMPILATION_NAME.includes('公路造价') ? '' : 'checked'} id="type-budget" class="custom-control-input">
|
|
|
|
|
+ <label class="custom-control-label" for="type-budget">预算</label>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="custom-control custom-radio custom-control-inline">
|
|
|
|
|
+ <input type="radio" value="${BOQ}" name="valuation-type" id="type-boq" class="custom-control-input">
|
|
|
|
|
+ <label class="custom-control-label" for="type-boq">工程量清单</label>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ `
|
|
|
|
|
+ }
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group row hide-area" id="boq-type">
|
|
<div class="form-group row hide-area" id="boq-type">
|
|
@@ -2878,6 +2886,8 @@ function getValuationData(type) {
|
|
|
valuationData = JSON.parse(roughValuation);
|
|
valuationData = JSON.parse(roughValuation);
|
|
|
} else if (type === BUDGET) {
|
|
} else if (type === BUDGET) {
|
|
|
valuationData = JSON.parse(billValuation);
|
|
valuationData = JSON.parse(billValuation);
|
|
|
|
|
+ } else if (type === ESTIMATION) {
|
|
|
|
|
+ valuationData = JSON.parse(estimationData);
|
|
|
} else {
|
|
} else {
|
|
|
valuationData = JSON.parse(rationValuation);
|
|
valuationData = JSON.parse(rationValuation);
|
|
|
}
|
|
}
|