From 8c7cb7b2098e473b553a87a62dd34c0bb2baa9ea Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Tue, 11 Mar 2025 10:49:36 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/client/client-add-or-update.vue | 8 +++----
.../material/material-add-or-update.vue | 24 +++++++------------
2 files changed, 13 insertions(+), 19 deletions(-)
diff --git a/base-vue/src/views/modules/client/client-add-or-update.vue b/base-vue/src/views/modules/client/client-add-or-update.vue
index e36ddae..fadbdcd 100644
--- a/base-vue/src/views/modules/client/client-add-or-update.vue
+++ b/base-vue/src/views/modules/client/client-add-or-update.vue
@@ -21,6 +21,8 @@
v-model="dataForm.isOn"
active-color="#409EFF"
inactive-color="#F56C6C"
+ :active-value="1"
+ :inactive-value="0"
/>
@@ -42,7 +44,7 @@
juridicalPerson: '',
address: '',
industry: '',
- isOn: false
+ isOn: 0
},
dataRule: {
clientName: [
@@ -78,7 +80,6 @@
this.dataForm.address = data.client.address
this.dataForm.industry = data.client.industry
this.dataForm.isOn = data.client.isOn
- this.dataForm.createTime = data.client.createTime
}
})
}
@@ -97,8 +98,7 @@
'juridicalPerson': this.dataForm.juridicalPerson,
'address': this.dataForm.address,
'industry': this.dataForm.industry,
- 'isOn': this.dataForm.isOn,
- 'createTime': this.dataForm.createTime
+ 'isOn': this.dataForm.isOn
})
}).then(({data}) => {
if (data && data.code === 0) {
diff --git a/base-vue/src/views/modules/material/material-add-or-update.vue b/base-vue/src/views/modules/material/material-add-or-update.vue
index 5d92f55..71cf8ec 100644
--- a/base-vue/src/views/modules/material/material-add-or-update.vue
+++ b/base-vue/src/views/modules/material/material-add-or-update.vue
@@ -14,10 +14,13 @@
-
-
-
-
+