| | |
| | | :disabled="whetherClick"></u-button></view> |
| | | <!--分享日计划 --> |
| | | <view |
| | | class="AdddBtn" v-if="isshow && roleType!== 2 "><u-button text="分享日计划" |
| | | class="AdddBtn" v-if="isshow && roleType!== 2 && btnFlag"><u-button text="分享日计划" |
| | | :hairline="false" |
| | | open-type="share" |
| | | :loading='loading'></u-button></view> |
| | |
| | | this.customerId = params.customerId; |
| | | this.packingType = params.packingType; |
| | | this.pvcPlanMeasure = params.pvcPlanMeasure; |
| | | this.productId = params.productId; |
| | | // 客户 |
| | | this.cars2 = Number(params.cars2); |
| | | this.tempcarNumSurplus1 = this.carNumSurplus1 = Number(params.carNumSurplus1 || 0); |
| | |
| | | forwardSurplus: 0, |
| | | paramsName: {}, |
| | | packingType:'', |
| | | productId:'', |
| | | productName:'', |
| | | customerId:'', |
| | | huoDaiData: [], |
| | |
| | | formNum: 1, |
| | | // 个人转发数据 |
| | | personalForward: {}, |
| | | falseProductNames:['1818237609508347905','1818237832536268801','1818211942485995521'], |
| | | whetherClick: false, //添加按钮 |
| | | whetherClick1: false, |
| | | // 滑动单元格配置 |
| | |
| | | }else{ |
| | | return false |
| | | } |
| | | }, |
| | | btnFlag(){ |
| | | if(this.falseProductNames.includes(this.productId)){ |
| | | return false; |
| | | }else{ |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | todoFenPei(val){ |
| | | uni |
| | | .navigateTo({ url: `/subPages/allocaTetonnage/index?orderPlanId=${this.orderPlanId}&customerId=${this.customerId}&fleetId=${val.fleetId}&pvcPlanMeasure=${this.pvcPlanMeasure}`}); |
| | | } |
| | | }, |
| | | |
| | | } |
| | | }; |
| | | </script> |