吃个甘蔗嚼一年 3 anos atrás
pai
commit
683a88fe20

+ 1
- 1
src/components/ShopUnused/index.jsx Ver arquivo

@@ -27,7 +27,7 @@ export default (props) => {
27 27
           <view className='foodName'>{item.description}</view>
28 28
 
29 29
 
30
-          <view className='price'>合计金额:¥<text style={{ fontSize: '24rpx' }}>{(item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100).toFixed(2)}</text>元 <text className='pnum'>数量:<text>1</text>张</text> </view>
30
+          <view className='price'>合计金额:¥<text style={{ fontSize: '24rpx' }}>{((item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100)).toFixed(2)}</text>元 <text className='pnum'>数量:<text>1</text>张</text> </view>
31 31
           <view>已下单:等待客户上门就餐</view>
32 32
         </view>
33 33
         <view className='line' />

+ 1
- 1
src/components/ShopUsed/index.jsx Ver arquivo

@@ -39,7 +39,7 @@ export default (props) => {
39 39
         <Image className='orderImg' src={item.poster} mode='aspectFit' />
40 40
         <View className='orderRight'>
41 41
           <View className='foodName'>{item.description}</View>
42
-          <View className='price'>合计金额:¥<Text style={{ fontSize: '24rpx' }}>{(item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100).toFixed(2)}</Text>元 <Text className='pnum'>数量:<Text>1</Text>张</Text> </View>
42
+          <View className='price'>合计金额:¥<Text style={{ fontSize: '24rpx' }}>{((item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100)).toFixed(2)}</Text>元 <Text className='pnum'>数量:<Text>1</Text>张</Text> </View>
43 43
         </View>
44 44
 
45 45
         <View className='veri_Date' > 核销时间:{formatTimes(item.verifiedDate, 'yyyy-MM-dd hh:mm')}</View>