| | |
| | | <u-notice-bar :text="text" |
| | | :fontSize="30"></u-notice-bar> |
| | | <view class="notice-icon" |
| | | style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;"> |
| | | style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;"> |
| | | </view> |
| | | </view> |
| | | <view v-else-if="roleType == 2" |
| | |
| | | }, 0); |
| | | console.log(total, '提煤单一共的数据'); |
| | | if (this.roleType == 1) { |
| | | if (Number(this.cars2) >= total) { |
| | | if (Number(this.cars2) > total) { |
| | | this.carNumSurplus1 = Number(this.cars2) - total; |
| | | this.whetherClick = false; |
| | | this.whetherClick1 = false; |
| | | } else if (Number(this.cars2) == total) { |
| | | this.whetherClick = true; |
| | | } else { |
| | | this.carNumSurplus1 = 0; |
| | | this.$u.toast('剩余提煤单数量不足'); |
| | |
| | | } |
| | | } |
| | | if (this.roleType == 2) { |
| | | if (Number(this.carNum) >= total) { |
| | | if (Number(this.carNum) > total) { |
| | | this.carNumSurplusHuodai = Number(this.carNum) - total; |
| | | this.whetherClick = false; |
| | | this.whetherClick1 = false; |
| | | } else if (Number(this.carNum) == total) { |
| | | this.whetherClick = true; |
| | | } else { |
| | | this.carNumSurplusHuodai = 0; |
| | | this.$u.toast('剩余提煤单数量不足'); |