diff --git a/src/views/daxpay/common/allocation/order/AllocDetailList.vue b/src/views/daxpay/common/allocation/order/AllocDetailList.vue index 1120a6ae9..2a5bbe44b 100644 --- a/src/views/daxpay/common/allocation/order/AllocDetailList.vue +++ b/src/views/daxpay/common/allocation/order/AllocDetailList.vue @@ -55,7 +55,7 @@ import { VxeTableInstance, VxeToolbarInstance } from 'vxe-table' import BasicDrawer from '@/components/Drawer/src/BasicDrawer.vue' import { useDict } from '@/hooks/bootx/useDict' - import { AllocOrder, AllocDetail, detailList } from './Allocation.api' + import { AllocOrder, AllocDetail, detailList } from './AllocationOrder.api' // 使用hooks const { loading } = useTablePage(queryPage) const { dictConvert } = useDict() diff --git a/src/views/daxpay/common/allocation/order/AllocOrderInfo.vue b/src/views/daxpay/common/allocation/order/AllocOrderInfo.vue index 0a8d203dd..e2b5b7216 100644 --- a/src/views/daxpay/common/allocation/order/AllocOrderInfo.vue +++ b/src/views/daxpay/common/allocation/order/AllocOrderInfo.vue @@ -1,11 +1,73 @@ - - - + const { handleCancel, confirmLoading, visible, showable } = useFormEdit() + const { dictConvert } = useDict() + + let order = ref({}) + // 入口 + async function init(record: AllocDetail) { + visible.value = true + order.value = record + confirmLoading.value = true + await get(record.id).then(({ data }) => { + order.value = data + }) + confirmLoading.value = false + } + // 获取信息 + defineExpose({ + init, + }) + + + diff --git a/src/views/daxpay/common/allocation/order/AllocOrderList.vue b/src/views/daxpay/common/allocation/order/AllocOrderList.vue index 83a4ade41..890b43131 100644 --- a/src/views/daxpay/common/allocation/order/AllocOrderList.vue +++ b/src/views/daxpay/common/allocation/order/AllocOrderList.vue @@ -101,12 +101,13 @@ /> +