<template>
|
<view class="">
|
<view class="customer-index">
|
<view class="customer-index_body">
|
<view class="wait-collection"
|
style="background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/customerbanner.png') no-repeat;background-size:100% 100%">
|
</view>
|
<!-- <view style="position: relative;top: -120px;">
|
<u-empty mode="data"
|
icon="http://cdn.uviewui.com/uview/empty/data.png"
|
textSize="30"
|
iconSize="1000"
|
v-if="CoalNameList.length == 0"></u-empty>
|
</view> -->
|
<view class="body">
|
<!-- <selectTarget ref='selectTarget'></selectTarget> -->
|
<view class="collection-form">
|
<view class="collection-form-item"
|
v-for="(item, index) in orderPlanData"
|
:key="index"
|
@click="cardBodyClick(item)">
|
<view class="first-line">
|
<view class="dispatch-receive">
|
<view class="dispatch-dept">{{ item.deptName }}</view>
|
<view class="black-bar"></view>
|
<view class="dispatch">{{ item.filedName }}</view>
|
</view>
|
<view class="point-number">
|
<text class="residue">{{ item.cars2 }}</text>
|
<text>/{{ item.carNum }}</text>
|
</view>
|
</view>
|
<view class="second-line"
|
style="width: 94%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
v-if="item.orderType==='内销'||item.orderType==='外购'">
|
{{item.customerName}}
|
</view>
|
<view class="second-line">
|
<view class="coal-name">
|
<view class="">{{ item.coalName }}</view>
|
<view class="black-bar"></view>
|
<view class="coal-type"
|
v-if="item.orderType">{{ item.orderType }}</view>
|
</view>
|
</view>
|
<view class="second-line">
|
{{item.orderCode}}
|
</view>
|
<view class="third-line">
|
<view class="time-icon">
|
<view
|
style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover">
|
</view>
|
</view>
|
<view class="send-date">{{ item.sendDate }}</view>
|
</view>
|
<view class="fourth-line">
|
<view class="receive"
|
@click.stop="receiveClick(item)">
|
<view class="button-image">领取</view>
|
</view>
|
<view class="forward"
|
@click.stop="forwardClick(item)">
|
<view class="button-image">转发</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
</template>
|
|
<script>
|
export default {
|
components: {
|
|
},
|
data() {
|
return {
|
|
};
|
},
|
onLoad() {
|
this.init()
|
},
|
methods: {
|
init() {
|
this.$nextTick(() => {
|
// this.$refs.selectTarget.getDeptIdFiled()
|
})
|
}
|
},
|
}
|
</script>
|
|
<style lang="scss"
|
scoped>
|
/* 大型设备(大台式电脑,1201px 起)*/
|
@media screen and (min-width: 1201px) {
|
.wait-collection{
|
min-height: 1800rpx!important;
|
}
|
}
|
|
/* 中型设备(台式电脑,992px 起) */
|
@media screen and (min-width: 991px) and (max-width: 1200px) {
|
.wait-collection{
|
min-height: 1400rpx!important;
|
}
|
}
|
|
|
/* 小型设备(平板电脑,768px 起) */
|
@media screen and (min-width: 768px) and (max-width: 990px) {
|
.wait-collection{
|
min-height: 600rpx!important;
|
}
|
}
|
|
/* 超小设备(手机,小于 768px)*/
|
@media only screen and (max-height: 767px) {
|
.wait-collection{
|
min-height: 600rpx!important;
|
}
|
}
|
@mixin flex {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.wait-collection {
|
width: 100%;
|
height: 600rpx;
|
position: relative;
|
top: vww(-10);
|
z-index: 0;
|
}
|
|
.customer-index {
|
width: 100%;
|
margin: 0 auto;
|
|
&_body {
|
.collection-form {
|
width: vww(345);
|
margin: 0 vww(15);
|
position: relative;
|
top: vww(-144);
|
|
.collection-form-item {
|
width: 690rpx;
|
height: 100rpx;
|
background: #ffffff;
|
box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
|
border-radius: 20rpx;
|
overflow: hidden;
|
@include flex;
|
flex-direction: column;
|
position: relative;
|
align-items: center;
|
justify-content: center;
|
margin-top: vww(10);
|
|
.first-line {
|
width: 94%;
|
height: vww(30);
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
}
|
}
|
}
|
}
|
.body{
|
|
}
|
</style>
|