付延余
2023-03-24 eb9ae89c3e9f66fe5d0f39092a41e5c09bd86fc6
pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
@@ -8,23 +8,23 @@
                  <text>{{ item.carNum }}</text>
                  张
               </view>
               <view class="card-left__utils"><u-button text="转发" type="primary" @tap.stop="forwardClick(item.id)" shape="circle"></u-button></view>
               <view class="card-left__utils"><u-button text="转发" type="primary" @tap.stop="forwardClick(item)" shape="circle"></u-button></view>
            </template>
            <template v-slot:right-top>
               <view class="right-top">
                  <view class="card-right-top-row">
                     <view>
                        <text>{{ item.deptName||'' }}</text>
                        <text>转发剩余:{{ item.carNumSurplusHuodai || '' }}</text>
                     </view>
                     <view>
                        <text>{{ item.coalName||'' }}</text>
                        <text>{{ item.coalName || '' }}</text>
                     </view>
                  </view>
               </view>
            </template>
            <template v-slot:right-bottom>
               <view class="code">
                  <text>编号:{{ item.orderCode||'' }}</text>
                  <text>编号:{{ item.orderCode || '' }}</text>
               </view>
            </template>
         </card>
@@ -57,14 +57,20 @@
         });
      },
      cardBodyClick(id) {
         let code = null;
         this.orderPlanData.forEach(item => {
            if (item.id == id) {
               code = item.code;
            }
         });
         uni.navigateTo({
            url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${id}`
            url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${id}&code=${code}`
         });
      },
      // 转发
      forwardClick(id) {
      forwardClick(value) {
         uni.navigateTo({
            url: `/pages/public-page/forward/forward?orderPlanId=${id}`
            url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}`
         });
      }
   }
@@ -81,7 +87,7 @@
      // 卡片样式
      .card-left__top {
         margin-top:vww(26);
         margin-top: vww(26);
         text-align: center;
         color: #ffffff;
         text {