|
@@ -2586,8 +2586,14 @@ function AddTender() {
|
|
|
// 一个项目里面,这两个文件必须得有,而界面又没有像费率、单价文件那样给出可选项。所以这里给出提示。
|
|
// 一个项目里面,这两个文件必须得有,而界面又没有像费率、单价文件那样给出可选项。所以这里给出提示。
|
|
|
if (!libs.artificial_lib) throw '编办没有绑定人工系数标准文件';
|
|
if (!libs.artificial_lib) throw '编办没有绑定人工系数标准文件';
|
|
|
|
|
|
|
|
- let featureLibID = "";
|
|
|
|
|
- if(libs.feature_lib && libs.feature_lib.length > 0) featureLibID = libs.feature_lib[0].id;
|
|
|
|
|
|
|
+ let featureLibID = "",
|
|
|
|
|
+ progressiveLibID = "";
|
|
|
|
|
+ if(libs.feature_lib && libs.feature_lib.length > 0) {
|
|
|
|
|
+ featureLibID = libs.feature_lib[0].id;
|
|
|
|
|
+ }
|
|
|
|
|
+ if(libs.progressive_lib && libs.progressive_lib.length > 0) {
|
|
|
|
|
+ progressiveLibID = libs.progressive_lib[0].id;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
let calcProgramName = $('#tender-calcProgram').children("option:selected").text();
|
|
let calcProgramName = $('#tender-calcProgram').children("option:selected").text();
|
|
@@ -2622,6 +2628,7 @@ function AddTender() {
|
|
|
templateLibID:templateLibID,
|
|
templateLibID:templateLibID,
|
|
|
colLibID:colLibID,
|
|
colLibID:colLibID,
|
|
|
featureLibID:featureLibID,
|
|
featureLibID:featureLibID,
|
|
|
|
|
+ progressiveLibID:progressiveLibID,
|
|
|
region: region
|
|
region: region
|
|
|
};
|
|
};
|
|
|
AddTenderItems(selectedItem, projName, tenderName, tenderInfo, callback);
|
|
AddTenderItems(selectedItem, projName, tenderName, tenderInfo, callback);
|