| | |
| | | @click="cardBodyClick(item)"> |
| | | <view class="first-line"> |
| | | <view class="dispatch-receive"> |
| | | <view class="dispatch-dept">{{ item.deptName }}</view> |
| | | <view class="black-bar"></view> |
| | | <view class="dispatch">{{ item.filedName }}</view> |
| | | </view> |
| | | <view class="point-number"> |
| | |
| | | <view class="receiverPopup__btn"><u-button text="确定" |
| | | type="primary" |
| | | @click="popupDetermineClick" |
| | | :disabled="canClick"></u-button></view> |
| | | :disabled="canClick" |
| | | :loading="popupDetermineClickLoading"></u-button></view> |
| | | </view> |
| | | </u-popup> |
| | | </view> |
| | |
| | | carNum: "", |
| | | // 剩余的提煤单数量 |
| | | carNumSurplus: '', |
| | | canClick: false |
| | | canClick: false, |
| | | popupDetermineClickLoading: false |
| | | }; |
| | | }, |
| | | onLoad() { |
| | |
| | | }, |
| | | popupDetermineClick() { |
| | | if (this.receiveNum > 0) { |
| | | this.popupDetermineClickLoading = true; |
| | | this.getOrderNum.num = this.receiveNum; |
| | | uni.showLoading({ title: '加载中...' }); |
| | | this.$reqPost('customerGet', this.getOrderNum, 'params').then(res => { |
| | | uni.hideLoading(); |
| | | if (res.code == 0) { |
| | | this.popupDetermineClickLoading = false; |
| | | this.getOrderNum.num = ''; |
| | | this.GetOrderPlan(); |
| | | this.show = false; |
| | |
| | | duration: 1000 |
| | | }); |
| | | } else { |
| | | this.popupDetermineClickLoading = false; |
| | | this.$u.toast(res.msg ? res.msg : '领取失败'); |
| | | } |
| | | }); |
| | |
| | | .dispatch-receive { |
| | | width: 70%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | |
| | | .dispatch-dept { |
| | | |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .black-bar { |
| | | width: 2rpx; |
| | | height: 30rpx; |
| | | background: #515151; |
| | | margin-left: vww(12); |
| | | } |
| | | |
| | | .dispatch { |
| | | margin-left: vww(12); |
| | | min-width: vww(50); |
| | | } |
| | | |
| | | } |
| | | |
| | | .point-number { |