shish 4 лет назад
Родитель
Сommit
bc75fbfc05
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      hdApp/src/pagesPurchase/order.vue

+ 8 - 8
hdApp/src/pagesPurchase/order.vue

@@ -17,10 +17,10 @@
               <text class="explain" @click="getBookItemExplain(ghsInfo)">预订说明</text>
             </view>
             <view class="store_btn">
-              <view class="btn_entrance" @click="pageTo({ url: '/admin/clear/list',query: {ghsId: ghsInfo.id}})">结账单</view>
+              <view class="btn_entrance" @click="pageTo({ url: '/admin/clear/list?ghsId='+ghsInfo.id})">结账单</view>
               <view class="btn_entrance" @click="pageTo({url:'/pagesPurchase/shopping'})" > 采购记录 </view>
               <view class="btn_entrance" @click="settleAccounts(ghsInfo)"> 待结订单 </view>
-              <view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange',query: {ghsId: ghsInfo.id}})">欠款变动明细</view>
+              <view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId='+ghsInfo.id})">欠款变动明细</view>
             </view>
             <text v-if="ghsInfo.isOpen == 0" style="position:absolute;bottom:90upx;left:120upx;color:#3385FF;">休息了</text>
             <text v-if="ghsInfo.isOpen == 0" style="position:absolute;bottom:90upx;right:50upx;color:#3385FF;">营业 {{ghsInfo.openStartTime}}-{{ghsInfo.openEndTime}}</text>
@@ -71,7 +71,7 @@ export default {
       })
     },
 		inviteGhs(){
-      this.pageTo({ url: '/pagesInvite/inviteShop' })
+      this.pageTo({ url: '/pagesInvite/inviteShop'})
 		},
     enterShop(item) {
       if(item.isOpen == 0){
@@ -79,7 +79,7 @@ export default {
         return false
       }
       const { id } = item
-      this.pageTo({url: '/pagesPurchase/ghsProduct',query:{id:id},type:2})
+      this.pageTo({url: '/pagesPurchase/ghsProduct?id='+id,type:2})
     },
     bookItem(item){
       //没有设置每公斤运费则不能进入预订页面
@@ -88,7 +88,7 @@ export default {
         return false
       }
       const { id } = item
-      this.pageTo({url: '/pagesPurchase/bookProduct',query:{id:id},type:2})
+      this.pageTo({url: '/pagesPurchase/bookProduct?id='+id,type:2})
     },
     getBookItemExplain(item){
       if(item.kiloFee && Number(item.kiloFee)<=0){
@@ -105,11 +105,11 @@ export default {
         this.supplierList = res.data.list
       })
     },
-    // 结账
+    //结账
     settleAccounts (item) {
-      this.pageTo({ url: '/pagesPurchase/gathering',query:{id:item.id}})
+      this.pageTo({ url: '/pagesPurchase/gathering?id='+item.id})
     },
-    // 采购记录详情
+    //采购记录详情
     gotoDetails (val) {
       this.pageTo({ url: '/pagesPurchase/purDetails?status=' + val.status + '&id=' + val.id, type:2 })
     }