| | |
| | | method: 'POST', |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | for (var i = 0; i < res.data.length; i++) { |
| | | that.orderNoList.push(res.data[i]) |
| | | } |
| | |
| | | data: {orderNo: that.orderNo}, |
| | | method:'GET', |
| | | success(res) { |
| | | console.log(res); |
| | | res = res.data |
| | | if(res.code === 200){ |
| | | for(var i = 0; i < res.data.length;i++){ |
| | |
| | | const day = now.getDate(); |
| | | data.data.batch = (""+year+month+day) |
| | | } |
| | | that.checkMat(data.data) |
| | | for(let i = 0; i < data.data.count; i++) { |
| | | // that.checkMat(data.data) |
| | | that.dataList.unshift(data.data.mat) |
| | | } |
| | | }, |
| | | }, |
| | | }); |