فهرست منبع

refactor:更改boqType类型字段

vian 5 سال پیش
والد
کامیت
6b9fb94d42
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 2 2
      public/common_constants.js
  2. 3 3
      web/building_saas/pm/js/pm_newMain.js

+ 2 - 2
public/common_constants.js

@@ -109,8 +109,8 @@
 
     // 工程量清单类型
     const BOQType = {
-        TENDER: 1, // 招标
-        BIDDER: 2, // 投标
+        BID_INVITATION: 1, // 招标
+        BID_SUBMISSION: 2, // 投标
     };
 
     const SourceType = {

+ 3 - 3
web/building_saas/pm/js/pm_newMain.js

@@ -37,7 +37,7 @@ let regions = [];
 
 const { 
     ValuationType: { BUDGET, BOQ },
-    BOQType: { TENDER, BIDDER },
+    BOQType: { BID_INVITATION, BID_SUBMISSION },
 } = window.commonConstants;
 const { 
     similarEqual,
@@ -2497,11 +2497,11 @@ function initProjectOptSet($target) {
                         <label for="staticEmail" class="col-auto col-form-label col-form-label-sm">清单类型</label>
                         <div class="col">
                             <div class="custom-control custom-radio custom-control-inline">
-                                <input type="radio" value="${TENDER}" name="boq-type-input" checked id="boq-type-tender" class="custom-control-input">
+                                <input type="radio" value="${BID_INVITATION}" name="boq-type-input" checked id="boq-type-tender" class="custom-control-input">
                                 <label class="custom-control-label" for="boq-type-tender">招标</label>
                             </div>
                             <div class="custom-control custom-radio custom-control-inline">
-                                <input type="radio" value="${BIDDER}" name="boq-type-input" id="boq-type-bidder" class="custom-control-input">
+                                <input type="radio" value="${BID_SUBMISSION}" name="boq-type-input" id="boq-type-bidder" class="custom-control-input">
                                 <label class="custom-control-label" checked for="boq-type-bidder">投标</label>
                             </div>
                         </div>