From 05b9be7c2eb0895778dd5c0104682acf868c81bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Mon, 16 Mar 2026 12:00:09 +0800
Subject: [PATCH] =?UTF-8?q?feat(glt):=20=E6=B7=BB=E5=8A=A0=E6=B0=B4?=
=?UTF-8?q?=E7=A5=A8=E6=A8=A1=E6=9D=BF=E6=AD=A5=E9=95=BF=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E8=AE=A2=E5=8D=95=E7=BC=96=E8=BE=91?=
=?UTF-8?q?=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 GltTicketTemplate 模型中新增 step 字段定义
- 为水票模板编辑界面添加步长输入组件
- 初始化表单中 step 字段默认值为 1
- 注释掉水票订单编辑界面中的冗余表单项
- 恢复订单编辑界面中修改按钮的显示
- 为经销商订单列表添加订单状态标签显示
- 在订单列表中增加订单状态列配置
- 注释掉开发环境配置中的服务器API URL
---
.env.development | 2 +-
src/api/glt/gltTicketTemplate/model/index.ts | 2 +
.../components/gltTicketOrderEdit.vue | 154 +++++++++---------
src/views/glt/gltTicketOrder/index.vue | 4 +-
.../components/gltTicketTemplateEdit.vue | 13 ++
src/views/shop/shopDealerOrder/index.vue | 34 +++-
6 files changed, 127 insertions(+), 82 deletions(-)
diff --git a/.env.development b/.env.development
index efac029..476efd7 100644
--- a/.env.development
+++ b/.env.development
@@ -1,6 +1,6 @@
VITE_APP_NAME=后台管理(开发环境)
#VITE_API_URL=http://127.0.0.1:9200/api
-VITE_SERVER_API_URL=http://127.0.0.1:8000/api
+#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
#VITE_API_URL=https://glt-api.websoft.top/api
diff --git a/src/api/glt/gltTicketTemplate/model/index.ts b/src/api/glt/gltTicketTemplate/model/index.ts
index 0e18f2a..54e1155 100644
--- a/src/api/glt/gltTicketTemplate/model/index.ts
+++ b/src/api/glt/gltTicketTemplate/model/index.ts
@@ -28,6 +28,8 @@ export interface GltTicketTemplate {
releasePeriods?: number;
// 首期释放时机:0=支付成功当刻;1=下个月同日
firstReleaseMode?: number;
+ // 步长
+ step?: number;
// 用户ID
userId?: number;
// 排序(数字越小越靠前)
diff --git a/src/views/glt/gltTicketOrder/components/gltTicketOrderEdit.vue b/src/views/glt/gltTicketOrder/components/gltTicketOrderEdit.vue
index 69d53dc..4a802c5 100644
--- a/src/views/glt/gltTicketOrder/components/gltTicketOrderEdit.vue
+++ b/src/views/glt/gltTicketOrder/components/gltTicketOrderEdit.vue
@@ -19,40 +19,44 @@
styleResponsive ? { md: 19, sm: 19, xs: 24 } : { flex: '1' }
"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.orderNo }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 显示
- 隐藏
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/glt/gltTicketOrder/index.vue b/src/views/glt/gltTicketOrder/index.vue
index 8fe1423..f297d78 100644
--- a/src/views/glt/gltTicketOrder/index.vue
+++ b/src/views/glt/gltTicketOrder/index.vue
@@ -117,8 +117,8 @@
-
-
+ 修改
+
+
+
+
+
+
+
+
+
+
+ 未完成
+ 已完成
+ 已关闭
+ 关闭中
+ 退款申请中
+ 退款被拒绝
+ 已退款
+ 客户端申请退款
+
+
+
@@ -282,7 +308,13 @@
key: 'createTime',
align: 'center',
width: 180
- }
+ },
+ {
+ title: '订单状态',
+ dataIndex: 'orderStatus',
+ key: 'orderStatus',
+ align: 'center'
+ },
// {
// title: '操作',
// key: 'action',