| | |
| | | type="primary" |
| | | shape="circle"></u-button></view> |
| | | </view> |
| | | <!-- <view class="weigh-ability">--> |
| | | <!-- <view class="weigh-button"><u-button--> |
| | | <!-- :disabled="!isapproach"--> |
| | | <!-- text="申请复磅"--> |
| | | <!-- @click="shenqingFubangClick"--> |
| | | <!-- type="primary"--> |
| | | <!-- shape="circle"></u-button></view>--> |
| | | |
| | | <!-- </view>--> |
| | | <view class="weigh-ability" v-if="noCarNo == 1"> |
| | | <view class="weigh-button"><u-button |
| | | :disabled="!isapproach" |
| | |
| | | return uni.getStorageSync('userInfo').type; |
| | | }, |
| | | isShenqingFubangShow() { //申请复磅按钮是否显示 |
| | | //条件: 不是 称重完成+不是 未称重+有车牌+司机 【未称重0,称重中1,验质中2,称重完成3,验质完成4】 noCarNo 是否有车牌号(有车牌0,无车牌1) |
| | | if((this.currentPageCoalStatus != 0 && this.currentPageCoalStatus != 3) && this.roleType == 3 && this.noCarNo == 0 && this.orderType == "外购") { |
| | | //条件: 不是 称重完成+不是 未称重+司机 【未称重0,称重中1,验质中2,称重完成3,验质完成4】 noCarNo 是否有车牌号(有车牌0,无车牌1) |
| | | if((this.currentPageCoalStatus != 0 && this.currentPageCoalStatus != 3) && this.roleType == 3 && this.orderType == "外购") { |
| | | return true |
| | | }else { |
| | | return false |
| | |
| | | tmId:this.coalDetailsData.id |
| | | } |
| | | this.shenQingFuBangLoading = true |
| | | this.$reqPost('applyForRepeatedCar',params,'json').then(res => { |
| | | this.$reqPost('applyForRepeatedCarNew',params,'json').then(res => { |
| | | console.log(res,'申请复磅-----') |
| | | if(res.code == 0) { |
| | | this.$u.toast(res.msg); |
| | | this.shenQingFuBangLoading = false |
| | | }else { |
| | | this.$u.toast(res.msg); |