src/views/business/materialOrder/customsInspection.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/business/productOrder/components/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/business/materialOrder/customsInspection.vue
@@ -716,6 +716,11 @@ 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() @@ -1048,6 +1053,7 @@ 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 src/views/business/productOrder/components/add.vue
@@ -856,6 +856,11 @@ }; 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.specialStandardMethod = this.sampleList[0].specialStandardMethod this.getProNum() this.addObj.sampleNum = this.sampleList.length @@ -1304,6 +1309,9 @@ }) } else { // 常规提交 sampleList.forEach(m => { m.standardMethodListId = JSON.stringify(m.standardMethodListId) }) addInsOrder({ insOrder: this.addObj, sampleList: sampleList }).then(res => { this.saveLoad = false this.$message.success('已提交')