feat: 🚀 详情新增仓位字段

This commit is contained in:
2026-07-28 15:19:30 +08:00
parent 3bc63f076b
commit f530065b26
4 changed files with 31 additions and 1 deletions

View File

@@ -60,6 +60,25 @@
/>
</el-select>
</template>
<!-- 本地搜索下拉 -->
<template v-if="item.type === 'selectFilterable'">
<el-select
v-model="ruleForm[`${item.prop}`]"
:placeholder="item.placeholder"
clearable
:disabled="item.disabled"
style="width: 224px"
ref="selectRef"
filterable
>
<el-option
v-for="options in item.options"
:label="options.label"
:value="options.value"
:key="options.label"
/>
</el-select>
</template>
<!-- 单个日期选择 -->
<template v-if="item.type === 'date'">
<el-date-picker

View File

@@ -66,6 +66,11 @@ export const COLUMNS = [
prop: "method",
disabled: false
},
{
label: "仓位",
prop: "position",
disabled: false
},
{
label: "出库人",
prop: "creator",

View File

@@ -48,6 +48,12 @@ export const COLUMNS = [
disabled: false,
width: "160px"
},
{
label: "上架仓位",
prop: "shelfSpace",
disabled: false,
width: "160px"
},
{
label: "上架人",
prop: "shelfer",

View File

@@ -2,7 +2,7 @@ export const FORMDATA: any[] = [
{
prop: "stockCode",
placeholder: "请选择仓库",
type: "select",
type: "selectFilterable",
options: [],
label: "仓库:"
},