| | |
| | | }, |
| | | orderItemId: '', |
| | | op: '', |
| | | |
| | | opStr: '' |
| | | }; |
| | | }, |
| | | async onLoad(options) { |
| | | this.orderItemId = options.orderItemId || '' |
| | | this.op = options.op || '' |
| | | this.opStr = options.opStr || '' |
| | | if (this.opStr) { |
| | | uni.setNavigationBarTitle({ |
| | | title: this.opStr |
| | | }) |
| | | } |
| | | |
| | | await this.init() |
| | | |
| | |
| | | |
| | | methods: { |
| | | async init() { |
| | | var apitype = 'supplier' |
| | | // #ifdef PUB_CUSTOMER |
| | | apitype = 'customer' |
| | | // #endif |
| | | |
| | | this.$message.showLoading() |
| | | const { |
| | | data |
| | | } = await this.$http.request('get', `/api/supplier/delivery/mine/list/check/info/` + this.op, { |
| | | } = await this.$http.request('get', `/api/${apitype}/delivery/mine/list/check/info/` + this.op, { |
| | | params: { |
| | | orderItemId: this.orderItemId |
| | | } |
| | |
| | | <template> |
| | | <view class="delivery-detail-page bg-white p20"> |
| | | <no-data v-if="!dto.id" style="width: 100%;"></no-data> |
| | | |
| | | |
| | | <view v-if="dto.id"> |
| | | <view class="delivery-info p10 flex"> |
| | | <view class="flex1"> |
| | |
| | | <view class="name" v-if="dto.targetLevel">降级等级:{{ dto.targetLevelStr || dto.targetLevel || '-'}} |
| | | </view> |
| | | |
| | | <view class="name" v-if="dto.type">处理类型:{{ dto.type || '-'}}</view> |
| | | <!-- <view class="name" v-if="dto.type">处理类型:{{ dto.type || '-'}}</view> --> |
| | | <view class="name">处理数量:{{ dto.num || '-' }}</view> |
| | | <view class="name">扣款金额:{{ dto.deductAmount || '-'}}</view> |
| | | |
| | | <view class="name"> |
| | | 扣款金额/每扎:¥{{ (dto.deductAmount&&parseFloat(dto.deductAmount)||0)/(dto.num&&parseInt(dto.num)||1).toFixed(2) || '-'}} |
| | | </view> |
| | | |
| | | <view class="name">扣款金额:¥{{ dto.deductAmount || '-'}}</view> |
| | | |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | |
| | | <view class="p10" style="margin-top: 0rpx;padding-top: 0rpx;" v-if="dto.pictureList&&dto.pictureList.length>0"> |
| | | <view class="line-gray"></view> |
| | | |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | </view> |
| | | |
| | | </view> |