qingyiay
2023-07-02 38de059c83720527d3813448153390da3e6453dc
pages/customer-page/customer-index/customer-index.vue
@@ -4,7 +4,7 @@
         <view class="customer-index-body">
            <!-- 待领取和转发提煤单 -->
            <view class="wait-collection"
               style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
               style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') ;background-size:contain;background-repeat: no-repeat;">
            </view>
            <view style="position: relative;top: -120px;">
               <u-empty mode="data"
@@ -42,7 +42,7 @@
                           style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carNO.png') no-repeat;background-size: cover">
                        </view>
                     </view>
                     <view class="car-num">{{ item.carNos||''}}</view>
                     <view class="car-num">{{ item.carNos||item.carNo||''}}</view>
                  </view>
                  <view class="third-line">
                     <view class="time-icon">
@@ -63,11 +63,11 @@
                        v-if="item.orderType!=='外购'">
                        <view class="button-image">转发</view>
                     </view>
                     <view class="forward"
                     <!-- <view class="forward"
                        @click.stop="validateClick(index)"
                        v-if='roleType===4'>
                        <view class="button-image">验质</view>
                     </view>
                     </view> -->
                  </view>
               </view>
            </view>
@@ -162,6 +162,7 @@
</template>
<script>
   import { onlineurl } from '@/api/request.js'
   import card from '@/components/card/card.vue';
   import combinedTitle from '@/components/combined-title/combined-title.vue';
   import { customerId } from '@/utils/status';
@@ -215,12 +216,14 @@
            carNum: "",
            // 剩余的提煤单数量
            carNumSurplus: '',
            canClick: false
            canClick: false,
            onlineurl: ''
         };
      },
      onLoad() {},
      onShow() {
         this.init();
         this.onlineurl = onlineurl;
      },
      methods: {
         init() {
@@ -329,7 +332,7 @@
         // 提煤单详情
         cardBodyClick(v) {
            uni
               .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` });
               .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2?v.cars2:""}` });
         },
         // 点击历史提煤单获取详情
         faYundetail(v) {
@@ -346,7 +349,7 @@
         // 验质
         validateClick(index) {
            uni
               .navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?index=${index}` });
               .navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
         },
      }
   };
@@ -591,6 +594,7 @@
                  }
                  .car-num {
                     color: #515151;
                     white-space: nowrap;
                     overflow: hidden;
                     text-overflow: ellipsis;