diff --git a/src/api/shop/shopDealerWithdraw/model/index.ts b/src/api/shop/shopDealerWithdraw/model/index.ts index 4fd07d9..c892e42 100644 --- a/src/api/shop/shopDealerWithdraw/model/index.ts +++ b/src/api/shop/shopDealerWithdraw/model/index.ts @@ -30,6 +30,8 @@ export interface ShopDealerWithdraw { rejectReason?: string; // 来源客户端(APP、H5、小程序等) platform?: string; + // 备注 + comments?: string; // 租户id tenantId?: number; // 创建时间 diff --git a/src/dealer/bank/add.tsx b/src/dealer/bank/add.tsx index ef11e80..67750a4 100644 --- a/src/dealer/bank/add.tsx +++ b/src/dealer/bank/add.tsx @@ -122,13 +122,13 @@ const AddUserAddress = () => { > - + - + - + diff --git a/src/dealer/withdraw/index.tsx b/src/dealer/withdraw/index.tsx index 17591cc..0d9a3df 100644 --- a/src/dealer/withdraw/index.tsx +++ b/src/dealer/withdraw/index.tsx @@ -252,7 +252,8 @@ const DealerWithdraw: React.FC = () => { platform: 'MiniProgram', bankCard: bank.bankCard, bankAccount: bank.bankAccount, - bankName: bank.bankName + bankName: bank.bankName, + comments: `提现费3元/笔,预计到账金额¥${calculateExpectedAmount(withdrawAmount)}`, } await addShopDealerWithdraw(withdrawData) @@ -403,10 +404,10 @@ const DealerWithdraw: React.FC = () => { - 提现金额:¥{record.money} + 提现金额:¥{Number(record.money).toFixed(2)} - 提现账户:{record.accountDisplay} + {record.comments} diff --git a/src/utils/request.ts b/src/utils/request.ts index d515bf9..3a47418 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -57,7 +57,7 @@ let baseUrl = Taro.getStorageSync('ApiUrl') || BaseUrl; // 开发环境配置 if (process.env.NODE_ENV === 'development') { - // baseUrl = 'http://localhost:9200/api' + baseUrl = 'http://localhost:9200/api' } // 请求拦截器