25841
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -296,6 +296,7 @@ uni-page-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: 20px;
|
||||
width: 64%;
|
||||
.titles {
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user