From c3e3920e4e7fcda3dd986c00bb80188381e93015 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 四月 2024 09:59:50 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/a1536384743/erp_-override

---
 north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
index 7152658..3fedbf0 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
@@ -84,13 +84,25 @@
   })
   productName+="}"
 
-  let materialStore={
-    id:ruleForm.value.id,
-    type:value.value,
-    json:productName,
-    width:BasicData.value[0].Type,
-    height:BasicData.value[1].Type
+  let materialStore
+
+  if(value.value==='鍘熺墖'){
+     materialStore={
+      id:ruleForm.value.id,
+      type:value.value,
+      json:productName,
+      width:BasicData.value[0].Type,
+      height:BasicData.value[1].Type
+    }
+  }else if(value.value==='杈呮枡'){
+     materialStore={
+      id:ruleForm.value.id,
+      type:value.value,
+      json:productName,
+    }
   }
+
+
   console.log(materialStore)
   if(isBool){
     request.post("/MaterialStore/saveMaterialStore", materialStore).then((res) => {

--
Gitblit v1.8.0