Showing
1 changed file
with
4 additions
and
3 deletions
@@ -30,7 +30,7 @@ const BLANK_STR = ' '; | @@ -30,7 +30,7 @@ const BLANK_STR = ' '; | ||
30 | 30 | ||
31 | const cachedRequestData = {}; | 31 | const cachedRequestData = {}; |
32 | 32 | ||
33 | -//展览票 | 33 | +// 展览票 |
34 | const EXHIBITION_TICKET = 512579596; | 34 | const EXHIBITION_TICKET = 512579596; |
35 | 35 | ||
36 | const _getProductAdditionInfoAsync = (data) => { | 36 | const _getProductAdditionInfoAsync = (data) => { |
@@ -364,7 +364,7 @@ const _getSkuDataByProductBaseInfo = (data) => { | @@ -364,7 +364,7 @@ const _getSkuDataByProductBaseInfo = (data) => { | ||
364 | // 商品的尺码列表 | 364 | // 商品的尺码列表 |
365 | cur.goodsSizeBoList.forEach(size => { | 365 | cur.goodsSizeBoList.forEach(size => { |
366 | if (data.attribute === 3) { | 366 | if (data.attribute === 3) { |
367 | - //虚拟商品,门票默认最大为4, | 367 | + // 虚拟商品,门票默认最大为4, |
368 | size.goodsSizeStorageNum = size.goodsSizeStorageNum > 4 ? 4 : size.goodsSizeStorageNum; | 368 | size.goodsSizeStorageNum = size.goodsSizeStorageNum > 4 ? 4 : size.goodsSizeStorageNum; |
369 | } | 369 | } |
370 | 370 | ||
@@ -703,7 +703,8 @@ const _detailDataPkg = (origin, uid, vipLevel) => { | @@ -703,7 +703,8 @@ const _detailDataPkg = (origin, uid, vipLevel) => { | ||
703 | result.advancePrice = result.salePrice; // 先行价格 | 703 | result.advancePrice = result.salePrice; // 先行价格 |
704 | delete result.salePrice; | 704 | delete result.salePrice; |
705 | } | 705 | } |
706 | - //是否展览票 | 706 | + |
707 | + // 是否展览票 | ||
707 | result.isTicket = origin.erpProductId * 1 === EXHIBITION_TICKET; | 708 | result.isTicket = origin.erpProductId * 1 === EXHIBITION_TICKET; |
708 | } | 709 | } |
709 | 710 |
-
Please register or login to post a comment