diff --git a/my/order/payModifyDd.vue b/my/order/payModifyDd.vue index ac7aeaa..5766996 100644 --- a/my/order/payModifyDd.vue +++ b/my/order/payModifyDd.vue @@ -150,7 +150,16 @@ - 备注 + + 给技师捎句话 + + + + + {{item.title}} + + @@ -333,7 +342,15 @@ couponDataList:'', orderXm:[], number:1, - technicianRate:'' + technicianRate:'', + selected:[], + selectedString:'', + fuwuBtn: [ + {'title':'请速回电'}, + {'title':'勿大声敲门'}, + {'title':'尽快上门服务'}, + {'title':'直接来即可'}, + ], } }, onLoad(e) { @@ -357,7 +374,7 @@ this.youhuiF(this.couponId) } this.orderXm=this.$queue.getData('xiangmu');//上一个页面带过来的全部数据 - this.textareaData=this.orderXm.remark + // this.textareaData=this.orderXm.remark this.number=this.orderXm.massageNum console.log('this.orderXm',this.orderXm) this.youhui() @@ -408,6 +425,19 @@ // #endif }, methods: { + gukeBtn(item) { + var index = this.selected.indexOf(item); + if (index === -1) { + this.selected.push(item); + } else { + this.selected.splice(index, 1); + } + var data = []; + for (var i = 0; i < this.selected.length; i++) { + data.push(this.selected[i].title) + } + this.textareaData = data.join(",") + }, changeValue(value){ this.number=value }, @@ -1369,6 +1399,34 @@