@@ -103,7 +103,8 @@
},
// 立即下单
toOrder(){
- this.$u.vuex("vuex_toOrderList",[{id:this.id,buyQty:this.nums,goods:this.goodContent}])
+ // console.log(this.goodContent,this.id,'pppppppp')
+ this.$u.vuex("vuex_toOrderList",[{id:this.id,buyQty:this.nums,goodsNo:this.goodContent.goodsNo,goods:this.goodContent}])
uni.redirectTo({
url:"/pages/toOrder/index"
})
@@ -41,7 +41,9 @@
<text style="margin-right: 20upx;">
支付剩余
</text>
- <u-count-down @end="getRow" style="margin-right: 20upx;" separator ="zh" :timestamp="filterTime(item.orderTime)" :show-days="false" :show-hours="false"></u-count-down>
+ <u-count-down @end="getRow"
+ style="margin-right: 20upx;" separator ="zh"
+ :timestamp="filterTime(item.orderTime)" :show-days="false" :show-hours="false"></u-count-down>
<u-button :custom-style="btnStyle" @click="toPay(item)" shape="circle" type="error" size="medium">去支付</u-button>
</view>
<view v-if="item.orderState=='WAIT_SEND'||item.orderState=='SEND_PART'" class="text-right">
@@ -130,6 +130,7 @@
onLoad() {
this.goodsList = this.$store.state.vuex_toOrderList
+ // console.log(this.goodsList,'llllllllllll')
// 监听设置密码是否成功
uni.$once('setPswSuccess', this.setPsw)