| | |
| | | this.addObj.updateBatchNo = res.data.insOrderTemplate.updateBatchNo |
| | | this.addObj.type = String(this.addObj.type) |
| | | this.sampleList = this.HaveJson(res.data.sampleProduct) |
| | | this.sampleList.forEach(m => { |
| | | if (m.standardMethodListId) { |
| | | m.standardMethodListId = JSON.parse(m.standardMethodListId) |
| | | } |
| | | }) |
| | | this.getProNum() |
| | | this.$nextTick(() => { |
| | | this.$refs.sampleTable.doLayout() |
| | |
| | | addInsOrder({ |
| | | insOrder: this.addObj, |
| | | sampleList: sampleList.map(a => { |
| | | a.standardMethodListId = JSON.stringify(a.standardMethodListId) |
| | | if (a.insProduct.length > 0) { |
| | | a.insProduct.forEach(c => { |
| | | delete c.id |