review:【ANTD】相关的代码

This commit is contained in:
YunaiV
2025-06-15 17:24:41 +08:00
parent 797730ca01
commit 52e04179e4
8 changed files with 12 additions and 35 deletions

View File

@@ -30,6 +30,7 @@ function openAfterSaleDetail(row: MallAfterSaleApi.AfterSale) {
push({ name: 'TradeAfterSaleDetail', params: { id: row.id } });
}
// TODO @xingyu缺详情页
/** 查看订单详情 */
function openOrderDetail(row: MallAfterSaleApi.AfterSale) {
push({ name: 'TradeOrderDetail', params: { id: row.id } });

View File

@@ -38,6 +38,7 @@ const [Form, formApi] = useVbenForm({
showDefaultActions: false,
});
// TODO @xingyu城市处理
const [Modal, modalApi] = useVbenModal({
async onConfirm() {
const { valid } = await formApi.validate();

View File

@@ -175,6 +175,7 @@ onMounted(() => {
<template>
<Page auto-content-height>
<!-- TODO @xingyu样式乱的 -->
<Card class="mb-4 h-[10%]">
<template class="flex flex-row gap-4">
<SummaryCard
@@ -215,6 +216,7 @@ onMounted(() => {
/>
</template>
</Card>
<!-- TODO @xingyu核销弹不出来 -->
<Grid class="h-[80%]" table-title="核销订单">
<template #toolbar-tools>
<TableAction

View File

@@ -29,6 +29,7 @@ function onRefresh() {
gridApi.query();
}
const { push } = useRouter();
// TODO xingyu貌似详情还点不进去哇
/** 详情 */
function handleDetail(row: MallOrderApi.Order) {
push({ name: 'TradeOrderDetail', params: { id: row.id } });

View File

@@ -34,6 +34,7 @@ const [Form, formApi] = useVbenForm({
show: () => false,
},
},
// TODO @xingyu发货默认选中第一个
{
fieldName: 'expressType',
label: '发货方式',