diff --git a/src/views/wms/wmsPurchaseOrder/index.vue b/src/views/wms/wmsPurchaseOrder/index.vue index 9b43afd..5074f09 100644 --- a/src/views/wms/wmsPurchaseOrder/index.vue +++ b/src/views/wms/wmsPurchaseOrder/index.vue @@ -429,12 +429,13 @@ const handleExport = () => { }, `wmsPurchaseOrder_${new Date().getTime()}.xlsx`) } -const getListSelect = () => { - let res = getBaseSupplierInfoList(null); +const getListSelect = async () => { + let res = await getBaseSupplierInfoList(null); supplierList.value = res.data; } onMounted(() => { + getListSelect(); getList(); });