送洗显示信息
This commit is contained in:
parent
fe60d5a1cf
commit
d79e38e44c
@ -5,7 +5,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="comment-container" v-if="isShow">
|
<view class="comment-container" v-if="isShow">
|
||||||
<view v-for="(item, index) in evalueList" :key="index" class="itme">
|
<view v-for="(item, index) in evalueList" :key="index" class="itme">
|
||||||
<comment :reply="true" :content="item" v-if="isShow"></comment>
|
<comment :reply="true" :content="item"></comment>
|
||||||
</view>
|
</view>
|
||||||
<u-empty text="暂无评价" mode="list" v-if="!evalueList.length" margin-top="120" color="#333"></u-empty>
|
<u-empty text="暂无评价" mode="list" v-if="!evalueList.length" margin-top="120" color="#333"></u-empty>
|
||||||
</view>
|
</view>
|
||||||
@ -25,7 +25,7 @@ export default {
|
|||||||
evaluateSpec: {},
|
evaluateSpec: {},
|
||||||
loadStatus: 'loadmore',
|
loadStatus: 'loadmore',
|
||||||
timer: true,
|
timer: true,
|
||||||
isShow: false,
|
isShow: false, // 是否显示组建
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
@ -411,12 +411,16 @@ export default {
|
|||||||
radioChange(e){
|
radioChange(e){
|
||||||
const ids = e.split(" ");
|
const ids = e.split(" ");
|
||||||
// console.log(ids)
|
// console.log(ids)
|
||||||
let checkedGoods = {};
|
let checkedGoods;
|
||||||
this.orderList.forEach(order => {
|
this.orderList.forEach(order => {
|
||||||
if(order.order_id == ids[0]) {
|
if(order.order_id == ids[0]) {
|
||||||
Object.assign(checkedGoods, { store: order.extend_store });
|
checkedGoods = {
|
||||||
Object.assign(checkedGoods, { order_sn: order.order_sn });
|
store: order.extend_store,
|
||||||
Object.assign(checkedGoods, { order_id: order.order_id });
|
order_sn: order.order_sn,
|
||||||
|
order_id: order.order_id,
|
||||||
|
reciver_info: order.extend_order_common.reciver_info,
|
||||||
|
reciver_name: order.extend_order_common.reciver_name
|
||||||
|
}
|
||||||
order.extend_order_goods.forEach(goods => {
|
order.extend_order_goods.forEach(goods => {
|
||||||
if(goods.goods_id == ids[1]) {
|
if(goods.goods_id == ids[1]) {
|
||||||
Object.assign(checkedGoods, { goods: goods });
|
Object.assign(checkedGoods, { goods: goods });
|
||||||
@ -425,6 +429,14 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log(this.checkedGoods);
|
||||||
|
this.setDefaultValue();
|
||||||
|
},
|
||||||
|
setDefaultValue() {
|
||||||
|
this.name = this.checkedGoods.reciver_name;
|
||||||
|
this.phone = this.checkedGoods.reciver_info.mob_phone;
|
||||||
|
this.area = this.checkedGoods.reciver_info.area;
|
||||||
|
this.address = this.checkedGoods.reciver_info.street;
|
||||||
},
|
},
|
||||||
setArea(area) {
|
setArea(area) {
|
||||||
// console.log(area);
|
// console.log(area);
|
||||||
|
Loading…
Reference in New Issue
Block a user