|
@@ -312,7 +312,8 @@ function userMoneySumDetailList(usermoneyGridOptions: BasicTableProps) {
|
|
|
// 初始化列表、分页数据
|
|
|
const { sizeChange, currentChange, searchBtn, resetBtn, listParams } = useQueryList<UserMoneyDetailParam>(initList, resetParams, queryUserMoneySumDetailForm)
|
|
|
const exportBillBtn = async () => {
|
|
|
- const params = await flatDate()
|
|
|
+ const paramsData = await flatDate()
|
|
|
+ const params = { ...paramsData, customerBillId: dealData.customerBillId }
|
|
|
// 判断时间类型为收货时间且客户账单id为空提示
|
|
|
if (params.reportQueryDateType === 1 && !dealData.customerBillId) {
|
|
|
createMessage.warning('按收货日期导出费用,请从相应账单跳转!')
|