Commit 0962340d by linjinhong

Merge remote-tracking branch 'origin/dev'

parents 98ccf145 5d1559bf
......@@ -21,6 +21,7 @@ export interface SearchForm {
endTime?: string | null
internalMemo?: string
productionFileId?: string
interceptedStatus?: boolean
}
export interface CardOrderData {
id: number
......
......@@ -249,6 +249,7 @@
'WAIT_SHIPMENT',
'TO_BE_REPLENISHMENT',
'INVALID',
'INTERCEPTED',
].includes(status)
"
>
......@@ -1460,20 +1461,27 @@ const CardOrderList = ref<(PodProductList | CardOrderData)[]>([])
const loadCardList = async () => {
loading.value = true
try {
const params = {
...searchForm.value,
timeType: searchForm.value.timeType,
startTime:
timeRange.value && timeRange.value.length > 0
? timeRange.value[0]
: null,
endTime:
timeRange.value && timeRange.value.length > 0
? timeRange.value[1]
: null,
}
if (status.value === 'INTERCEPTED') {
params.interceptedStatus = true
} else {
params.status = status.value
}
const res = await getCardOrderList(
{
...searchForm.value,
status: status.value,
timeType: searchForm.value.timeType,
startTime:
timeRange.value && timeRange.value.length > 0
? timeRange.value[0]
: null,
endTime:
timeRange.value && timeRange.value.length > 0
? timeRange.value[1]
: null,
},
params,
currentPage.value,
pageSize.value,
)
......@@ -1641,6 +1649,7 @@ const loadDiffList = async () => {
'TO_BE_REPLENISHMENT',
'TO_BE_CONFIRMED',
'INVALID',
'INTERCEPTED',
].includes(status.value)
) {
await loadCardList()
......
......@@ -1944,7 +1944,6 @@ const resultRefs = ref<InstanceType<typeof ResultInfo> | null>(null)
const confirmDialogShow = ref(false)
const tifDownloadLoading = ref(false)
const pngDownloadLoading = ref(false)
// const reComposingLoading = ref(false)
const isChangeWay = ref(false)
const confirmData = ref([])
const logisticsWayData = ref([])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment