| | |
| | | </view> |
| | | <view class="other-info flex"> |
| | | <view class="m-r-15"> |
| | | 已售:{{ item.sales || 0 }} |
| | | 已售:{{ ((item.sales||0) +(item.realSales||0)) || 0 }} |
| | | </view> |
| | | <view class="m-r-15"> |
| | | 剩余:{{ item.stock || 0 }} |
| | |
| | | ] |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.refreshList() |
| | | }, |
| | | onLoad() { |
| | | this.listApi = '/api/collect/list' |
| | | this.getList() |
| | |
| | | }, |
| | | onLoad() { |
| | | this.listApi = '/api/browse/history/list' |
| | | this.page.size =30 |
| | | this.page.size = 30 |
| | | this.getList() |
| | | |
| | | this.$http.request('get', '/api/code/value', { |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | onShow() { |
| | | // 页面显示时重新加载浏览记录数据 |
| | | this.listApi = '/api/browse/history/list' |
| | | this.page.size =30 |
| | | this.getList() |
| | | }, |
| | | |
| | | onShow() { |
| | | // 页面显示时重新加载浏览记录数据 |
| | | this.listApi = '/api/browse/history/list' |
| | | this.page.size = 30 |
| | | this.refreshList() |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | async deleteExpired() { |
| | |
| | | </view> -->
|
| | | <view class="other-info flex" @click.stop="toDetail(item)">
|
| | | <view class="m-r-15">
|
| | | 已售:{{item.sales || 0}}
|
| | | 已售:{{ ((item.sales||0) +(item.realSales||0)) || 0}}
|
| | | </view>
|
| | | <view class="m-r-15">
|
| | | 剩余:{{item.stock || 0}}
|
| | |
| | | </view>
|
| | | </view>
|
| | | <view class="desc m-t-12">
|
| | | <view class="m-r-15">已售:{{ dto.sales || 0 }}</view>
|
| | | <view class="m-r-15">已售:{{ ((dto.sales||0) +(dto.realSales||0)) || 0 }}</view>
|
| | | <view class="m-r-15">剩余:{{ dto.stock || 0 }}</view>
|
| | | <view class=" ">{{ dto.unit || '-' }}</view>
|
| | | </view>
|
| | |
| | | </view>
|
| | | <view class="other-info flex">
|
| | | <view class="m-r-15">
|
| | | 已售:{{item.sales||0}}
|
| | | 已售:{{ ((item.sales||0) +(item.realSales||0)) ||0}}
|
| | | </view>
|
| | | <view class="m-r-15">
|
| | | 剩余:{{item.stock||0}}
|