|
|
@ -132,7 +132,7 @@ |
|
|
</qn-footer> |
|
|
</qn-footer> |
|
|
<qn-footer fixed height="120rpx" v-if="showSendImgs(orderInfo.status)"> |
|
|
<qn-footer fixed height="120rpx" v-if="showSendImgs(orderInfo.status)"> |
|
|
<view class="flex-row-center-end" style="padding: 0 32rpx"> |
|
|
<view class="flex-row-center-end" style="padding: 0 32rpx"> |
|
|
<view class="button button_cancel" v-show="orderInfo.status === supplierOrderStatusEnum.WAIT_DELIVERY" style="width: 220rpx" @click="cancel"> |
|
|
|
|
|
|
|
|
<view class="button button_cancel" v-show="orderInfo.status === supplierOrderStatusEnum.WAIT_DELIVERY" style="width: 220rpx" @click="cancel(orderInfo)"> |
|
|
取消订单 |
|
|
取消订单 |
|
|
</view> |
|
|
</view> |
|
|
<view class="button button_contact" @click="viewContract">查看合同</view> |
|
|
<view class="button button_contact" @click="viewContract">查看合同</view> |
|
|
@ -465,7 +465,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 上传送货凭证 |
|
|
// 上传送货凭证 |
|
|
uploadVoucher() { |
|
|
uploadVoucher() { |
|
|
uploadImage(['album'], 5 - this.orderInfo.proofDelivery.length) |
|
|
|
|
|
|
|
|
let num = this.orderInfo.proofDelivery && this.orderInfo.proofDelivery.length ? 5 - this.orderInfo.proofDelivery.length : 0 |
|
|
|
|
|
uploadImage(['album'], num) |
|
|
.then((urls) => { |
|
|
.then((urls) => { |
|
|
if (urls) { |
|
|
if (urls) { |
|
|
supplierUploadVoucher({ |
|
|
supplierUploadVoucher({ |
|
|
|