Commit c6590f5e authored by youjie's avatar youjie

订单列表参数

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