|
@@ -4,13 +4,15 @@
|
|
|
<view class='title uni-row'>
|
|
|
<text>当前箱号</text>
|
|
|
</view>
|
|
|
- <view :class="{ 'uni-row': true,'vehicleList':true,'totalBoxHeight':discardVehicleList.length == 0,'halfBoxHeight':discardVehicleList.length > 0}" >
|
|
|
+ <view
|
|
|
+ :class="{ 'uni-row': true,'vehicleList':true,'totalBoxHeight':discardVehicleList.length == 0,'halfBoxHeight':discardVehicleList.length > 0}">
|
|
|
<view class="vehicleNo uni-row" v-for="(item,index) in newBindList">
|
|
|
<text>{{item.carrierCode}}</text>
|
|
|
<text @click="handleDelVehicleNo(item,index)">×</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view v-if="discardVehicleList.length > 0" :class="{ 'disuseList': true, 'halfDisuseList':discardVehicleList.length > 0}">
|
|
|
+ <view v-if="discardVehicleList.length > 0"
|
|
|
+ :class="{ 'disuseList': true, 'halfDisuseList':discardVehicleList.length > 0}">
|
|
|
<view class="uni-row" style="align-items: center;justify-content: space-evenly;">
|
|
|
<view>箱号</view>
|
|
|
<view>是否废弃</view>
|
|
@@ -77,6 +79,7 @@
|
|
|
checkCarrierNew
|
|
|
} from '@/api/business/carrier.js'
|
|
|
|
|
|
+
|
|
|
const bindList = ref([])
|
|
|
const newBindList = ref([])
|
|
|
const discardVehicleList = ref([])
|
|
@@ -359,15 +362,19 @@
|
|
|
margin: 50rpx auto;
|
|
|
padding-bottom: 50rpx;
|
|
|
border-radius: 12rpx;
|
|
|
- .totalBoxHeight{
|
|
|
- height:calc(100% - 20rpx);
|
|
|
+
|
|
|
+ .totalBoxHeight {
|
|
|
+ height: calc(100% - 20rpx);
|
|
|
}
|
|
|
- .halfBoxHeight{
|
|
|
+
|
|
|
+ .halfBoxHeight {
|
|
|
height: 480rpx;
|
|
|
}
|
|
|
- .halfDisuseList{
|
|
|
+
|
|
|
+ .halfDisuseList {
|
|
|
height: calc(100% - 480rpx - 20rpx);
|
|
|
}
|
|
|
+
|
|
|
.vehicleList {
|
|
|
justify-content: baseline;
|
|
|
align-content: flex-start;
|