|
@@ -87,10 +87,19 @@ export default {
|
|
|
title: '加载中'
|
|
|
});
|
|
|
var yyshopInfo = uni.getStorageSync("yyshopInfo");
|
|
|
- this.$http('opendetail/getOrderTimes', {
|
|
|
- shopId:yyshopInfo.id,
|
|
|
- stationID:this.stationID
|
|
|
- }, 'GET').then(res => {
|
|
|
+ if(this.stationID){
|
|
|
+ var cs={
|
|
|
+ shopId:yyshopInfo.id,
|
|
|
+ stationID:this.stationID
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ var cs={
|
|
|
+ shopId:yyshopInfo.id,
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ this.$http('opendetail/getOrderTimes', cs, 'GET').then(res => {
|
|
|
uni.hideLoading();
|
|
|
this.timeList = res.data || []
|
|
|
if (!this.timeList[0]) return
|