diff --git a/src/api/glt/gltTicketTemplate/model/index.ts b/src/api/glt/gltTicketTemplate/model/index.ts index dbd5a11..263393c 100644 --- a/src/api/glt/gltTicketTemplate/model/index.ts +++ b/src/api/glt/gltTicketTemplate/model/index.ts @@ -4,14 +4,14 @@ import type { PageParam } from '@/api'; * 水票 */ export interface GltTicketTemplate { - // + // id?: number; // 关联商品ID goodsId?: number; // 名称 name?: string; // 启用 - enabled?: string; + enabled?: boolean; // 单位名称 unitName?: string; // 最小购买数量 diff --git a/src/views/glt/gltTicketTemplate/components/gltTicketTemplateEdit.vue b/src/views/glt/gltTicketTemplate/components/gltTicketTemplateEdit.vue index 1b67119..6753ca9 100644 --- a/src/views/glt/gltTicketTemplate/components/gltTicketTemplateEdit.vue +++ b/src/views/glt/gltTicketTemplate/components/gltTicketTemplateEdit.vue @@ -5,6 +5,7 @@ :visible="visible" :maskClosable="false" :maxable="maxable" + :confirm-loading="loading" :title="isUpdate ? '编辑水票' : '添加水票'" :body-style="{ paddingBottom: '28px' }" @update:visible="updateVisible" @@ -19,106 +20,215 @@ styleResponsive ? { md: 19, sm: 19, xs: 24 } : { flex: '1' } " > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 基本信息 + + + + + + + +
+ {{ goods.name }} + ¥{{ goods.price || 0 }} +
+
+ +
+ {{ goodsLoading ? '加载中...' : '暂无商品数据' }} +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + {{ selectedGoods.name }} + ¥{{ selectedGoods.price || 0 }} + ID: {{ selectedGoods.goodsId }} + + + +
+ + + 发放规则 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 支付成功当刻 + 下个月同日 + + + + + + + + + + + + + + + + + +