From 44ec2594923a4dc585d2bebd6ac5714d10f01fc7 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 09 四月 2025 09:11:25 +0800
Subject: [PATCH] 原辅材型号选择
---
src/views/business/productOrder/components/add.vue | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/views/business/productOrder/components/add.vue b/src/views/business/productOrder/components/add.vue
index b6afc93..30f7a47 100644
--- a/src/views/business/productOrder/components/add.vue
+++ b/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('宸叉彁浜�')
--
Gitblit v1.9.3