[绑定关系,弹框]
This commit is contained in:
@@ -127,7 +127,7 @@ Page({
|
||||
siteform(e) {
|
||||
let value = e.detail.value
|
||||
let errMsg = ''
|
||||
if(this.data.regiId === null) errMsg = "请选择区域"
|
||||
// if(this.data.regiId === null) errMsg = "请选择区域"
|
||||
if(this.data.cityId === null || this.data.cityArr[this.data.cityIndex].experience_area_id === null) errMsg = "请选择城市"
|
||||
if(this.data.typesArr[this.data.typesIndex].experience_type_id === null) errMsg = "请选择体验内容"
|
||||
|
||||
@@ -143,7 +143,7 @@ Page({
|
||||
name : value.name,
|
||||
address : value.address,
|
||||
city_id : this.data.cityId,
|
||||
district_id : this.data.regiId,
|
||||
// district_id : this.data.regiId,
|
||||
experience_id : this.data.experienceId,
|
||||
experience_area_id : this.data.cityArr[this.data.cityIndex].experience_area_id,
|
||||
experience_type_id : this.data.typesArr[this.data.typesIndex].experience_type_id
|
||||
|
||||
Reference in New Issue
Block a user