From 2a9ffe2101873f8eb6acdf730181549a398f002d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 08 四月 2025 16:58:50 +0800
Subject: [PATCH] 原辅材+成品下单修改

---
 src/views/business/materialOrder/customsInspection.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index 4701bc9..a60f62d 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/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

--
Gitblit v1.9.3