From ee9f51821a61ceab9a2a477e799215a1db2b2233 Mon Sep 17 00:00:00 2001
From: Songsl <2431955898@qq.com>
Date: Sat, 25 Apr 2026 20:50:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E7=BB=AD=E8=B4=B9=E6=A8=A1=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/modules/mould/handleFee.ts | 22 +++
src/components/common/Form.vue | 287 ++++++++++++++++++----------
src/views/mould/handleFee/index.vue | 249 +++++++++++++++++++++++-
src/views/mould/handleFee/option.ts | 31 +++
4 files changed, 481 insertions(+), 108 deletions(-)
create mode 100644 src/api/modules/mould/handleFee.ts
create mode 100644 src/views/mould/handleFee/option.ts
diff --git a/src/api/modules/mould/handleFee.ts b/src/api/modules/mould/handleFee.ts
new file mode 100644
index 0000000..8c1f84d
--- /dev/null
+++ b/src/api/modules/mould/handleFee.ts
@@ -0,0 +1,22 @@
+import { request } from '@/api'
+
+//获取手续费模板
+export const getFeeSettingList = () => {
+ return request.get('/feeHandl/getFeeSettingList')
+}
+//获取手续费模板详情
+export const getFeeSettingDetail = (params: any) => {
+ return request.get('/feeHandl/getFeeSettingDetail', { ...params })
+}
+//创建手续费模板
+export const createFeeSetting = (params: any) => {
+ return request.post('/feeHandl/createFeeSetting', { ...params })
+}
+//编辑手续费模板
+export const editFeeSetting = (params: any) => {
+ return request.post('/feeHandl/editFeeSetting', { ...params })
+}
+//设置手续费模板详情
+export const setFeeSettingDetail = (params: any) => {
+ return request.post('/feeHandl/setFeeSettingDetail', { ...params })
+}
diff --git a/src/components/common/Form.vue b/src/components/common/Form.vue
index ac15714..5210e66 100644
--- a/src/components/common/Form.vue
+++ b/src/components/common/Form.vue
@@ -1,76 +1,140 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ option.label }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ option.label }}
+
+
+
+
-
-
+
+
-
-
-
- {{ option.label }}
-
-
+
+
+
+ {{ option.label }}
+
+
-
-
-
- {{ option.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ option.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/views/mould/handleFee/index.vue b/src/views/mould/handleFee/index.vue
index 8ae2d48..b9413f0 100644
--- a/src/views/mould/handleFee/index.vue
+++ b/src/views/mould/handleFee/index.vue
@@ -1,7 +1,248 @@
-
-
- 手续费模板
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/src/views/mould/handleFee/option.ts b/src/views/mould/handleFee/option.ts
new file mode 100644
index 0000000..ee6238e
--- /dev/null
+++ b/src/views/mould/handleFee/option.ts
@@ -0,0 +1,31 @@
+export const formDataList = [
+ {
+ prop: 'name',
+ label: '名称',
+ type: 'input' as const,
+ placeholder: '请输入名称',
+ width: '300px',
+ },
+ {
+ prop: 'status',
+ label: '是否开启',
+ type: 'switch' as const,
+ },
+ {
+ prop: 'type',
+ label: '是否默认',
+ type: 'switch' as const,
+ },
+ {
+ prop: 'description',
+ label: '备注',
+ type: 'textarea' as const,
+ placeholder: '请输入备注',
+ width: '300px',
+ },
+]
+export const formRulesList = {
+ name: [{ required: true, message: '请输入名称', trigger: ['change'] }],
+ // type: [{ required: true, message: '请选择是否默认', trigger: ['change'] }],
+ description: [{ required: true, message: '请输入备注', trigger: ['change'] }],
+}