| | |
| | | pictureList: [] |
| | | } |
| | | this.showSales = options.showsales && true || false |
| | | |
| | | if (this.dto.statusBackend === 'PENDING' || this.dto.status === 'PENDING') { |
| | | |
| | | |
| | | this.timer = setInterval(() => { |
| | | //倒计时 |
| | | var nowdate = new Date().getTime() - 1000 * 60 * 5 |
| | |
| | | if (change) |
| | | this.$forceUpdate() |
| | | }, 1000) |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="label">下单日期:</view> |
| | | <view class="value">{{ dto.paymentTime || '-' }}</view> |
| | | <view class="value">{{ dto.createTime || '-' }}</view> |
| | | </view> |
| | | <view class="form-item" v-if="dto.cancelTime&&(dto.status==='CANCEL'||dto.status==='REFUND')"> |
| | | <view class="label">取消时间:</view> |
| | |
| | | }, |
| | | toOrderItemDetail(item, op, opstr) { |
| | | uni.navigateTo({ |
| | | url: `/sub_pages/supplier/order-manage/order-manage-settlement-op-detail?opStr=${opStr}&op=${op}&orderItemId=${item.id || item.orderItemId}` |
| | | url: `/sub_pages/supplier/order-manage/order-manage-settlement-op-detail?opStr=${opstr}&op=${op}&orderItemId=${item.id || item.orderItemId}` |
| | | }) |
| | | }, |
| | | async buttonClick(item, buttontype) { |
| | |
| | | this.listApi = '/api/customer/point/goods/list' |
| | | this.getList() |
| | | }, |
| | | onPullDownRefresh() { |
| | | async onPullDownRefresh() { |
| | | //刷新积分和刷新商品 |
| | | this.$store.dispatch('getCurrentInfo'); |
| | | // this.list = [] |
| | | this.refreshList() |
| | | await this.refreshList() |
| | | uni.stopPullDownRefresh() |
| | | }, |
| | | |
| | | onReachBottom() { |
| | |
| | | // this.$message.showToast('敬请期待') |
| | | var arr = [] |
| | | for (var item of this.list) { |
| | | if (this.ids.indexOf(item.orderNo)) { |
| | | if (this.ids.indexOf(item.orderNo) >= 0) { |
| | | for (var each of item.items) { |
| | | arr.push(each) |
| | | } |
| | | } |
| | | } |
| | | if (arr.length > 0) { |
| | | // console.log('cache_delivery_order_print', arr) |
| | | this.$storage.setItem('cache_delivery_order_print', JSON.stringify(arr)) |
| | | uni.navigateTo({ |
| | | url: '/sub_pages/supplier/print/print-list' |