feat(物料管理): 添加库位类型选项列表

为生产物料库位管理页面添加完整的库位类型选项,包括原材料、半成品、产成品等类型
This commit is contained in:
2026-01-09 09:11:43 +08:00
parent 3f853eef54
commit 4b9b76cfe5
2 changed files with 34 additions and 1 deletions

BIN
dist.rar Normal file

Binary file not shown.

View File

@@ -293,7 +293,40 @@ const state = reactive({
},
options: {
// 库位类型(半成品/成品/临时/返工/报废) 选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
locationTypeOptions: [],
locationTypeOptions: [
{
dictValue: '原材料',
dictLabel: '原材料'
},
{
dictValue: '半成品',
dictLabel: '半成品'
},
{
dictValue: '产成品',
dictLabel: '产成品'
},
{
dictValue: '临时',
dictLabel: '临时'
},
{
dictValue: '返工',
dictLabel: '返工'
},
{
dictValue: '退货',
dictLabel: '退货'
},
{
dictValue: '转用',
dictLabel: '转用'
},
{
dictValue: '报废',
dictLabel: '报废'
}
],
// 状态 选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
statusOptions: [
{