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 |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 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 9ea316d..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,11 +84,26 @@
   })
   productName+="}"
 
-  let materialStore={
-    id:ruleForm.value.id,
-    type:value.value,
-    json:productName
+  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) => {
       if(res.code==200){

--
Gitblit v1.8.0