Commit f83f948a authored by youjie's avatar youjie

儿童年龄

parent a84092d2
......@@ -74,7 +74,7 @@
</text>
<uni-section title="" type="line">
<uni-data-select :ref="`select_${index}`"
placeholder="年龄(多儿童需选多次)"
:placeholder="`年龄${item.numberOfChildren>1?'(选多次)':''}`"
v-model="item.ChildAgeDetails"
:localdata="TypeList"
:clear="false"
......@@ -177,8 +177,7 @@ export default {
this.parameters.searchroomGroup[index].ChildAgeTexts[list.length-1] = e
}
}
this.parameters.searchroomGroup[index].ChildAgeDetails = e;
this.parameters.searchroomGroup[index].ChildAgeDetails = e
},
etChange(e,index){
this.parameters.searchroomGroup[index].numberOfChildren = e.value;
......@@ -186,6 +185,7 @@ export default {
let num = this.parameters.searchroomGroup[index].ChildAgeTexts.length-e.value
for(let i=0;i<num;i++){
this.parameters.searchroomGroup[index].ChildAgeTexts.splice(i,1)
this.parameters.searchroomGroup[index].ChildAgeDetails = null
}
}
this.peopleChange()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment