This commit is contained in:
曹辉 2023-04-07 10:29:05 +08:00
parent 3f99c4f3f2
commit 4d93e5a546
3 changed files with 2 additions and 4 deletions

View File

@ -292,7 +292,7 @@
this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5) this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5)
this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5) this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5)
this.orderlist.patientId = this.patientId this.orderlist.patientId = this.patientId
this.orderlist.serviceAddress = this.personInfo.areaName + this.personInfo.address this.orderlist.serviceAddress = this.personInfo.address
submitAppointment(this.orderlist).then(res => { submitAppointment(this.orderlist).then(res => {
if (res.code == 500) { if (res.code == 500) {
that.$refs.uToast.show({ that.$refs.uToast.show({

View File

@ -157,7 +157,6 @@
* 点击城市后回调 * 点击城市后回调
*/ */
async changCity(index, item) { async changCity(index, item) {
console.log(index, this.tabCurrentIndex)
if (this.tabbars[index].id != item.id) { if (this.tabbars[index].id != item.id) {
this.tabbars[index].localName = item.areaName; this.tabbars[index].localName = item.areaName;
this.tabbars[index].id = item.areaCode; this.tabbars[index].id = item.areaCode;
@ -188,7 +187,6 @@
parentId: 999999999, parentId: 999999999,
sort: null, sort: null,
}) })
console.log(this.tabbars)
} }
this.tabCurrentIndex++; this.tabCurrentIndex++;
// //

View File

@ -166,11 +166,11 @@
}, },
// //
getpickerParentValue(e) { getpickerParentValue(e) {
e = e.filter(ele => ele.localName != '暂不选择')
this.addresslength = e this.addresslength = e
this.infolist.address = '' this.infolist.address = ''
this.infolist.areaCode = '' this.infolist.areaCode = ''
if (e && e.length >= 1) { if (e && e.length >= 1) {
e = e.filter(ele => ele.localName != '暂不选择')
e.forEach(el => { e.forEach(el => {
this.infolist.address = this.infolist.address + el.localName this.infolist.address = this.infolist.address + el.localName
}) })