| | |
| | | coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤仓', '出煤仓', '放空', '作废', '入场申请', |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写' |
| | | ], // 状态 |
| | | orderType: null |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | } |
| | | }, |
| | | onLoad(params) { |
| | | this.name = params.coalName ? params.coalName : '' |
| | | this.orderType = params.orderType || '' |
| | | this.init() |
| | | }, |
| | | methods: { |
| | |
| | | uni.showLoading({ |
| | | title: "加载中" |
| | | }) |
| | | this.$reqGet('getAccordingCoalNameAll', { coalName: this.name }).then(res => { |
| | | this.$reqGet('getAccordingCoalNameAll', { orderType: this.orderType }).then(res => { |
| | | uni.hideLoading() |
| | | if (res.code === 0) { |
| | | const errorStatusArr = [0, 1, 2, 3, 6, 11, 12, 13]; |