|
@@ -287,13 +287,13 @@ const options = {
|
|
|
const loadData = (parameter) => {
|
|
|
tableRef.value.clearSelected()
|
|
|
// warehouseTime范围查询条件重载
|
|
|
- if (searchFormStateReal.value.warehouseTime) {
|
|
|
+ if (searchFormStateReal.value.warehouseTime?.length > 0) {
|
|
|
searchFormStateReal.value.startWarehouseTime = proxy.$util.YMDHms(searchFormStateReal.value.warehouseTime[0])
|
|
|
searchFormStateReal.value.endWarehouseTime = proxy.$util.YMDHms(searchFormStateReal.value.warehouseTime[1])
|
|
|
delete searchFormStateReal.value.warehouseTime
|
|
|
}
|
|
|
// accountTime范围查询条件重载
|
|
|
- if (searchFormStateReal.value.accountTime) {
|
|
|
+ if (searchFormStateReal.value.accountTime?.length > 0) {
|
|
|
searchFormStateReal.value.startAccountTime = proxy.$util.YMDHms(searchFormStateReal.value.accountTime[0])
|
|
|
searchFormStateReal.value.endAccountTime = proxy.$util.YMDHms(searchFormStateReal.value.accountTime[1])
|
|
|
delete searchFormStateReal.value.accountTime
|