feat(production-master-data): 新增生产主数据模块下物料与工序相关功能
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

1. 新增物料单位、物料类别、物料信息管理的API与页面
2. 新增工序单元管理的API、页面与弹窗组件
3. 新增可选参数管理组件与相关API
4. 补充对应国际化多语言配置
5. 新增生产主数据模块路由配置
6. 新增计量单位功能测试流程文档
This commit is contained in:
sheng
2026-06-02 11:25:26 +08:00
parent 99b9bc8a5b
commit a0192d9567
17 changed files with 3460 additions and 1 deletions

View File

@@ -0,0 +1,91 @@
<template>
<el-dialog
:title="title"
:visible.sync="visible"
:append-to-body="true"
:close-on-click-modal="false"
:before-close="handleClose"
:width="width"
>
<div class="setting-content">
<el-alert
:title="settingTip"
type="info"
:closable="false"
show-icon
/>
<div class="setting-placeholder">
<p>{{ $t(key('setting_placeholder')) }}</p>
<el-tag type="warning">{{ type }}</el-tag>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="handleClose">{{ $t(key('cancel')) }}</el-button>
<el-button type="primary" @click="handleSubmit">{{ $t(key('confirm')) }}</el-button>
</div>
</el-dialog>
</template>
<script>
import { i18nMixin } from '@/composables/useI18n'
export default {
name: 'ProcessStepSettingDialog',
mixins: [i18nMixin('page.production_master_data.process_model.process_step')],
props: {
type: {
type: String,
default: ''
},
code: {
type: String,
default: ''
},
title: {
type: String,
default: ''
},
width: {
type: String,
default: '50%'
},
visible: {
type: Boolean,
default: false
},
pluginData: {
default: ''
}
},
computed: {
settingTip () {
return this.$t(this.key('setting_tip'))
}
},
methods: {
handleClose () {
this.$emit('close')
},
handleSubmit () {
this.$message.success(this.key('operation_success'))
this.$emit('close')
}
}
}
</script>
<style scoped>
.setting-content {
padding: 10px 0;
}
.setting-placeholder {
margin-top: 20px;
text-align: center;
padding: 40px 0;
color: #909399;
}
.setting-placeholder p {
margin-bottom: 15px;
font-size: 14px;
}
</style>