| | |
| | | let obj = { |
| | | packageNo: item.packageNo, |
| | | contractNo: item.contractNo, |
| | | boxInfo: [] |
| | | packageBoxId:item.id |
| | | } |
| | | list({packageBoxId:item.id}).then((res) =>{ |
| | | res.data.data.forEach(ele=>{ |
| | | obj.boxInfo.push({ |
| | | product: ele.product, |
| | | productNo: ele.productNo, |
| | | specs: ele.specs, |
| | | unit: ele.unit, |
| | | number: ele.number |
| | | }) |
| | | }) |
| | | }) |
| | | this.qrData.push(obj) |
| | | }) |
| | | }, |
| | |
| | | el.packageBoxId =this.goid |
| | | }); |
| | | console.log(this.testStandardParams); |
| | | return |
| | | // return |
| | | saveList(this.testStandardParams).then((res) =>{ |
| | | if(res.status===200){ |
| | | this.$message.success('保存成功') |