Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/SpaceOfCheng/wechat into dev

wangfei 6 years ago
parent
commit
6556b88f69
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/user/placeOrderDetail/index.vue

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

39
           </div>
39
           </div>
40
         </div>
40
         </div>
41
       </div>
41
       </div>
42
-      <span>下单人:{{userInfo.CustomerName}} {{userInfo.Phone}}</span>
42
+      <span>下单人:{{userInfo.customer.CustomerName}} {{userInfo.customer.Phone}}</span>
43
       <div class="bottom">
43
       <div class="bottom">
44
         <a @click="cancel">取消</a>
44
         <a @click="cancel">取消</a>
45
         <a @click="toPayer">确定</a>
45
         <a @click="toPayer">确定</a>
146
     toPayer () { // 下单
146
     toPayer () { // 下单
147
       this.postData.info.OrgId = this.orgId
147
       this.postData.info.OrgId = this.orgId
148
       this.postData.info.UserId = this.userInfo.CustomerId
148
       this.postData.info.UserId = this.userInfo.CustomerId
149
-      this.postData.info.UserName = this.userInfo.CustomerName
149
+      this.postData.info.UserName = this.userInfo.customer.CustomerName
150
       this.postData.info.PayType = this.postData.coupon.length ? 'coupon' : 'vip'
150
       this.postData.info.PayType = this.postData.coupon.length ? 'coupon' : 'vip'
151
       var orderInfo = JSON.parse(this.$route.query.info)
151
       var orderInfo = JSON.parse(this.$route.query.info)
152
       this.postData.detail = []
152
       this.postData.detail = []