feat(dealer): 新增电费收益页面并优化订单展示
- 在应用配置中添加电费收益页面路由- 创建电费收益页面组件及配置文件- 修改订单页面标题为"电费订单"- 订单列表增加用户ID筛选条件 - 调整订单详情中的收益比率显示为税费 - 更新空状态提示文案以区分不同页面内容
This commit is contained in:
@@ -37,6 +37,7 @@ const DealerOrders: React.FC = () => {
|
||||
|
||||
const result = await pageShopDealerOrder({
|
||||
isInvalid: 0,
|
||||
userId: Taro.getStorageSync('UserId'),
|
||||
page,
|
||||
limit: 10
|
||||
})
|
||||
@@ -119,7 +120,7 @@ const DealerOrders: React.FC = () => {
|
||||
客户名称:{order.comments}
|
||||
</Text>
|
||||
<Text className="text-sm text-gray-400">
|
||||
收益比率:{order.rate}
|
||||
税费:{order.rate}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
@@ -179,7 +180,7 @@ const DealerOrders: React.FC = () => {
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<Empty description="暂无收益" style={{
|
||||
<Empty description="暂无电费订单" style={{
|
||||
backgroundColor: 'transparent'
|
||||
}}/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user