| | |
| | | <view class=""> |
| | | <view class="driver-index"> |
| | | <view class="driver-index-body"> |
| | | <!-- <combined-title title="待领取"></combined-title> --> |
| | | <!-- <u-empty |
| | | mode="data" |
| | | icon="http://cdn.uviewui.com/uview/empty/data.png" |
| | | textSize="30" |
| | | iconSize="1000" |
| | | v-if="driverBillOfLoadingData.list1 ? (driverBillOfLoadingData.list1.length == 0 ? true : false) : true" |
| | | ></u-empty> --> |
| | | |
| | | <!-- 待领取提煤单 --> |
| | | <view class="wait-collection" style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/diverbanner.png') no-repeat;background-size:contain"></view> |
| | | <view class="collection-form"> |
| | | <view class="collection-form-item" v-for="(item, index) in driverBillOfLoadingData.list1" :key="index"> |
| | | <view class="first-line"> |
| | | <view class="dispatch-receive"> |
| | | <view v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'" class="container"> |
| | | <view class="dispatch">{{ item.deptName || '' }}</view> |
| | | <view class="receive-icon"></view> |
| | | <view class="receive">{{ item.customerNameCopy || '' }}}</view> |
| | | </view> |
| | | <view v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'" class="container"> |
| | | <view class="dispatch">{{ item.customerNameCopy || '' }}</view> |
| | | <view class="receive-icon"></view> |
| | | <view class="receive">{{ item.deptName || '' }}}</view> |
| | | <view class="main-information"> |
| | | <view class="sign">装</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'"> |
| | | {{ item.customerNameCopy.slice(0, 16) }} |
| | | </text> |
| | | <text v-show="item.deptName.length >= 15 || item.customerNameCopy.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | <view class="main-divider"></view> |
| | | <view class="point-number"> |
| | | <text class="residue">{{ item.carNum - item.taskNum }}</text> |
| | | <text>/{{ item.carNum }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="first-extra"> |
| | | <view class="main-information"> |
| | | <view class="sign">卸</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerNameCopy.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-show="item.customerNameCopy.length >= 15 || item.deptName.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="second-line"> |
| | | <view class="coal-name">{{ item.coalName }}</view> |
| | | <!-- <view class="black-block"><view class="black-bar"></view></view> |
| | | <view class="coal-type">{{ item.orderType }}</view> --> |
| | | </view> |
| | | <view class="third-line"> |
| | | <view class="time-icon"><u-icon name="clock" color="#515151" size="40"></u-icon></view> |
| | |
| | | <view class="main-information"> |
| | | <view class="sign">装</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.customerName }}</text> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'"> |
| | | {{ item.customerName.slice(0, 16) }} |
| | | </text> |
| | | <text v-show="item.deptName.length >= 15 || item.customerName.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | <view class="main-divider"></view> |
| | | <view class="map-icon"> |
| | | <view class="map-icon" @click.stop="skipMap(item)"> |
| | | <view><u-icon name="map" color="#4978F0" size="40"></u-icon></view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="main-information"> |
| | | <view class="sign">卸</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName }}</text> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-show="item.deptName.length >= 15 || item.customerName.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | <view class="map-icon"> |
| | | <view class="map-icon" @click.stop="skipMap(item)"> |
| | | <view><u-icon name="map" color="#4978F0" size="40"></u-icon></view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="main-information"> |
| | | <view class="sign">装</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.customerName }}</text> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'"> |
| | | {{ item.customerName.slice(0, 16) }} |
| | | </text> |
| | | <text v-show="item.deptName.length >= 15 || item.customerName.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | <view class="main-divider"></view> |
| | | <view class="map-icon"> |
| | | <view class="map-icon" @click.stop="skipMap(item)"> |
| | | <view><u-icon name="map" color="#4978F0" size="40"></u-icon></view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="main-information"> |
| | | <view class="sign">卸</view> |
| | | <view class="filedname"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName }}</text> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName.slice(0, 16) }}</text> |
| | | <text v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName.slice(0, 16) }}</text> |
| | | <text v-show="item.deptName.length >= 15 || item.customerName.length >= 15">...</text> |
| | | </view> |
| | | </view> |
| | | <view class="map-icon"> |
| | | <view class="map-icon" @click.stop="skipMap(item)"> |
| | | <view><u-icon name="map" color="#4978F0" size="40"></u-icon></view> |
| | | </view> |
| | | </view> |
| | |
| | | qiangDanOrderPlanId: null, |
| | | fleetId: '', |
| | | xsUserId: '', |
| | | customerId: '', |
| | | // 集成高德地图 |
| | | amapPlugin: null, |
| | | key: 'e3106700a6225e6a25727d3a41fa54c5', |
| | | addressName: '' |
| | | customerId: '' |
| | | }; |
| | | }, |
| | | onShow() { |
| | | this.init(); |
| | | }, |
| | | methods: { |
| | | // 跳转地图 |
| | | skipMap(val) { |
| | | uni.navigateTo({ |
| | | url: `/pages/public-page/mapRoute/mapRoute?customerId=${val.customerId}&filedId=${val.filedId}&orderType=${val.orderType}${ |
| | | val.toFiledId ? `&toFiledId=${val.toFiledId}` : '' |
| | | }` |
| | | }); |
| | | }, |
| | | init() { |
| | | this.qiangDanList(); |
| | | }, |
| | |
| | | top: vww(-120); |
| | | .collection-form-item { |
| | | width: vww(345); |
| | | height: vww(150); |
| | | height: vww(185); |
| | | margin-top: vww(5); |
| | | background: #ffffff; |
| | | box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15); |
| | |
| | | margin: vww(18) vww(16) 0 vww(16); |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .dispatch-receive { |
| | | width: 70%; |
| | | .main-information { |
| | | width: 88%; |
| | | height: vww(28); |
| | | display: flex; |
| | | justify-content: space-between; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | .container { |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .sign { |
| | | width: vww(28); |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9095/appimg/image/banner/blueblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | | color: #ffffff; |
| | | margin-right: vww(20); |
| | | } |
| | | .receive-icon { |
| | | width: 62rpx; |
| | | height: 14rpx; |
| | | border-bottom: 3px solid #275fa5; |
| | | position: relative; |
| | | &:after { |
| | | content: ''; |
| | | } |
| | | .main-divider { |
| | | width: 548rpx; |
| | | height: 1rpx; |
| | | background: #e3e3e3; |
| | | position: absolute; |
| | | width: 3px; |
| | | height: 10px; |
| | | background-color: #275fa5; |
| | | right: 0; |
| | | transform: rotate(-45deg); |
| | | } |
| | | } |
| | | top: 115rpx; |
| | | left: vww(50); |
| | | } |
| | | .point-number { |
| | | position: absolute; |
| | | right: 0; |
| | | width: 15%; |
| | | text { |
| | | font-size: 24rpx; |
| | | |
| | | font-weight: 400; |
| | | color: #c78a64; |
| | | } |
| | |
| | | font-size: 40rpx; |
| | | font-weight: 400; |
| | | color: #f81414; |
| | | } |
| | | } |
| | | } |
| | | .first-extra { |
| | | @include firstLine; |
| | | .main-information { |
| | | width: 100%; |
| | | height: vww(28); |
| | | display: flex; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | .sign { |
| | | width: vww(28); |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9095/appimg/image/banner/redblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | | color: #ffffff; |
| | | margin-right: vww(20); |
| | | } |
| | | } |
| | | } |
| | |
| | | min-width: vww(50); |
| | | height: 30rpx; |
| | | font-size: 30rpx; |
| | | |
| | | font-weight: 300; |
| | | color: #515151; |
| | | position: relative; |
| | |
| | | } |
| | | } |
| | | .second-line { |
| | | @include firstLine margin: 0; |
| | | @include firstLine; |
| | | margin: 0; |
| | | margin-left: vww(16); |
| | | .main-information { |
| | | width: 100%; |