refactor(order): 重构订单状态处理逻辑并优化送水订单功能
- 将订单状态相关工具函数提取到独立的 utils 文件中 - 统一订单状态文本和颜色显示逻辑 - 移除重复的状态判断函数 - 优化送水订单列表的数据过滤逻辑 - 添加订单编辑模式支持 - 实现订单修改和取消功能 - 修复订单状态判断中的数值转换问题 - 优化送水订单的时间选择组件 - 添加订单数据加载和验证逻辑 - 重构订单详情页的条件渲染逻辑
This commit is contained in:
@@ -491,7 +491,7 @@ const DealerWithdraw: React.FC = () => {
|
||||
<Form.Item name="amount" label="提现金额">
|
||||
<Input
|
||||
placeholder="请输入提现金额"
|
||||
type="number"
|
||||
type="digit"
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user