qingyiay
2023-10-23 5c2decc75ac02ba4409375efc4f793b02c505296
pages/public-page/forward/forward.vue
@@ -15,7 +15,7 @@
         <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"
@@ -388,10 +388,12 @@
            }, 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('剩余提煤单数量不足');
@@ -400,10 +402,12 @@
               }
            }
            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('剩余提煤单数量不足');