浏览代码

养护清单指标微调

TonyKang 3 年之前
父节点
当前提交
99b238d5c1
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      web/maintain/bills_unitprice_feature_lib/js/bills_unitprice_feature_edit.js

+ 5 - 5
web/maintain/bills_unitprice_feature_lib/js/bills_unitprice_feature_edit.js

@@ -36,11 +36,11 @@ $(document).ready(function () {
         }
     });
     $("#createNormal").click(async function() {
-        let projectFeature = {
+        let billsUnitpriceFeature = {
             "basicKeyOptions": [
-                { type: "bills", key: "code" },
-                { type: "bills", key: "name" },
-                { type: "bills", key: "unit" }
+                { "type": "bills", "key": "code", "dispName": "清单代号" },
+                { "type": "bills", "key": "name", "dispName": "清单名称" },
+                { "type": "bills", "key": "unit", "dispName": "清单单位" }
             ],
             "basicMappings": [
                 {
@@ -76,7 +76,7 @@ $(document).ready(function () {
             ]
         };
         try {
-            let jsonText =  JSON.stringify(projectFeature);
+            let jsonText =  JSON.stringify(billsUnitpriceFeature);
             $("#featureList").val(JSON.stringify(JSON.parse(jsonText),null,4));
         }catch (err){
             console.log(err);