|
@@ -1,4 +1,4 @@
|
|
-import { api_deOverseasReportdownload, api_DownloadCompanyProfit, api_FangCangMoneyReportdownload, api_jianAiMoneyReportdownload, api_UserBalance, api_UserMoneyDetail, api_xbAndKpReportdownload, api_XiKeMoneyReportdownload, api_YingChiMoneyReportdownload } from '@/api/usermoneysum/apiUserMoneySum';
|
|
|
|
|
|
+import { api_deOverseasReportdownload, api_DownloadCompanyProfit, api_FangCangMoneyReportdownload, api_getAccountPeriod, api_jianAiMoneyReportdownload, api_UserBalance, api_UserMoneyDetail, api_xbAndKpReportdownload, api_XiKeMoneyReportdownload, api_YingChiMoneyReportdownload } from '@/api/usermoneysum/apiUserMoneySum';
|
|
import { UserMoneyDetailParam } from '@/api/usermoneysum/apiUserMoneySumModel';
|
|
import { UserMoneyDetailParam } from '@/api/usermoneysum/apiUserMoneySumModel';
|
|
import { ActionOptions } from '@/components/DropDownButtons/type';
|
|
import { ActionOptions } from '@/components/DropDownButtons/type';
|
|
import { BasicTableProps } from '@/components/VxeTable';
|
|
import { BasicTableProps } from '@/components/VxeTable';
|
|
@@ -65,8 +65,8 @@ function userMoneySumDetailList(usermoneyGridOptions: BasicTableProps) {
|
|
endDate: undefined,//结束时间
|
|
endDate: undefined,//结束时间
|
|
billDate: undefined,//账单时间
|
|
billDate: undefined,//账单时间
|
|
reportQueryDateType: 0,//时间类型 1 充值时间 0 创建时间
|
|
reportQueryDateType: 0,//时间类型 1 充值时间 0 创建时间
|
|
- salesmanId: undefined,//账期类型
|
|
|
|
- accountPeriod: undefined,//业务员
|
|
|
|
|
|
+ salesmanId: undefined,//业务员
|
|
|
|
+ accountPeriod: undefined,//账期类型
|
|
reportBatchQuery: false,//报表账单分批查询
|
|
reportBatchQuery: false,//报表账单分批查询
|
|
lastCycleOrder: false,//上周期收货订单
|
|
lastCycleOrder: false,//上周期收货订单
|
|
consumeFlag: 1,
|
|
consumeFlag: 1,
|
|
@@ -152,9 +152,16 @@ function userMoneySumDetailList(usermoneyGridOptions: BasicTableProps) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// 获取客户名称
|
|
// 获取客户名称
|
|
- const hanleCustomer = (val) => {
|
|
|
|
- const findObj = unref(customertList).find(item => item.value === val)
|
|
|
|
|
|
+ const hanleCustomer = (customerId) => {
|
|
|
|
+ const findObj = unref(customertList).find(item => item.value === customerId)
|
|
queryUserMoneySumDetailForm.customerName = findObj?.label
|
|
queryUserMoneySumDetailForm.customerName = findObj?.label
|
|
|
|
+ if (customerId) {
|
|
|
|
+ api_getAccountPeriod({ customerId }).then((res) => {
|
|
|
|
+ if (res.data) {
|
|
|
|
+ queryUserMoneySumDetailForm.accountPeriod = res.data.accountPeriod
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 分公司名称
|
|
// 分公司名称
|
|
const changeBranchCompanyName = (val) => {
|
|
const changeBranchCompanyName = (val) => {
|