yangan
2024-11-28 fc83822df8fffc62f726d3811dd72e43d7b62a90
pages/customer-page/customer-index/customer-index.vue
@@ -50,14 +50,18 @@
                  </view>
                  <view class="second-line">
                     <view class="coal-name">
                        <view class="">{{ item.productNames || item.productName }}</view>
                        <view class="coal-name-tag">{{ item.productNames || item.productName }}   <text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text> </view>
                        <view class="black-bar"></view>
                        <view class="coal-type"
                           v-if="item.orderType">{{ item.orderType }}</view>
                     </view>
                  </view>
                  <view class="second-line">
                     {{item.orderCode}}
                     <text>订单编号:</text>{{item.orderCode}}
                  </view>
                     <view class="second-line">
                     <text>日计划编号:</text>{{item.code}}
                  </view>
                  <view class="third-line">
                     <view class="time-icon">
@@ -106,7 +110,7 @@
                              size="40"></u-icon></view>
                     </view>
                     <view class="second">
                        <view class="coal-name">{{  item.productNames || item.productName }}</view>
                        <view class="coal-name">{{  item.productNames || item.productName }}    <text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text></view>
                        <view class="order-type">{{ item.orderType || '' }}</view>
                     </view>
                     <view class="third">
@@ -202,6 +206,7 @@
      data() {
         return {
            orderPlanData: [],
             proType:['散装','液氯瓶装','罐装','PVC25','PVC80','PVC1150','PVc1200'],
            personnelType:'', // 用户类型
            show: false, // 领取收发单弹出框
            receiveNum: null,
@@ -324,7 +329,9 @@
          * 领取弹框
          */
         receiveClick(item) {
            console.log(item,'213')
            this.show = true;
            this.receiveNum = item.carNum;
            this.getOrderNum.id = item.id; // 获取领取收发单的id
            this.cars2 = item.cars2
            this.carNum = item.carNum
@@ -357,7 +364,7 @@
            console.log(111,obj)
            if (obj.cars2 == 0) return this.$u.toast('请先领取后再转发');
            uni
               .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}` });
               .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}&productName=${obj.productName}&customerId=${obj.customerId}&pvcPlanMeasure=${obj.pvcPlanMeasure}&packingType=${obj.packingType}`});
         },
         // 自主配送
         selfDeliver() {
@@ -482,6 +489,9 @@
               width: 70%;
               height: vww(50);
               margin-right: vww(21);
                white-space: nowrap; /* 不换行 */
               overflow: hidden; /* 超出隐藏 */
               text-overflow: ellipsis;
            }
            .order-type {
@@ -614,7 +624,7 @@
               .second-line {
                  width: 100%;
                  height: vww(90);
                  height: vww(50);
                  margin-left: vww(16);
                  display: flex;
                  align-items: center;
@@ -632,6 +642,12 @@
                     display: flex;
                     margin-top: 20rpx;
                     align-items: center;
                     .coal-name-tag{
                        width: 70%;
                     white-space: nowrap; /* 不换行 */
                     overflow: hidden; /* 超出隐藏 */
                         text-overflow: ellipsis;
                     }
                     .black-bar {
                        width: 2rpx;