feat 更新到货单状态

This commit is contained in:
Amjacks 2025-04-11 13:36:30 +08:00
parent d696782f59
commit 4f67296af2

View File

@ -151,7 +151,9 @@ let state = reactive({
// //
fromDate: '', fromDate: '',
// //
toDate: '' toDate: '',
//
deliveryType: ''
}, },
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
@ -207,7 +209,8 @@ function queryInfo() {
async function handleQuery() { async function handleQuery() {
state.loading = true state.loading = true
state.receiveList = [] state.receiveList = []
await getReceiveList({...state.queryParams, deliveryType: props.deliveryType}).then((res: any) => { state.queryParams.params.deliveryType = props.deliveryType
await getReceiveList(state.queryParams).then((res: any) => {
state.dataList = res.resultObj.list state.dataList = res.resultObj.list
state.total = res.resultObj.total state.total = res.resultObj.total
state.loading = false state.loading = false