| | |
| | | |
| | | export type MerchantProductDetail = MerchantProduct & { |
| | | productType: string |
| | | /** 商家类型(如 medical = 体检医院):商品表单按类型决定显示哪些字段。 */ |
| | | merchantTypeCode: string |
| | | originalPrice: number |
| | | detailText: string |
| | | purchaseNotice: any |
| | |
| | | return { |
| | | ...product, |
| | | productType: stringValue(value != null ? value.productType : ''), |
| | | merchantTypeCode: stringValue(value != null ? value.merchantTypeCode : ''), |
| | | originalPrice: numberValue(value != null ? value.originalPrice : 0), |
| | | detailText: stringValue(value != null ? value.detailText : ''), |
| | | purchaseNotice: value != null && value.purchaseNotice != null ? value.purchaseNotice : {}, |