| | |
| | | this.getOther() |
| | | // this.getDate() |
| | | this.getDate2() |
| | | this.getInfo() |
| | | // this.getInfo() |
| | | // this.getError() |
| | | // this.getInfo2() |
| | | this.getInfo2() |
| | | // this.getError2() |
| | | this.getUrl() |
| | | this.controller() |
| | |
| | | let that = this |
| | | var result = ycqdata.dataInfo2 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (res.data && res.data.length > 0) { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | | return; |
| | | } |
| | | // infoType1:只有拣料等信息 |
| | | that.infoType = 1 |
| | | switch (res.data[0].ioType) { |
| | | case 101: |
| | | that.infoText.title = '全板出库' |
| | | break; |
| | | case 103: |
| | | that.infoText.title = '检料出库' |
| | | break; |
| | | case 107: |
| | | that.infoText.title = '盘点出库' |
| | | break; |
| | | case 1: |
| | | that.infoText.title = '入库' |
| | | break; |
| | | case 10: |
| | | that.infoText.title = '空托入库' |
| | | break; |
| | | case 110: |
| | | that.infoText.title = '空托出库' |
| | | break; |
| | | } |
| | | |
| | | that.infoText.title = res.data[0].ioType$ |
| | | that.swiperList = res.data |
| | | } else { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | |
| | | that.timeOuts = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (res.data && res.data.length > 0) { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | | return; |
| | | } |
| | | // infoType1:只有拣料等信息 |
| | | that.infoType = 1 |
| | | switch (res.data[0].ioType) { |
| | | case 101: |
| | | that.infoText.title = '全板出库' |
| | | break; |
| | | case 103: |
| | | that.infoText.title = '检料出库' |
| | | break; |
| | | case 107: |
| | | that.infoText.title = '盘点出库' |
| | | break; |
| | | case 1: |
| | | that.infoText.title = '入库' |
| | | break; |
| | | case 10: |
| | | that.infoText.title = '空托入库' |
| | | break; |
| | | case 110: |
| | | that.infoText.title = '空托出库' |
| | | break; |
| | | } |
| | | |
| | | that.infoText.title = res.data[0].ioType |
| | | that.swiperList = res.data |
| | | } else { |
| | | if (that.infoType == 2 || that.infoType == 3) { |