From 9da7bcc44240e359929d37c37753412b7aa66a02 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 29 八月 2024 10:33:50 +0800
Subject: [PATCH] 修改物料库存

---
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue |    6 ++++++
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue         |    8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue
index ad5b0c8..1f79f6a 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue
@@ -296,16 +296,16 @@
             ElMessage.error(t('mainIngredientStock.pleaseMaterialRequisitionPersonnel'))
             return
           }
-          const materialRequisitionTeam = titleUploadData.value.materialRequisitionTeam
+          /*const materialRequisitionTeam = titleUploadData.value.materialRequisitionTeam
           if(materialRequisitionTeam === null || materialRequisitionTeam === undefined || materialRequisitionTeam === ''){
             ElMessage.error(t('mainIngredientStock.pleaseMaterialRequisitionTeam'))
             return
-          }
-          const orderId = titleUploadData.value.orderId
+          }*/
+          /*const orderId = titleUploadData.value.orderId
           if(orderId === null || orderId === undefined || orderId === ''){
             ElMessage.error(t('mainIngredientStock.pleaseOrderId'))
             return
-          }
+          }*/
 
 
 
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
index 2c09fac..ba3ff09 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
@@ -507,6 +507,12 @@
         gridOption.columns.push(column)
 
       }
+      if(value.value==t('mainIngredient.accessories')){
+        titleUploadData.value.inventoryOrganization=titleSelectJson.value.inventoryOrganization[1].operateTypeName
+      }else{
+        titleUploadData.value.inventoryOrganization=titleSelectJson.value.inventoryOrganization[0].operateTypeName
+      }
+
       getStoreWorks()
 
     }else{

--
Gitblit v1.8.0