Commit c6590f5e authored by youjie's avatar youjie

订单列表参数

parent 1a375c82
......@@ -41,7 +41,8 @@
orderState: 0,
GroupType: 5, //机票订单
queryDays: 0,
OutBranchId: -1
OutBranchId: -1,
DirectCustomerId: 0,
},
pageCount: 0,
dataList: [],
......@@ -74,7 +75,12 @@
onLoad(options) {
this.msg.orderState = options.orderState ? options.orderState : 0;
this.b2b_user_info = uni.getStorageSync('b2b_user');
//#ifdef MP-DI
this.msg.DirectCustomerId = this.b2b_user_info.customerId;
//#endif
//#ifdef MP-AG
this.msg.CustomerId = this.b2b_user_info.customerId;
//#endif
},
created() {},
onShow() {
......
......@@ -223,6 +223,12 @@
// #endif
},
onLoad(option) {
//#ifdef MP-DI
this.msg.DirectCustomerId = this.b2b_user_info.customerId;
//#endif
//#ifdef MP-AG
this.msg.CustomerId = this.b2b_user_info.customerId;
//#endif
this.current = option.status || 0;
this.mainColor = this.$uiConfig.mainColor;
let currentPages = getCurrentPages();
......@@ -322,8 +328,6 @@
this.dataList = [];
}
this.msg.MiniAppUserId = this.userInfo.UserId;
this.msg.CustomerId = this.b2b_user_info.customerId;
this.msg.DirectCustomerId = this.b2b_user_info.directCustomerId
this.apipost(
"sellorder_post_GetTravelOrderAppletList",
this.msg,
......
......@@ -178,7 +178,7 @@
pageIndex: 1, //当前页
pageSize: 15, //每页显示条数
VisaOrderStatus: 0, //1 正常 2 取消 3 待付款
ClientType: 1, //1 小程序 2 微信 3 支付宝
ClientType: 0, //1 同业 2 直客
},
showCoupons:false,
couponMessage:[],
......@@ -223,6 +223,12 @@
// #endif
},
onLoad(option) {
//#ifdef MP-DI
this.msg.ClientType = 2
//#endif
//#ifdef MP-AG
this.msg.ClientType = 1
//#endif
this.current = option.status || 0;
this.mainColor = this.$uiConfig.mainColor;
let currentPages = getCurrentPages();
......
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