| | |
| | | }, |
| | | scanHandle(val) { |
| | | this.submitList = {}; |
| | | const isZhuangBei = val.hasOwnProperty("part_no"); |
| | | const { PN, BN, NW } = val; |
| | | this.$u.api.shiftingParking |
| | | .selPartInfoPDA({ outBatchNo: BN }) |
| | | .selPartInfoPDA({ outBatchNo: isZhuangBei ? val.sn_no : BN }) |
| | | .then((res) => { |
| | | console.log("res", res); |
| | | this.submitList = res.data; |
| | |
| | | this.$u.toast("请选择盘点报告号"); |
| | | return; |
| | | } |
| | | const isZhuangBei = this.getDifferentFields.hasOwnProperty("part_no"); |
| | | const diff = this.getDifferentFields( |
| | | this.registerInfo, |
| | | this.scanHandleList, |
| | | { |
| | | partNo: { fixed: this.scanHandleList.PN }, |
| | | partNo: { fixed: isZhuangBei ? this.scanHandleList.part_no : this.scanHandleList.PN }, |
| | | // qtyAvailable: { fixed: Number(this.scanHandleList.NW) }, |
| | | ifsBatchNo: { fixed: this.scanHandleList.BN }, |
| | | ifsBatchNo: { fixed: isZhuangBei ? this.scanHandleList.sn_no : this.scanHandleList.BN }, |
| | | } |
| | | ); |
| | | console.log("差异字段:", diff); |