|
@@ -24,6 +24,7 @@ let fileType = {
|
|
|
feeRateFile: 'FeeRateFile'
|
|
|
};
|
|
|
|
|
|
+
|
|
|
const projTreeObj = {
|
|
|
tree: null,
|
|
|
workBook: null,
|
|
@@ -1064,7 +1065,7 @@ $(document).ready(function() {
|
|
|
if (valuation === null) {
|
|
|
continue;
|
|
|
}
|
|
|
- html += `<option ${i === targetData.length -1 ? 'selected' : ''} value="${valuation._id}">${valuation.name}</option>`;
|
|
|
+ html += `<option ${i === targetData.length -1 ? 'selected' : ''} value="${valuation.id}">${valuation.name}</option>`;
|
|
|
}
|
|
|
$("#valuation").html(html);
|
|
|
//$("#tender-engineering").html('<option value="">请选择对应的工程专业</option>');
|
|
@@ -1778,7 +1779,7 @@ function getEngineeringList(){
|
|
|
let valuationData = valuationType === 'bill' ? JSON.parse(billValuation) : JSON.parse(rationValuation);
|
|
|
let engineeringList = [];
|
|
|
for(let tmp of valuationData) {
|
|
|
- if (tmp._id === valuation) {
|
|
|
+ if (tmp.id === valuation) {
|
|
|
engineeringList = tmp.engineering_list;
|
|
|
break;
|
|
|
}
|
|
@@ -2076,7 +2077,7 @@ function AddTender() {
|
|
|
let valuationData = valuationType === 'bill' ? JSON.parse(billValuation) : JSON.parse(rationValuation);
|
|
|
let engineeringList = [];
|
|
|
for(let tmp of valuationData) {
|
|
|
- if (tmp._id === valuation) {
|
|
|
+ if (tmp.id === valuation) {
|
|
|
engineeringList = tmp.engineering_list;
|
|
|
break;
|
|
|
}
|