| | |
| | | } else if (this.roleType == 2) { |
| | | this.$reqGet('huoDaiList').then(res => { |
| | | this.indexHuoDaiOrderPlanData = res.data; |
| | | uni.hideLoading(); |
| | | uni.stopPullDownRefresh(); |
| | | }); |
| | | // 获取历史提煤单 |
| | | this.$reqGet('getJhOrderPlanDataPage', { current: 1, size: 10 }).then(res => { |
| | | if (res.data.records) { |
| | | this.indexHistoryCoalData = [...this.historyCoalData, ...res.data.records]; |
| | | this.indexHistoryCoalData = res.data.records; |
| | | uni.hideLoading(); |
| | | uni.stopPullDownRefresh(); |
| | | } |
| | | }); |
| | | } else { |
| | | } else if (this.roleType == 3) { |
| | | this.$reqGet('qiangDanList').then(res => { |
| | | this.indexdriverBillOfLoadingData = res.data; |
| | | uni.hideLoading(); |
| | |
| | | orderPlanDataStore: [], |
| | | indexHuoDaiOrderPlanData: [], |
| | | indexHistoryCoalData: [], |
| | | indexdriverBillOfLoadingData: [] |
| | | indexdriverBillOfLoadingData: {} |
| | | }; |
| | | }, |
| | | onShow() { |