wk
2024-06-18 30e3526b109a94b83ee53d460b5626300361e5a5
pages/public-page/forward/forward.vue
@@ -96,7 +96,6 @@
               :loading='loading'></u-button></view>
         <!-- 提交按钮 -->
         <view 
            @click.stop="submitForm"
         class="forwardBtn"><u-button text="提交"
               :hairline="false"
               type="warning"
@@ -192,8 +191,9 @@
         return {
            forwardSurplus: 0,
            paramsName: {},
            huoDaiData: [],  //货代Data
            fleetData: [],  //车队Data
            huoDaiData: [],
            isClickFlag:true,// true 可以 or false for forward and back to the direction of the car direction (default
            fleetData: [],
            // 日计划id
            orderPlanId: '',
            jhOrderPlanForwardList: [{  //转发对象
@@ -385,11 +385,16 @@
         },
         // 转发对象
         forwardObjectClick(index, name, id) {
            if(!id){
            this.selectPopupShow = true;
            this.index = index;
            this.originForwardName = name || ''
            this.isDirectAdd = this.originForwardName !== ''
            this.forwardId = id
            }else{
               return
            }
         },
         selectPopupClose() {
            this.selectPopupShow = false;
@@ -614,6 +619,7 @@
                  return isPass;
               }
            });
            console.log(this.jhOrderPlanForwardList,'jhOderPlan')
            if (isPass) {
               this.loading = true;
               this.$reqPost('forward', this.jhOrderPlanForwardList, 'json').then(res => {