| | |
| | | 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 |
| | |
| | | <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" /> |
| | |
| | | </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> |