|
@ -1,5 +1,5 @@ |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
import { dateFormatter, formatDate } from '@/utils/formatTime' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
|
import * as DeliverRecordMainApi from '@/api/wms/deliverRecordMain' |
|
|
import * as DeliverRecordMainApi from '@/api/wms/deliverRecordMain' |
|
@ -21,6 +21,8 @@ import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
import * as CustomerreturnRequestApi from '@/api/wms/customerreturnRequestMain' |
|
|
import * as CustomerreturnRequestApi from '@/api/wms/customerreturnRequestMain' |
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
const dateTime = new Date().getTime() |
|
|
|
|
|
console.log(dateTime); |
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
@ -84,6 +86,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'createTime', // 查询列表中字段
|
|
|
|
|
|
value: dateTime - 30 * 24 * 60 * 60 * 1000 + "," + dateTime, // 指查询具体值
|
|
|
|
|
|
action: 'betweeen', // 查询拼接条件
|
|
|
|
|
|
isSearch: true, // 使用自定义拼接条件
|
|
|
|
|
|
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
|
|
|
}] |
|
|
}] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|