From a71d703836b196ba77ef19be13d26817567a972b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Thu, 23 Dec 2021 18:27:09 +0800 Subject: [PATCH] 25841 --- src/apps/AppMarryAndDie/Add.vue | 5 +++-- src/apps/AppMarryAndDie/AppMarryAndDie.vue | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apps/AppMarryAndDie/Add.vue b/src/apps/AppMarryAndDie/Add.vue index 5e8fdc7f..d6d5cf60 100644 --- a/src/apps/AppMarryAndDie/Add.vue +++ b/src/apps/AppMarryAndDie/Add.vue @@ -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) { diff --git a/src/apps/AppMarryAndDie/AppMarryAndDie.vue b/src/apps/AppMarryAndDie/AppMarryAndDie.vue index 6d9902a2..4a1ba087 100644 --- a/src/apps/AppMarryAndDie/AppMarryAndDie.vue +++ b/src/apps/AppMarryAndDie/AppMarryAndDie.vue @@ -296,6 +296,7 @@ uni-page-body { display: flex; flex-direction: column; margin-right: 20px; + width: 64%; .titles { font-size: 30px; font-weight: 500;