Commit 0962340d by linjinhong

Merge remote-tracking branch 'origin/dev'

parents 98ccf145 5d1559bf
...@@ -21,6 +21,7 @@ export interface SearchForm { ...@@ -21,6 +21,7 @@ export interface SearchForm {
endTime?: string | null endTime?: string | null
internalMemo?: string internalMemo?: string
productionFileId?: string productionFileId?: string
interceptedStatus?: boolean
} }
export interface CardOrderData { export interface CardOrderData {
id: number id: number
......
...@@ -249,6 +249,7 @@ ...@@ -249,6 +249,7 @@
'WAIT_SHIPMENT', 'WAIT_SHIPMENT',
'TO_BE_REPLENISHMENT', 'TO_BE_REPLENISHMENT',
'INVALID', 'INVALID',
'INTERCEPTED',
].includes(status) ].includes(status)
" "
> >
...@@ -1460,10 +1461,8 @@ const CardOrderList = ref<(PodProductList | CardOrderData)[]>([]) ...@@ -1460,10 +1461,8 @@ const CardOrderList = ref<(PodProductList | CardOrderData)[]>([])
const loadCardList = async () => { const loadCardList = async () => {
loading.value = true loading.value = true
try { try {
const res = await getCardOrderList( const params = {
{
...searchForm.value, ...searchForm.value,
status: status.value,
timeType: searchForm.value.timeType, timeType: searchForm.value.timeType,
startTime: startTime:
timeRange.value && timeRange.value.length > 0 timeRange.value && timeRange.value.length > 0
...@@ -1473,7 +1472,16 @@ const loadCardList = async () => { ...@@ -1473,7 +1472,16 @@ const loadCardList = async () => {
timeRange.value && timeRange.value.length > 0 timeRange.value && timeRange.value.length > 0
? timeRange.value[1] ? timeRange.value[1]
: null, : null,
}, }
if (status.value === 'INTERCEPTED') {
params.interceptedStatus = true
} else {
params.status = status.value
}
const res = await getCardOrderList(
params,
currentPage.value, currentPage.value,
pageSize.value, pageSize.value,
) )
...@@ -1641,6 +1649,7 @@ const loadDiffList = async () => { ...@@ -1641,6 +1649,7 @@ const loadDiffList = async () => {
'TO_BE_REPLENISHMENT', 'TO_BE_REPLENISHMENT',
'TO_BE_CONFIRMED', 'TO_BE_CONFIRMED',
'INVALID', 'INVALID',
'INTERCEPTED',
].includes(status.value) ].includes(status.value)
) { ) {
await loadCardList() await loadCardList()
......
...@@ -1944,7 +1944,6 @@ const resultRefs = ref<InstanceType<typeof ResultInfo> | null>(null) ...@@ -1944,7 +1944,6 @@ const resultRefs = ref<InstanceType<typeof ResultInfo> | null>(null)
const confirmDialogShow = ref(false) const confirmDialogShow = ref(false)
const tifDownloadLoading = ref(false) const tifDownloadLoading = ref(false)
const pngDownloadLoading = ref(false) const pngDownloadLoading = ref(false)
// const reComposingLoading = ref(false)
const isChangeWay = ref(false) const isChangeWay = ref(false)
const confirmData = ref([]) const confirmData = ref([])
const logisticsWayData = 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