Pārlūkot izejas kodu

养护清单指标微调

TonyKang 3 gadi atpakaļ
vecāks
revīzija
99b238d5c1

+ 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);