| | |
| | | // // #ifdef PUB_CUSTOMER |
| | | // // #endif |
| | | this.listApi = '/api/supplier/delivery/list/items' |
| | | |
| | | |
| | | await this.getList() |
| | | |
| | | }, |
| | |
| | | |
| | | }, |
| | | async submit(status) { |
| | | if (!this.dto.arriveImageList || this.dto.arriveImageList.length < 0) { |
| | | if (!this.dto.arriveImageList || this.dto.arriveImageList.length <= 0) { |
| | | this.$message.showToast('未上传图片') |
| | | return |
| | | } |
| | |
| | | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view v-if="status=='PENDING'"> |
| | | <!-- 提交图片 --> |
| | | <view class="delivery-form p20 bg-white br-4"> |
| | | <view class="form-item flex before-line bottom-border-no"> |
| | | <view class="label required" style="width: 400rpx;">图片</view> |
| | | <view class="m-l-a m-r-0 flex"> |
| | | <view class="component-button-upload" @click="uploadIcon('arriveImageList')"> |
| | | |
| | | <view v-if="status=='PENDING'"> |
| | | <!-- 提交图片 --> |
| | | <view class="delivery-form p20 bg-white br-4"> |
| | | <view class="form-item flex before-line bottom-border-no"> |
| | | <view class="label required" style="width: 400rpx;">图片</view> |
| | | <view class="m-l-a m-r-0 flex"> |
| | | <view class="component-button-upload" @click="uploadIcon('arriveImageList')"> |
| | | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="flex p20" style="padding-top: 0rpx;padding-bottom: 10rpx" |
| | | v-if="dto.arriveImageList&&dto.arriveImageList.length>0"> |
| | | <view class="m-t-12 m-r-10 " v-for="(tBanner,index) of dto.arriveImageList" :key="index"> |
| | | <image class="banner-img" :src="tBanner" @click.stop="previewImg(tBanner)"> |
| | | <view class="flex p20" style="padding-top: 0rpx;padding-bottom: 10rpx" |
| | | v-if="dto.arriveImageList&&dto.arriveImageList.length>0"> |
| | | <view class="m-t-12 m-r-10 " v-for="(tBanner,index) of dto.arriveImageList" :key="index"> |
| | | <image class="banner-img" :src="tBanner" @click.stop="previewImg(tBanner)"> |
| | | |
| | | </image> |
| | | <view class="t-red text-center" @click.stop="deleteBanner(index)">删除</view> |
| | | </image> |
| | | <view class="t-red text-center" @click.stop="deleteBanner(index)">删除</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="form-item flex m-t-12 "> |
| | | <view class="label m-r-20">备注</view> |
| | | <view class="m-l-a m-r-0 flex1"> |
| | | <view class="m-t-12 m-b-12"> |
| | | <u-textarea v-model="dto.arriveRemarks" clearable placeholder="请输入备注"> |
| | | <view class="form-item flex m-t-12 "> |
| | | <view class="label m-r-20">备注</view> |
| | | <view class="m-l-a m-r-0 flex1"> |
| | | <view class="m-t-12 m-b-12"> |
| | | <u-textarea v-model="dto.arriveRemarks" clearable placeholder="请输入备注"> |
| | | |
| | | </u-textarea> |
| | | </u-textarea> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="button-space"> |
| | | <view class="button-space" style="min-height: 190rpx;"> |
| | | |
| | | </view> |
| | | <view class="button-green-1 button-fixed-bottom" v-if="status=='PENDING'" @click="submit('ARRIVED')"> |
| | | 确认入位 |
| | | </view> |
| | | <view class="button-green-1 button-fixed-bottom" v-if="status=='PENDING'" @click="submit('ARRIVED')"> |
| | | 确认入位 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |