qingyiay
2023-07-07 b8a7d477f894fcffc32c2d5fb1f3ff5bf6409fc4
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -1,7 +1,7 @@
<template>
   <view class="bill-of-lading-details">
      <view class="top-banner"
         style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;">
         :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/loadingbanner.png)`, backgroundSize: 'cover', backgroundRepeat: 'no-repeat' }">
      </view>
      <view class="top-information">
         <view class="cutomer-name"
@@ -21,8 +21,7 @@
            <view class="basic">
               <view class="coalName">{{ coalDetailsData.coalName||'' }}</view>
               <view class="status-button"
                  style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/statusbutton.png') no-repeat;
                              background-size: cover;">
                  :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/statusbutton.png)`, backgroundSize: 'cover', backgroundRepeat: 'no-repeat' }">
                  {{ coalStatus[coalDetailsData.statusWeigh] || '' }}
               </view>
            </view>
@@ -45,39 +44,7 @@
      </view>
      <!--  称重历史-->
      <view class="weigh-history"
         v-if="showWeigh.length!==0">
         <view class="block-main">
            <view class="weigh-item"
               v-for='item in showWeigh'
               :key="item.id">
               <view class="weigh-time">
                  <u-tag :text="item.createTime.slice(-8,-3)"
                     plain></u-tag>
               </view>
               <view class="item-block">
                  <view class="item">
                     <view class="concrete"
                        style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/skin.png') no-repeat;background-size: cover;">
                        皮</view>
                     <view class="num">{{ item.skin }}</view>
                  </view>
                  <view class="item">
                     <view class="concrete"
                        style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/hair.png') no-repeat;background-size: cover;">
                        毛</view>
                     <view class="num">{{ item.hair }}</view>
                  </view>
                  <view class="item">
                     <view class="concrete"
                        style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clean.png') no-repeat;background-size: cover;">
                        净</view>
                     <view class="num">{{ item.clean }}</view>
                  </view>
               </view>
            </view>
         </view>
      </view>
      <weigh-item :list="showWeigh"></weigh-item>
      <!-- 时间线 -->
      <view class="timeLine">
         <u-steps :current="dayRZ.length - 1"
@@ -153,9 +120,14 @@
</template>
<script>
   import { onlineurl } from '@/api/request.js'
   import { webSocketUrl } from '@/api/request.js';
   import { mapState, mapMutations } from 'vuex';
   import weighItem from '@/components/weighItem.vue'
   export default {
      components: {
         weighItem
      },
      onLoad(value) {
         this.orderPlanId = value.orderPlanId;
         this.yyId = value.yyId;
@@ -195,7 +167,7 @@
               openId: null,
               openName: ''
            },
            coalStatus: ['未称重', '称重中', '验质中', '称重完成'], // 状态
            coalStatus: ['未称重', '称重中', '验质中', '称重完成', '验质完成'], // 状态
            weighHouseCode: '',
            // 放空弹窗控制变量
            evacuationModalShow: false,
@@ -227,7 +199,8 @@
            completeOutSaleShow: false,
            overTmWaixiao: null,
            // 判读网络状态,
            normalCode: true
            normalCode: true,
            onlineurl,
         };
      },
      onShow() {