From ded34e37fca5e2e05e17693d2524c3d664ebf017 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 14 八月 2024 11:20:18 +0800 Subject: [PATCH] update 搜索历史 --- pages/order/order-delivery-detail.vue | 55 ++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 42 insertions(+), 13 deletions(-) diff --git a/pages/order/order-delivery-detail.vue b/pages/order/order-delivery-detail.vue index ab2e6d1..c281216 100644 --- a/pages/order/order-delivery-detail.vue +++ b/pages/order/order-delivery-detail.vue @@ -19,7 +19,13 @@ this.status = options.status || '' this.query.id = this.id } + // // #ifdef PUB_PARTNER + // this.listApi = '/api/partner/delivery/list/items' + // // #endif + // // #ifdef PUB_CUSTOMER + // // #endif this.listApi = '/api/supplier/delivery/list/items' + await this.getList() }, @@ -61,6 +67,10 @@ }, async submit(status) { + if (!this.dto.arriveImageList || this.dto.arriveImageList.length < 0) { + this.$message.showToast('未上传图片') + return + } await this.$message.confirm('是否确认入位') this.$message.showLoading() const { @@ -80,9 +90,9 @@ }, printDeliveryOrder(item) { // this.$message.showToast('敬请期待') - this.$storage.setItem('cache_delivery_order_print',JSON.stringify(item)) + this.$storage.setItem('cache_delivery_order_print', JSON.stringify(item)) uni.navigateTo({ - url:'/sub_pages/supplier/print/print-list' + url: '/sub_pages/supplier/print/print-list' }) } @@ -94,8 +104,7 @@ <view class="list-container order-delivery supplier"> <view class="p15"> <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data> - <view v-for="(item,index) in list" :key="index" - class="m-b-24 order-sale-list list-container"> + <view v-for="(item,index) in list" :key="index" class="m-b-24 order-sale-list list-container"> <view class="order-sale-item list-item"> <view class="title flex"> <view>订单单号:{{item.orderNo}}</view> @@ -107,7 +116,9 @@ </image> <view class="flex1"> <view class=" flex"> - <view class="title">{{item.flowerName }} + <view class="title"><span class="level" + v-if="item.flowerCategory">{{ item.flowerCategory || ''}}</span><span + class="level">{{ item.flowerLevelStr || ''}}</span>{{item.flowerName }} </view> </view> <view class="each-list "> @@ -136,11 +147,11 @@ <view class="delivery-form"> <view class="form-item flex1"> <view class="label">仓库名称</view> - <view class="value red">{{item.warehouseName}}</view> + <view class="value red">{{item.warehouseName||'待分配'}}</view> </view> <view class="form-item flex1"> <view class="label">库位名称</view> - <view class="value red">{{item.warehouseLocationCode}}</view> + <view class="value red">{{item.warehouseLocationCode||'待分配'}}</view> </view> </view> @@ -150,7 +161,7 @@ <view class="button button-1 m-r-0" @click="printDeliveryOrder(item)">打印</view> </view> <!-- #endif --> - + @@ -161,7 +172,7 @@ <!-- 提交图片 --> <view class="delivery-form p20 bg-white br-4"> <view class="form-item flex before-line bottom-border-no"> - <view class="label " style="width: 400rpx;">图片</view> + <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')"> @@ -213,12 +224,14 @@ background-color: #fff; margin-bottom: 20rpx; padding: 22rpx; - .each-item{ - .label{ + + .each-item { + .label { min-width: 120rpx; - + } - .label:after{ + + .label:after { content: ":"; margin-right: 10rpx; } @@ -259,6 +272,14 @@ font-size: 28rpx; color: #000000; line-height: 40rpx; + + .level { + font-weight: 400; + font-size: 28rpx; + color: #20613D; + line-height: 40rpx; + margin-right: 20rpx; + } } .status { @@ -288,6 +309,14 @@ font-size: 28rpx; color: #000000; line-height: 40rpx; + + .level { + font-weight: 400; + font-size: 28rpx; + color: #20613D; + line-height: 40rpx; + margin-right: 20rpx; + } } .desc {} -- Gitblit v1.9.3