Browse Source

购物车结算

devlop
buffeyu 4 years ago
parent
commit
5a0ba8a350
1 changed files with 5 additions and 2 deletions
  1. 7
      pages/cart/index.vue

7
pages/cart/index.vue

@ -100,7 +100,7 @@ export default {
disabled: false disabled: false
}, },
params: { params: {
userId: this.$store.state.userInfo.userId || null
// userId: this.$store.state.userInfo.userId || null
}, },
pagination: { pagination: {
pageNum: 0, // pageNum: 0, //
@ -196,10 +196,13 @@ export default {
orderGoodsList: orderGoodsList, orderGoodsList: orderGoodsList,
purchaserEnterpriseId: this.$store.state.companyInfo.id, purchaserEnterpriseId: this.$store.state.companyInfo.id,
userId: this.$store.state.userInfo.userId, userId: this.$store.state.userInfo.userId,
// purchaserEnterpriseId: '677166943471538176',
// userId: '573244119569272832',
} }
// console.log('params', params)
closePaperReserve(params).then(res => { closePaperReserve(params).then(res => {
if(res) { if(res) {
go2('order-make', { orderId: res.orderId })
} }
}) })
}, },

Loading…
Cancel
Save