Преглед изворни кода

feat: EK-856: 管理员增加“Country”属性.

kevinElken пре 11 месеци
родитељ
комит
89c8d7f49a
2 измењених фајлова са 6 додато и 4 уклоњено
  1. 3 2
      src/views/user/member-upgrade.vue
  2. 3 2
      src/views/user/welcome-pack.vue

+ 3 - 2
src/views/user/member-upgrade.vue

@@ -97,7 +97,7 @@
             <el-form-item v-if="!isMax" :label="$t('shop.paymentMethod')" required style="padding-left: 0;">
               <el-radio-group v-model="form.payType" @change="chosePayType">
                 <el-radio v-for="(item, index) in payList" :key="index" border :label="item.label" style="margin: 5px;">
-                  {{ item.name }}<span v-if="item.label === 'cash'" style="color: tomato;">( {{currencyUnitCode}} {{ userBalance.cash | toThousandFilter }})</span>
+                  {{ item.name }}<span v-if="item.label === 'cash'" style="color: tomato;">( {{currencyUnitCode}} {{ userBalance.localCash | toThousandFilter }})</span>
                 </el-radio>
               </el-radio-group>
             </el-form-item>
@@ -319,7 +319,8 @@ export default {
       tableData: null,
       payAmount: 0.00,
       userBalance: {
-        cash: 0
+        cash: 0,
+        localCash: 0,
       },
 
       activeName: 'product',

+ 3 - 2
src/views/user/welcome-pack.vue

@@ -175,7 +175,7 @@
             <el-form-item :label="$t('shop.paymentMethod')" required>
               <el-radio-group v-model="form.payType" @change="chosePayType">
                 <el-radio v-for="(item, index) in payList" :key="index" border :label="item.label" style="margin: 5px;">
-                  {{ item.name }}<span v-if="item.label === 'cash'" style="color: tomato;">( {{currencyUnitCode}} {{ userBalance.cash }})</span>
+                  {{ item.name }}<span v-if="item.label === 'cash'" style="color: tomato;">( {{currencyUnitCode}} {{ userBalance.localCash }})</span>
                 </el-radio>
               </el-radio-group>
             </el-form-item>
@@ -336,7 +336,8 @@ export default {
       totalAmount: 0.00,
       freight: 0.00,
       userBalance: {
-        cash: 0
+        cash: 0,
+        localCash: 0,
       },
 
       payType: 'cash',