yangan
2024-11-04 1db172e1eb09be68008659c9f05bf18144df553a
pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
@@ -2,7 +2,7 @@
   <view class="freightForwarder-index">
      <view class="freightForwarder-index-body">
         <view class="wait-collection"
            style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
            style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
         </view>
         <view style="position: relative;top: -120px;">
            <u-empty mode="data"
@@ -22,9 +22,9 @@
                     <view class="sign">装</view>
                     <view class="filedname exceedHide">
                        <text
                           v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName }}</text>
                           v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '外销退'|| item.orderType == '转出'">{{ item.deptName }}</text>
                        <text
                           v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.customerName }}</text>
                           v-else-if="item.orderType == '外购' || item.orderType == '内购'|| item.orderType == '外购退' || item.orderType == '转入'">{{ item.customerName  || item.customerNameCopy }}</text>
                     </view>
                  </view>
                  <view class="main-divider"></view>
@@ -38,15 +38,15 @@
                     <view class="sign">卸</view>
                     <view class="filedname exceedHide">
                        <text
                           v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName }}</text>
                           v-if="item.orderType == '外销' || item.orderType == '内销'|| item.orderType == '外销退' || item.orderType == '转出'">{{ item.customerName  || item.customerNameCopy  }}</text>
                        <text
                           v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName }}</text>
                           v-else-if="item.orderType == '外购' || item.orderType == '内购'|| item.orderType == '外购退' || item.orderType == '转入'">{{ item.deptName }}</text>
                     </view>
                  </view>
               </view>
               <view class="second-line">
                  <view class="coal-name">
                     <view class="">{{ item.coalName }}</view>
                     <view class="">{{ item.productNames }}</view>
                     <view class="black-bar"></view>
                     <view class="coal-type"
                        v-if="item.orderType">{{ item.orderType }}</view>
@@ -58,7 +58,7 @@
               <view class="third-line">
                  <view class="time-icon">
                     <view
                        style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                        style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                     </view>
                  </view>
                  <view class="send-date">{{ item.sendDate }}</view>
@@ -75,7 +75,7 @@
            <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty>
         </view> -->
         <view class="history-numbers">
            <combined-title title="历史提煤单"></combined-title>
            <combined-title title="历史收发单"></combined-title>
            <scroll-view :scroll-top="scrollTop"
               scroll-y="true"
               class="scroll-Y"
@@ -97,7 +97,7 @@
                           size="40"></u-icon></view>
                  </view>
                  <view class="second">
                     <view class="coal-name">{{ item.coalName || '' }}</view>
                     <view class="coal-name">{{ item.item.productNames  || '' }}</view>
                     <view class="order-type"
                        v-if="item.orderType">{{ item.orderType || '' }}</view>
                  </view>
@@ -111,14 +111,14 @@
                        <view class="third-line_num">{{ item.carNumSurplus }}</view>
                     </view>
                     <view class="third-line">
                        <view class="third-line_text">提煤单个数:</view>
                        <view class="third-line_text">收发单个数:</view>
                        <view class="third-line_num">{{ item.tmCount }}</view>
                     </view>
                  </view>
                  <view class="fourth">
                     <view class="fourth-icon">
                        <view
                           style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                           style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                        </view>
                     </view>
                     <view class="senddate">{{ item.sendDate }}</view>
@@ -126,7 +126,7 @@
                  <view class="fourth">
                     <view class="fourth-icon">
                        <view
                           style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover">
                           style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover">
                        </view>
                     </view>
                     <view class="senddate">{{ item.orderCode }}</view>
@@ -199,7 +199,7 @@
         }
      },
      methods: {
         // 获取历史提煤单
         // 获取历史收发单
         getJhOrderPlanDataPage() {
            uni.showLoading({
               title: '加载中'
@@ -223,7 +223,7 @@
            this.pageCurrent++;
            this.getJhOrderPlanDataPage();
         },
         //fix 点击提煤单返回会增加重复数据
         //fix 点击收发单返回会增加重复数据
         ArrSet(Arr, id) {
            var obj = {};
            const arrays = Arr.reduce((setArr, item) => {
@@ -250,7 +250,7 @@
            //    }
            // });
            uni.navigateTo({
               url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${item.orderPlanId}&carNum=${item.carNum}`
               url: `/subPages/fayunPlanDetails?orderPlanId=${item.orderPlanId}&carNum=${item.carNum}`
            });
         },
         // 转发
@@ -259,10 +259,10 @@
               url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}`
            });
         },
         // 点击历史提煤单一行获取详情
         // 点击历史收发单一行获取详情
         faYundetail(v) {
            uni.navigateTo({
               url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}`
               url: `/subPages/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}`
            });
         }
      }
@@ -449,7 +449,7 @@
                        height: vww(28);
                        line-height: vww(28);
                        text-align: center;
                        background: url('https://mx.jzeg.cn:9096/appimg/image/banner/blueblock.png') no-repeat;
                        background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/blueblock.png') no-repeat;
                        background-size: contain;
                        font-size: 30rpx;
                        font-weight: 400;
@@ -501,7 +501,7 @@
                        height: vww(28);
                        line-height: vww(28);
                        text-align: center;
                        background: url('https://mx.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat;
                        background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/redblock.png') no-repeat;
                        background-size: contain;
                        font-size: 30rpx;
                        font-weight: 400;
@@ -557,7 +557,7 @@
                  align-items: center;
                  .send-date {
                     width: 148rpx;
                     width: 170rpx;
                     height: 24rpx;
                     margin-left: vww(14);
                     line-height: 24rpx;