| | |
| | | :hairline="false" |
| | | @click.stop="addForm" |
| | | :disabled="whetherClick"></u-button></view> |
| | | <!--分享日计划 --> |
| | | <view |
| | | class="AdddBtn"><u-button text="分享日计划" |
| | | :hairline="false" |
| | | open-type="share" |
| | | :loading='loading'></u-button></view> |
| | | <!-- 提交按钮 --> |
| | | <view |
| | | @click.stop="submitForm" |
| | | class="forwardBtn"><u-button text="提交" |
| | | :hairline="false" |
| | | type="warning" |
| | | @click.stop="submitForm" |
| | | :disabled="whetherClick1" |
| | | :loading='loading'></u-button></view> |
| | | |
| | | </view> |
| | | <!-- 增加按钮 --> |
| | | |
| | |
| | | } |
| | | this.getOrderPlan() |
| | | }, |
| | | onShareAppMessage(res) { |
| | | if (res.from === 'button') {// 来自页面内分享按钮 |
| | | console.log(res.target) |
| | | } |
| | | return { |
| | | title: '分享日计划', |
| | | path: 'pages/driver-page/delivery-my/delivery-my/delivery-my?'+ `id=${this.orderPlanId}` |
| | | } |
| | | |
| | | }, |
| | | |
| | | |
| | | data() { |
| | | 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: [{ //转发对象 |
| | |
| | | }, |
| | | // 转发对象 |
| | | 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; |
| | |
| | | return isPass; |
| | | } |
| | | }); |
| | | console.log(this.jhOrderPlanForwardList,'jhOderPlan') |
| | | if (isPass) { |
| | | this.loading = true; |
| | | this.$reqPost('forward', this.jhOrderPlanForwardList, 'json').then(res => { |
| | |
| | | } else { |
| | | this.tabHuoDai = false; |
| | | } |
| | | } |
| | | }, |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | } |
| | | |
| | | .utils-buttonGroup { |
| | | width: 610rpx; |
| | | width: 700rpx; |
| | | @include flex; |
| | | justify-content: space-between; |
| | | position: fixed; |
| | | bottom: vww(30); |
| | | left: vww(30); |
| | | left: vww(18); |
| | | z-index: 3; |
| | | |
| | | .AdddBtn, |