Browse Source

bug修改

wangfei 6 years ago
parent
commit
8927edf3cb
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/user/placeOrder/index.vue

+ 2
- 1
src/pages/user/placeOrder/index.vue View File

248
             customercouponid: '',
248
             customercouponid: '',
249
             from: this.postData.from
249
             from: this.postData.from
250
           }).then((res) => {
250
           }).then((res) => {
251
+            console.log(JSON.stringify(res))
252
+            this.ajaxOff = true
251
             if (this.userInfo.customer.MapUser === '' || (this.userInfo.customer.MapUser !== '' && sessionStorage.getItem('from') !== 'sales')) {
253
             if (this.userInfo.customer.MapUser === '' || (this.userInfo.customer.MapUser !== '' && sessionStorage.getItem('from') !== 'sales')) {
252
-              console.log(JSON.stringify(res))
253
               this.ajaxOff = true
254
               this.ajaxOff = true
254
               this.$router.push({ name: 'placeOrderDetail', query: { info: JSON.stringify(this.selGoods), caseid: encodeURI(this.caseId), areaid: encodeURI(this.areaId), areaname: encodeURI(this.areaName), areaid: encodeURI(this.areaId), tableid: encodeURI(this.tableId), tableno: encodeURI(this.tableNo), ordersid: res.OrdersId } })
255
               this.$router.push({ name: 'placeOrderDetail', query: { info: JSON.stringify(this.selGoods), caseid: encodeURI(this.caseId), areaid: encodeURI(this.areaId), areaname: encodeURI(this.areaName), areaid: encodeURI(this.areaId), tableid: encodeURI(this.tableId), tableno: encodeURI(this.tableNo), ordersid: res.OrdersId } })
255
             } else {
256
             } else {