This commit is contained in:
花有清香月有阴
2021-12-23 18:27:09 +08:00
parent ef8dcd3977
commit a71d703836
2 changed files with 4 additions and 2 deletions

View File

@@ -84,6 +84,7 @@ export default {
onLoad() {
console.log(this.user.id)
this.$dict.load('marriageType', 'modeType')
this.forms.areaId = this.user.areaId
},
mounted() {},
@@ -94,7 +95,7 @@ export default {
this.$refs.uForm.validate((valid) => {
if (valid) {
if (!this.forms.type) {
return this.$u.toast('请选择')
return this.$u.toast('请选择类型')
}
if (!this.forms.name) {
return this.$u.toast('请输入事主姓名')
@@ -102,7 +103,7 @@ export default {
if (!this.forms.phone) {
return this.$u.toast('请输入联系电话')
}
if (!this.forms.address) {
if (!this.forms.areaId) {
return this.$u.toast('请输入地址')
}
if (!this.forms.content) {

View File

@@ -296,6 +296,7 @@ uni-page-body {
display: flex;
flex-direction: column;
margin-right: 20px;
width: 64%;
.titles {
font-size: 30px;
font-weight: 500;