| | |
| | | }, |
| | | data() { |
| | | return { |
| | | door:'', |
| | | temporaryPlanId:"", |
| | | show: false, // 弹出全部领取提示 |
| | | showModal:false, |
| | |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.door=uni.getStorageSync('door', this.door) |
| | | this.init(); |
| | | }, |
| | | methods: { |
| | |
| | | }); |
| | | |
| | | if(!this.carNo){ |
| | | this.$reqGet('getCheckTaskCoal',{flag:1}).then(res => { |
| | | this.$reqGet('getCheckTaskCoal',{flag:1,door:this.door}).then(res => { |
| | | uni.hideLoading(); |
| | | this.driverBillOfLoadingData = res.data; |
| | | uni.stopPullDownRefresh(); |
| | |
| | | this.handleOpenChange(); |
| | | }); |
| | | }else{ |
| | | this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => { |
| | | this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => { |
| | | uni.hideLoading(); |
| | | this.driverBillOfLoadingData = res.data; |
| | | uni.stopPullDownRefresh(); |
| | |
| | | }); |
| | | } |
| | | if(!this.carNo){ |
| | | this.$reqGet('getAlreadyCheckTaskCoal',{flag:1}).then(res => { |
| | | this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,door:this.door}).then(res => { |
| | | uni.hideLoading(); |
| | | this.driverBillOfLoadingDatas = res.data; |
| | | uni.stopPullDownRefresh(); |
| | | this.handleOpenChange(); |
| | | }); |
| | | }else{ |
| | | this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => { |
| | | this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => { |
| | | uni.hideLoading(); |
| | | this.driverBillOfLoadingDatas = res.data; |
| | | uni.stopPullDownRefresh(); |