Эх сурвалжийг харах

feat(create-order): 电子协议展示逻辑优化

cuiyalong 2 сар өмнө
parent
commit
4c88f01888

+ 2 - 2
src/views/create-order/hooks/utils.js

@@ -143,8 +143,8 @@ export function calcShowOnlineContractForm(pageForm, userProductInfoList) {
     // 售卖
     const giftPass = productForm.saleGifts === 1
 
-    // 1. 超级订阅:(且付费类型为“购买”、“续费”
-    const vipSalePass = [1, 2].includes(payment)
+    // 1. 超级订阅:(且付费类型为 购买/续费/试用
+    const vipSalePass = [1, 2, 4].includes(payment)
     const vipSpecPass = productCode === productKeyMap.cjdy
     passMap.svip = giftPass && vipSalePass && vipSpecPass