qingyiay
2023-10-12 f2aa6f75d70cc7df54bfd0cf33af46fe96401856
pages/customer-page/customer-index/customer-index.vue
@@ -11,6 +11,7 @@
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="orderPlanData.length == 0"></u-empty>
            </view>
            <view class="collection-form">
@@ -20,6 +21,8 @@
                  @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">
@@ -67,6 +70,7 @@
                     icon="http://cdn.uviewui.com/uview/empty/data.png"
                     textSize="30"
                     iconSize="1000"
                     text="暂无数据"
                     v-if="historyCoalData.length == 0"></u-empty>
                  <view class="history-information"
                     v-for="(item, index) in historyCoalData"
@@ -202,8 +206,7 @@
            canClick: false
         };
      },
      onLoad() {},
      onShow() {
      onLoad() {
         this.init();
      },
      methods: {
@@ -313,7 +316,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}` });
         },
         // 点击历史提煤单获取详情
         faYundetail(v) {
@@ -478,7 +481,8 @@
               box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
               border-radius: 20rpx;
               overflow: hidden;
               @include flex flex-direction: column;
               @include flex;
               flex-direction: column;
               position: relative;
               align-items: flex-start;
               margin-top: vww(10);
@@ -493,8 +497,27 @@
                  .dispatch-receive {
                     width: 70%;
                     display: flex;
                     justify-content: space-between;
                     justify-content: flex-start;
                     align-items: center;
                     .dispatch-dept {
                        display: flex;
                        align-items: center;
                     }
                     .black-bar {
                        width: 2rpx;
                        height: 30rpx;
                        background: #515151;
                        margin-left: vww(12);
                     }
                     .dispatch {
                        margin-left: vww(12);
                        min-width: vww(50);
                     }
                  }
                  .point-number {