| | |
| | | dayjs().startOf("month").format("YYYY-MM-DD"), |
| | | dayjs().endOf("month").format("YYYY-MM-DD"), |
| | | ], |
| | | receiptPaymentDateStart: dayjs().startOf("month").format("YYYY-MM-DD"), |
| | | receiptPaymentDateEnd: dayjs().endOf("month").format("YYYY-MM-DD"), |
| | | receiptPaymentDateStart: dayjs() |
| | | .startOf("month") |
| | | .format("YYYY-MM-DD 00:00:00"), |
| | | receiptPaymentDateEnd: dayjs().endOf("month").format("YYYY-MM-DD 23:59:59"), |
| | | }); |
| | | const { receipt_payment_type } = proxy.useDict("receipt_payment_type"); |
| | | const isShowSummarySon = ref(true); |
| | |
| | | |
| | | const changeDateRange = (date) => { |
| | | if (date) { |
| | | searchForm.receiptPaymentDateStart = date[0]; |
| | | searchForm.receiptPaymentDateEnd = date[1]; |
| | | searchForm.receiptPaymentDateStart = dayjs(date[0]).format( |
| | | "YYYY-MM-DD 00:00:00" |
| | | ); |
| | | searchForm.receiptPaymentDateEnd = dayjs(date[1]).format( |
| | | "YYYY-MM-DD 23:59:59" |
| | | ); |
| | | getList(); |
| | | } |
| | | }; |