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
@@ -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 } });
@@ -38,6 +38,7 @@ const [Form, formApi] = useVbenForm({
showDefaultActions: false,
});
// TODO @xingyu:城市处理;
const [Modal, modalApi] = useVbenModal({
async onConfirm() {
const { valid } = await formApi.validate();
@@ -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
@@ -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 } });
@@ -34,6 +34,7 @@ const [Form, formApi] = useVbenForm({
show: () => false,
},
},
// TODO @xingyu:发货默认选中第一个?
{
fieldName: 'expressType',
label: '发货方式',