From a9ffa322f0cf794a7da8182e1be4ca34f5ea19b6 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 25 七月 2025 13:34:36 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
---
north-glass-erp/northglass-erp/src/views/mm/basicData/WarehouseCreateBasicData.vue | 34 +++++++++++++++++++++++-----------
1 files changed, 23 insertions(+), 11 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/mm/basicData/WarehouseCreateBasicData.vue b/north-glass-erp/northglass-erp/src/views/mm/basicData/WarehouseCreateBasicData.vue
index 947d2dc..388e116 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/basicData/WarehouseCreateBasicData.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/basicData/WarehouseCreateBasicData.vue
@@ -15,18 +15,24 @@
input:''
})
let options=ref([
- { label: t('mainIngredientStock.inventoryOrganization'),
+ { label: t('ingredientsStock.inventoryOrganization'),
value: "inventoryOrganization",
},
- { label: t('mainBasicData.takeOut'),
+ { label: t('warehouseBasicData.takeOut'),
value: "takeOut",
},
- { label: t('mainIngredientStock.materialOutboundType'),
+ { label: t('ingredientsStock.materialOutboundType'),
value: "outboundType",
},
- { label: t('mainIngredientStock.materialReturnType'),
+ { label: t('ingredientsStock.materialReturnType'),
value: "returningType",
},
+ /*{ label: t('ingredients.originalFilm'),
+ value: "originalFilm",
+ },
+ { label: t('ingredients.accessories'),
+ value: "accessories",
+ },*/
])
let props = defineProps({
@@ -46,17 +52,23 @@
const emit = defineEmits(['gaveParent'])
const saveBasicData = () =>{
if (basic.value.operateType[0]==='inventoryOrganization'){
- basic.value.type=t('mainIngredientStock.inventoryOrganization')
+ basic.value.type=t('ingredientsStock.inventoryOrganization')
}
else if(basic.value.operateType[0]==='takeOut'){
- basic.value.type=t('mainBasicData.takeOut')
+ basic.value.type=t('warehouseBasicData.takeOut')
}
else if(basic.value.operateType[0]==='outboundType'){
- basic.value.type=t('mainIngredientStock.materialOutboundType')
+ basic.value.type=t('ingredientsStock.materialOutboundType')
}
else if(basic.value.operateType[0]==='returningType'){
- basic.value.type=t('mainIngredientStock.materialReturnType')
+ basic.value.type=t('ingredientsStock.materialReturnType')
}
+ /*else if(basic.value.operateType[0]==='originalFilm'){
+ basic.value.type=t('ingredients.originalFilm')
+ }
+ else if(basic.value.operateType[0]==='accessories'){
+ basic.value.type=t('ingredients.accessories')
+ }*/
if(basic.value.operateType[0]==='' || basic.value.input===''){
return
}
@@ -76,7 +88,7 @@
submitArr.type = basic.value.type
submitArr.operateTypeName = basic.value.input
if(basic.value.input===''){
- ElMessage.warning(t('mainIngredient.pleaseEnterData'))
+ ElMessage.warning(t('ingredients.pleaseEnterData'))
}else{
request.post(`/BasicWarehouse/updateBasicWarehouse`, submitArr).then(res => {
if (res.data) {
@@ -103,13 +115,13 @@
<template>
<div>
<el-row>
- <el-col :span="4">{{$t('orderBasicData.basicType')}}:</el-col>
+ <el-col :span="4">{{$t('orderBasicData.page.searchOrderBasicData')}}:</el-col>
<el-col :span="12">
<el-cascader
v-model="basic.operateType"
:options="options"
clearable
- placeholder=""
+ :placeholder="$t('processCard.pleaseSelect')"
:disabled="props.rowIndex"
/>
</el-col>
--
Gitblit v1.8.0