zhengyiming
1 天以前 915424730f27445da2e8de13b62e77179cc1a15a
fix: 关闭移动充值渠道,打开电信充值渠道
4个文件已修改
16 ■■■■■ 已修改文件
apps/taro/project.private.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeStep2.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/core/src/lifeRechargeConstants.ts 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/taro/project.private.config.json
@@ -67,5 +67,5 @@
            ]
        }
    },
    "libVersion": "3.8.7"
    "libVersion": "3.7.3"
}
packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue
@@ -10,7 +10,7 @@
      <NutRadioGroup v-model="form.ispCode" direction="horizontal" @change="handleIspCodeChange">
        <BlRadio
          :label="key"
          v-for="(val, key) in BlLifeRecharge.constants.IspCodeText"
          v-for="(val, key) in BlLifeRecharge.constants.IspCodeTextForSelect"
          :key="key"
          >{{ val }}</BlRadio
        >
packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeStep2.vue
@@ -246,8 +246,8 @@
async function goPay() {
  try {
    if (form.ispCode === blLifeRecharge.constants.IspCode.dianxin) {
      state.msg = '暂不支持电信号码充值';
    if (form.ispCode === blLifeRecharge.constants.IspCode.yidong) {
      state.msg = '暂不支持移动号码充值';
      state.show = true;
      return;
    }
packages/core/src/lifeRechargeConstants.ts
@@ -94,7 +94,13 @@
  export const IspCodeText = {
    [IspCode.yidong]: '中国移动',
    // [IspCode.dianxin]: '中国电信',
    [IspCode.dianxin]: '中国电信',
    [IspCode.liantong]: '中国联通',
  };
  export const IspCodeTextForSelect = {
    // [IspCode.yidong]: '中国移动',
    [IspCode.dianxin]: '中国电信',
    [IspCode.liantong]: '中国联通',
  };