Quellcode durchsuchen

修改资费标题和卡清单充值标题

wangyong vor 2 Monaten
Ursprung
Commit
7b2f7e93ba

+ 2 - 2
src/views/admin/tariffManagement/SetMeal/addSetMeal.vue

@@ -56,7 +56,7 @@
                                 }}</a-option>
                         </a-select>
                     </a-form-item>
-                    <a-form-item label="默认绑定资费" field="trafficId" validate-trigger="blur">
+                    <a-form-item label="充值绑定资费" field="trafficId" validate-trigger="blur">
                         <a-select v-model="Form.trafficId">
                             <a-option v-for="item in tariffListData" :value="item.id" :key="item.id">{{ item.label
                                 }}</a-option>
@@ -172,7 +172,7 @@ const processData = (data) => {
             typeName: item.type == 1 ? '服务时长' : "购买流量",
             profitPrice: item.billingMethod == 1 ? '---' : item.profitPrice + item.currency,
             billingMethod: filterDict(billingMethodList.value, item.billingMethod),
-            costPrice: item.billingMethod == 1? item.flow+item.flowUnit+'/'+ item.price +item.currency  : item.costPrice + item.trafficCurrency,
+            costPrice: item.billingMethod == 1? item.trafficBilling+item.trafficBillingType+'/'+ item.trafficBillingAmount +item.trafficCurrency  : item.costPrice + item.trafficCurrency,
             oldPrice: item.billingMethod == 1 ? '---' : item.oldPrice + item.trafficCurrency,
             
         }

+ 2 - 2
src/views/admin/tariffManagement/SetMeal/index.vue

@@ -58,9 +58,9 @@
                 }}</a-option>
             </a-select>
           </a-form-item>
-          <div class="title">
+          <!-- <div class="title">
             终端用户充值类该字段必填,非充值类该字段非必填
-          </div>
+          </div> -->
         </a-form>
       </div>
       <template #footer>

+ 2 - 2
vite.config.js

@@ -65,8 +65,8 @@ export default defineConfig(({ command, mode }) => {
             hmr: true,
             proxy: {
                 "/api": {
-                    target:"https://sim.nanodreamtech.com",
-                    // target: "http://127.0.0.1:3001",
+                    // target:"https://sim.nanodreamtech.com",
+                    target: "http://127.0.0.1:3001",
                     // target: process.env.VITE_DEV_TYPE == 0 ? "http://sim.ainets.net" : "https://flexi.flexistream.link",
                     changeOrigin: true,
                     ws: true,