fix(erp): 修复单据选择弹窗宽高与嵌套关闭问题
- 调整 ERP 单据选择弹窗宽度为 80% - 固定选择弹窗 Grid 高度,避免表格被压扁 - 禁用主表单弹窗遮罩点击关闭,避免子弹窗操作误关闭主弹窗 - 同步处理 web-antd、web-ele、web-antdv-nextpull/359/MERGE
parent
da85dcf87c
commit
651a525187
|
|
@ -176,6 +176,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: usePurchaseInGridColumns(),
|
columns: usePurchaseInGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -95,14 +95,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择采购入库单"
|
title="选择采购入库单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购入库单列表(仅展示可付款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购入库单列表(仅展示可付款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -99,14 +99,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择采购退货单"
|
title="选择采购退货单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购退货单列表(仅展示需退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购退货单列表(仅展示需退款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleOutGridColumns(),
|
columns: useSaleOutGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -91,14 +91,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择销售出库单"
|
title="选择销售出库单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售出库单列表(仅展示可收款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售出库单列表(仅展示可收款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -95,14 +95,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择销售退货单"
|
title="选择销售退货单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售退货单列表(仅展示可退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售退货单列表(仅展示可退款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可出库)" />
|
<Grid table-title="销售订单列表(仅展示可出库)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可退货)" />
|
<Grid table-title="销售订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -176,6 +176,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: usePurchaseInGridColumns(),
|
columns: usePurchaseInGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -95,14 +95,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择采购入库单"
|
title="选择采购入库单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购入库单列表(仅展示可付款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购入库单列表(仅展示可付款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -99,14 +99,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择采购退货单"
|
title="选择采购退货单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购退货单列表(仅展示需退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购退货单列表(仅展示需退款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleOutGridColumns(),
|
columns: useSaleOutGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -91,14 +91,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择销售出库单"
|
title="选择销售出库单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售出库单列表(仅展示可收款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售出库单列表(仅展示可收款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -95,14 +95,12 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择销售退货单"
|
title="选择销售退货单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售退货单列表(仅展示可退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售退货单列表(仅展示可退款的单据)"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可出库)" />
|
<Grid table-title="销售订单列表(仅展示可出库)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -108,12 +108,13 @@ function handleOk() {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Modal
|
<Modal
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
@ok="handleOk"
|
width="80%"
|
||||||
|
@cancel.stop="open = false"
|
||||||
|
@ok.stop="handleOk"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可退货)" />
|
<Grid table-title="销售订单列表(仅展示可退货)" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -176,6 +176,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: usePurchaseInGridColumns(),
|
columns: usePurchaseInGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -95,19 +95,17 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ElDialog
|
<ElDialog
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择采购入库单"
|
title="选择采购入库单"
|
||||||
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购入库单列表(仅展示可付款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购入库单列表(仅展示可付款的单据)"
|
|
||||||
/>
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -99,19 +99,17 @@ defineExpose({ open: openModal });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ElDialog
|
<ElDialog
|
||||||
class="!w-[50vw]"
|
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择采购退货单"
|
title="选择采购退货单"
|
||||||
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="采购退货单列表(仅展示需退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="采购退货单列表(仅展示需退款的单据)"
|
|
||||||
/>
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleOutGridColumns(),
|
columns: useSaleOutGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -92,18 +92,17 @@ defineExpose({ open: openModal });
|
||||||
<template>
|
<template>
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
class="!w-[50vw]"
|
|
||||||
title="选择销售出库单"
|
title="选择销售出库单"
|
||||||
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售出库单列表(仅展示可收款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售出库单列表(仅展示可收款的单据)"
|
|
||||||
/>
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer">
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useSaleReturnGridColumns(),
|
columns: useSaleReturnGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -96,18 +96,17 @@ defineExpose({ open: openModal });
|
||||||
<template>
|
<template>
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
class="!w-[50vw]"
|
|
||||||
title="选择销售退货单"
|
title="选择销售退货单"
|
||||||
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid
|
<Grid table-title="销售退货单列表(仅展示可退款的单据)" />
|
||||||
class="max-h-[600px]"
|
|
||||||
table-title="销售退货单列表(仅展示可退款的单据)"
|
|
||||||
/>
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer">
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -110,14 +110,15 @@ function handleOk() {
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
width="50%"
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@close="open = false"
|
@close="open = false"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -110,14 +110,15 @@ function handleOk() {
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
width="50%"
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@close="open = false"
|
@close="open = false"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="采购订单列表(仅展示可退货)" />
|
<Grid table-title="采购订单列表(仅展示可退货)" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -110,14 +110,15 @@ function handleOk() {
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
width="50%"
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可出库)" />
|
<Grid table-title="销售订单列表(仅展示可出库)" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
<Modal
|
<Modal
|
||||||
:title="getTitle"
|
:title="getTitle"
|
||||||
class="w-3/4"
|
class="w-3/4"
|
||||||
|
:close-on-click-modal="false"
|
||||||
:show-confirm-button="formType !== 'detail'"
|
:show-confirm-button="formType !== 'detail'"
|
||||||
>
|
>
|
||||||
<Form class="mx-3">
|
<Form class="mx-3">
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ const [Grid] = useVbenVxeGrid({
|
||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: useOrderGridColumns(),
|
columns: useOrderGridColumns(),
|
||||||
height: 'auto',
|
height: 520,
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
proxyConfig: {
|
proxyConfig: {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
@ -110,14 +110,15 @@ function handleOk() {
|
||||||
<ElDialog
|
<ElDialog
|
||||||
v-model="open"
|
v-model="open"
|
||||||
title="选择关联订单"
|
title="选择关联订单"
|
||||||
width="50%"
|
width="80%"
|
||||||
|
@click.stop
|
||||||
@confirm="handleOk"
|
@confirm="handleOk"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
>
|
>
|
||||||
<Grid class="max-h-[600px]" table-title="销售订单列表(仅展示可退货)" />
|
<Grid table-title="销售订单列表(仅展示可退货)" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<ElButton @click="open = false">取消</ElButton>
|
<ElButton @click.stop="open = false">取消</ElButton>
|
||||||
<ElButton type="primary" @click="handleOk">确定</ElButton>
|
<ElButton type="primary" @click.stop="handleOk">确定</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue