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 @@
-
-
-
-
+