shinnosuke
2026-08-13 85cb43ddb6794f51a7d7514a0480efc6bd9dc3c0
fix(merchant): 精简服务商家新增配置
1个文件已修改
5 ■■■■■ 已修改文件
talent-card-admin/src/views/MerchantCreateView.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
talent-card-admin/src/views/MerchantCreateView.vue
@@ -90,6 +90,7 @@
const isApprovalMerchant = computed(() => normalizedMerchantType.value === '行政审批')
const isServiceMerchant = computed(() => isFoodMerchant.value || normalizedMerchantType.value === '景区服务')
const merchantAppLoginOptionalTypes = ['数码服务', '文化服务', '电信服务', '口腔治疗保健']
const usesSimplifiedMerchantSettings = computed(() => merchantAppLoginOptionalTypes.includes(normalizedMerchantType.value))
const supportsMerchantAppLogin = computed(() => (
  isServiceMerchant.value
  || isApartmentMerchant.value
@@ -2121,7 +2122,7 @@
              <el-input v-model="form.contactMobile" />
            </el-form-item>
            <template v-if="!isApartmentMerchant">
            <template v-if="!isApartmentMerchant && !usesSimplifiedMerchantSettings">
              <div class="merchant-form-row recommend-row">
                <label>开启团购</label>
                <el-switch v-model="form.groupBuyingEnabled" :active-value="1" :inactive-value="0" />
@@ -2191,7 +2192,7 @@
        </el-form>
    </section>
                <section v-if="!isServiceMerchant && !isApartmentMerchant && !isHotelMerchant && !isCarWashMerchant && !isHealthCheckMerchant && !isParkingMerchant && !isChildcareMerchant && !isFinancialMerchant && !isMovieMerchant && !isSpouseEmploymentMerchant && !isApprovalMerchant" class="merchant-create-panel">
                <section v-if="!isServiceMerchant && !isApartmentMerchant && !isHotelMerchant && !isCarWashMerchant && !isHealthCheckMerchant && !isParkingMerchant && !isChildcareMerchant && !isFinancialMerchant && !isMovieMerchant && !isSpouseEmploymentMerchant && !isApprovalMerchant && !usesSimplifiedMerchantSettings" class="merchant-create-panel">
            <h3>小程序详情配置</h3>
            <div class="merchant-form-row">
                <label>使用说明</label>