| | |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="component-buttons m-t-10" style="width: unset;"> |
| | | <view class="button-1 m-auto" @click.stop="toOpDetail('sale',item)">售后详情</view> |
| | | <view class="button-1 m-auto" @click.stop="toOpDetail('reduce',item)">降级详情</view> |
| | | <view class="button-1 m-auto" @click.stop="toOpDetail('lack',item)">缺货详情</view> |
| | | <view class="button-1 m-auto" @click.stop="toOpDetail('replace',item)">补货详情</view> |
| | | <view class="component-buttons m-t-15" style="width: unset;"> |
| | | <view class="button-1 m-l-a m-r-10" v-if="!(item.salesNum===0)" @click.stop="toOpDetail('sale','售后',item)"> |
| | | 售后详情</view> |
| | | <view class="button-1 m-l-a m-r-10" v-if="item.checkNum" |
| | | @click.stop="toOpDetail('reduce','降级',item)">降级详情</view> |
| | | <view class="button-1 m-l-a m-r-10" v-if="item.lackNum" @click.stop="toOpDetail('lack','缺货',item)"> |
| | | 缺货详情</view> |
| | | <view class="button-1 m-l-a m-r-10" v-if="item.replaceNum" |
| | | @click.stop="toOpDetail('replace','补货',item)">补货详情</view> |
| | | |
| | | </view> |
| | | </view> |
| | |
| | | uni.stopPullDownRefresh() |
| | | }, |
| | | methods: { |
| | | toOpDetail(op, item) { |
| | | toOpDetail(op, title, item) { |
| | | if (op === 'sale') { |
| | | //去列表页面 |
| | | uni.navigateTo({ |
| | | url: '/pages/order/order-sale/order-sale?orderItemId=' + item.orderItemId |
| | | }) |
| | | } else { |
| | | var opStr = '' |
| | | uni.navigateTo({ |
| | | url: `/sub_pages/supplier/order-manage/order-manage-settlement-op-detail?op=${op}&orderItemId=${item.orderItemId}` |
| | | url: `/sub_pages/supplier/order-manage/order-manage-settlement-op-detail?opStr=${opStr}&op=${op}&orderItemId=${item.orderItemId}` |
| | | }) |
| | | } |
| | | |