|
@@ -53,48 +53,47 @@ export default (props) => {
|
53
|
53
|
|
54
|
54
|
return (
|
55
|
55
|
<view>
|
56
|
|
- <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
|
57
|
56
|
|
58
|
57
|
<view style={{ padding: '0 15px 0 15px', height: '100%' }}>
|
59
|
|
- <scroll-view scrollY style={{ height: 'calc(100vh - 120px)' }}>
|
|
58
|
+ <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
|
60
|
59
|
|
61
|
|
- <view className='storexx'>
|
|
60
|
+ <view className='storexx'>
|
62
|
61
|
|
63
|
|
- <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
|
64
|
|
- <view onClick={ShowMoldeOn} className='User-info-cutover'>
|
65
|
|
- <image className='User-info-cutover-image' src={cutoverUser} />
|
66
|
|
- </view>
|
67
|
|
- <view className='tip'>(计算收入以核销为准)</view>
|
68
|
|
- <view className='money'>
|
69
|
|
- <view className='sleft'>
|
70
|
|
- <view className='lword'>全年推广收入(税前)</view>
|
71
|
|
- <view className='yearMoney'>
|
72
|
|
- <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
|
73
|
|
- <image className='micon' src={isyear ? eyes : ceyes} onClick={handleYear} />
|
74
|
|
- </view>
|
|
62
|
+ <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
|
|
63
|
+ <view onClick={ShowMoldeOn} className='User-info-cutover'>
|
|
64
|
+ <image className='User-info-cutover-image' src={cutoverUser} />
|
|
65
|
+ </view>
|
|
66
|
+ <view className='tip'>(计算收入以核销为准)</view>
|
|
67
|
+ <view className='money'>
|
|
68
|
+ <view className='sleft'>
|
|
69
|
+ <view className='lword'>全年推广收入(税前)</view>
|
|
70
|
+ <view className='yearMoney'>
|
|
71
|
+ <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
|
|
72
|
+ <image className='micon' src={isyear ? eyes : ceyes} onClick={handleYear} />
|
75
|
73
|
</view>
|
76
|
|
- <view className='line' />
|
77
|
|
- <view className='sright'>
|
78
|
|
- <view className='rword'>当月推广收入(税前)</view>
|
79
|
|
- <view className='monthMoney'>
|
80
|
|
- <text>{isMomth ? (shopMoney?.currentCharges / 100).toFixed(2) : '******'}</text>元
|
81
|
|
- <image className='micon2' src={isMomth ? eyes : ceyes} onClick={handleMonth}></image>
|
82
|
|
- </view></view>
|
83
|
74
|
</view>
|
84
|
|
-
|
|
75
|
+ <view className='line' />
|
|
76
|
+ <view className='sright'>
|
|
77
|
+ <view className='rword'>当月推广收入(税前)</view>
|
|
78
|
+ <view className='monthMoney'>
|
|
79
|
+ <text>{isMomth ? (shopMoney?.currentCharges / 100).toFixed(2) : '******'}</text>元
|
|
80
|
+ <image className='micon2' src={isMomth ? eyes : ceyes} onClick={handleMonth}></image>
|
|
81
|
+ </view></view>
|
85
|
82
|
</view>
|
86
|
83
|
|
|
84
|
+ </view>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+ <view className='title'>推广收入记录</view>
|
87
|
88
|
|
88
|
|
- <view className='title'>推广收入记录</view>
|
89
|
|
- <List
|
90
|
|
- style={{ height: 'calc(100% - 145px)' }}
|
91
|
|
- request={reqestAPI}
|
92
|
|
- params={queryParams}
|
93
|
|
- noData={<NoData />}
|
94
|
|
- render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
|
95
|
|
- >
|
96
|
|
- </List>
|
97
|
|
- </scroll-view>
|
|
89
|
+ <List
|
|
90
|
+ style={{ height: 'calc(100% - 145px)' }}
|
|
91
|
+ request={reqestAPI}
|
|
92
|
+ params={queryParams}
|
|
93
|
+ noData={<NoData />}
|
|
94
|
+ render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
|
|
95
|
+ >
|
|
96
|
+ </List>
|
98
|
97
|
|
99
|
98
|
</view>
|
100
|
99
|
|