|
|
@ -356,6 +356,7 @@ const switchChange = (record: any) => {
|
|
|
|
const downloadTemplate = useDebounceFn(
|
|
|
|
const downloadTemplate = useDebounceFn(
|
|
|
|
() => {
|
|
|
|
() => {
|
|
|
|
const data: any = searchData
|
|
|
|
const data: any = searchData
|
|
|
|
|
|
|
|
data.salesmanType = salesmanType.value
|
|
|
|
if (data.exportDate && data.exportDate.length == 2) {
|
|
|
|
if (data.exportDate && data.exportDate.length == 2) {
|
|
|
|
data.startTime = data.exportDate[0].format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
data.startTime = data.exportDate[0].format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
data.endTime = data.exportDate[1].format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
data.endTime = data.exportDate[1].format('YYYY-MM-DD HH:mm:ss')
|
|
|
|