Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
@@ -89,15 +89,10 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
confirm(val) {
|
||||
this.form.type = val[0].value;
|
||||
this.form.typeName = val[0].label;
|
||||
},
|
||||
|
||||
submit() {
|
||||
if (!!!this.form.title) return this.$u.toast("请输入标题");
|
||||
if (!!!this.form.content) return this.$u.toast("请输入详细描述");
|
||||
if (!!!this.form.typeName) return this.$u.toast("请选择农产品类型");
|
||||
if (!!!this.form.type) return this.$u.toast("请选择农产品类型");
|
||||
if (!!!this.form.contactPerson) return this.$u.toast("请输入联系人")
|
||||
if (!!!this.form.phone) return this.$u.toast("请输入联系方式");
|
||||
if (!!!this.form.address) return this.$u.toast("请输入地址");
|
||||
|
||||
Reference in New Issue
Block a user