| | |
| | | let codeInfo = JSON.parse(data.code); |
| | | // 扫描报工单二维码 |
| | | // 判断扫描的是库位码还是流转码 |
| | | if (codeInfo.LN) { |
| | | if (codeInfo.CT) { |
| | | that.saveForm(codeInfo); |
| | | } else { |
| | | if (!that.registerInfo.toLocationNo) { |
| | | that.$u.toast("请先扫描库位"); |
| | | return; |
| | | } |
| | | that.hasScanSnList = []; |
| | | // that.hasScanSnList = []; |
| | | that.codeInfoId = codeInfo.id; |
| | | that.saveModalForm(codeInfo); |
| | | // that.getHandelList(); |
| | |
| | | saveModalForm(val) { |
| | | this.$u.api.shiftingParking |
| | | .selPartInfoPDA({ |
| | | outBatchNo: val.outBatchNo, |
| | | outBatchNo: val.BN, |
| | | }) |
| | | .then((res) => { |
| | | this.detailedList = res.data; |