Browse Source

feat(inventory): 增加环境筛选功能

- 在库存查询界面添加环境筛选选项
- 后端增加根据环境 ID筛选的功能
- 更新请求模型,添加 envId 字段
jx-test
lizw-2015 5 months ago
parent
commit
45820b2182
  1. 11
      src/views/inventory/query.vue

11
src/views/inventory/query.vue

@ -43,6 +43,17 @@ interface ComponentData {
const data: ComponentData = { const data: ComponentData = {
formFields: [ formFields: [
{ {
dataPath: 'envId', label: '环境', input: 'SelectV2',
inputProps: {
placeholder: '选择环境',
clearable: true,
options: [
{ value: "10", label: "物理环境" },
{ value: "13", label: "虚拟环境1" },
],
}
},
{
dataPath: 'lpn', label: '托盘条码', input: 'Input', dataPath: 'lpn', label: '托盘条码', input: 'Input',
inputProps: { inputProps: {
placeholder: '托盘条码', placeholder: '托盘条码',

Loading…
Cancel
Save