- 订单详情
+ {{detail.status_text}}
下单日期:
- {{detail.a}}
+ {{detail.create_time}}
订单号:
- {{detail.b}}
+ {{detail.order_id}}
@@ -16,51 +16,43 @@
产品信息
产品类型:
- {{detail.c}}
+ {{detail.type_id == 1 ? '线路' : '导游'}}
- 产品类型:
- {{detail.d}}
+ 产品名称:
+ {{detail.goods_title}}
- 产品类型:
- {{detail.e}}
+ 规格名称:
+ {{detail.specifications_name}}
- 产品类型:
- {{detail.f}}
+ 产品单价:
+ {{detail.money / 100}}元
订单信息
- 下单日期:
- {{detail.g}}
+ 订单数量:
+ {{detail.num}}
- 订单号:
- {{detail.h}}
+ 总价:
+ {{detail.pay_money / 100}}元
- 订单号:
- {{detail.i}}
+ 使用时间:
+ {{detail.use_date}}
-
- 订单号:
- {{detail.j}}
+
+ 出行人信息:
+ {{detail.contact.name}}
-
- 出行人手机号1:
- {{detail.k}}
-
-
- 订单号:
- {{detail.l}}
-
-
- 订单号:
- {{detail.m}}
+
+ 出行人手机号:
+ {{detail.contact.tel}}
@@ -70,21 +62,16 @@
export default {
data() {
return {
- detail: {
- a: '2024-11-23',
- b: 'JD85212456964232',
- c: '产品类型产品类型产品类型产品类型',
- d: '产品名称产品名称产品名称产品名称 产品名称',
- e: '规格名称规格名称规格名称规格名称',
- f: '800元',
- g: '2',
- h: '1600元',
- i: '2024-11-23',
- j: '于冰',
- k: '15036660000',
- l: '孙宁',
- m: '13188889999',
- }
+ detail: {}
+ }
+ },
+ onLoad(option) {
+ if(option.id) {
+ this.Post({
+ child_id: option.id
+ },'/api/Merchants/detail').then(res => {
+ this.detail = res.data
+ })
}
}
}
diff --git a/subPackages/order/orderList.vue b/subPackages/order/orderList.vue
index 2931006..c508adc 100644
--- a/subPackages/order/orderList.vue
+++ b/subPackages/order/orderList.vue
@@ -1,44 +1,44 @@