jiazhipeng 6 months ago
parent
commit
26fd010413
  1. 10
      subPackages/ticketBooking/detail.vue

10
subPackages/ticketBooking/detail.vue

@ -290,8 +290,18 @@
}, '/api/goods/getPriceCalendarListBySpecifications').then(res => {
this.allSeldDate = res.data || []
this.seldDateIndex = this.allSeldDate.findIndex(item => item.store != 0)
if (this.seldDateIndex>=0) {
this.getTimeStock(this.allSeldDate[this.seldDateIndex].date)
this.openPop()
} else {
uni.showToast({
title:"库存不足",
icon:"none"
})
}
})
},
//

Loading…
Cancel
Save