| | |
| | | prop: 'storageTypeNo', |
| | | el: 'select', |
| | | options: [ |
| | | { label: '类型1', value: 'Type1' }, |
| | | { label: '类型2', value: 'Type2' }, |
| | | { label: '类型1', value: 1 }, |
| | | { label: '类型2', value: 2 }, |
| | | // 根据实际的 PlaceTypeEnum 添加更多选项 |
| | | ], |
| | | placeholder: '请选择货位类型', |
| | |
| | | prop: 'placeStatus', |
| | | el: 'select', |
| | | options: [ |
| | | { label: '状态1', value: 'Status1' }, |
| | | { label: '状态2', value: 'Status2' }, |
| | | { label: '状态1', value: 1 }, |
| | | { label: '状态2', value: 2 }, |
| | | // 根据实际的 PlaceStatusEnum 添加更多选项 |
| | | ], |
| | | placeholder: '请选择货位状态', |
| | |
| | | prop: 'islock', |
| | | el: 'select', |
| | | options: [ |
| | | { label: '是', value: 'Y' }, |
| | | { label: '否', value: 'N' }, |
| | | { label: '是', value: 1 }, |
| | | { label: '否', value: 2 }, |
| | | ], |
| | | placeholder: '请选择是否锁定', |
| | | rules: [ |
| | |
| | | prop: 'emptyContainer', |
| | | el: 'select', |
| | | options: [ |
| | | { label: '是', value: 'Y' }, |
| | | { label: '否', value: 'N' }, |
| | | { label: '是', value: 1 }, |
| | | { label: '否', value: 2 }, |
| | | ], |
| | | placeholder: '请选择是否空托', |
| | | rules: [ |
| | |
| | | title: '描述', |
| | | }, |
| | | { |
| | | field: 'areaStatus', |
| | | field: 'areaStatusDesc', |
| | | title: '库区状态', |
| | | formatter: (value) => { |
| | | // 根据 AreaStatusEnum 的值返回对应的描述 |
| | | switch (value) { |
| | | case 'Active': |
| | | return '启用' |
| | | case 'Inactive': |
| | | return '禁用' |
| | | default: |
| | | return value |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | field: 'areaType', |
| | | field: 'areaTypeDesc', |
| | | title: '库区类型', |
| | | formatter: (value) => { |
| | | // 根据 AreaTypeEnum 的值返回对应的描述 |
| | | switch (value) { |
| | | case 1: |
| | | return '原料库区' |
| | | case 2: |
| | | return '装卸区' |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | field: 'storeCode', |
| | |
| | | .wmsAreaContent { |
| | | width: 100%; |
| | | height: 100%; |
| | | height: 90%; |
| | | |
| | | .wmsAreaList { |
| | | width: 100%; |
| | |
| | | title: '编号', |
| | | }, |
| | | { |
| | | field: 'storageTypeNo', |
| | | field: 'storageTypeNoDesc', |
| | | title: '货位类型', |
| | | }, |
| | | { |
| | | field: 'placeStatus', |
| | | field: 'placeStatusDesc', |
| | | title: '货位状态', |
| | | }, |
| | | { |
| | |
| | | title: '层', |
| | | }, |
| | | { |
| | | field: 'islock', |
| | | field: 'islockDesc', |
| | | title: '是否锁定', |
| | | }, |
| | | { |
| | | field: 'emptyContainer', |
| | | field: 'emptyContainerDesc', |
| | | title: '是否空托', |
| | | }, |
| | | { |
| | |
| | | .wmsPlaceContent { |
| | | width: 100%; |
| | | height: 100%; |
| | | height: 90%; |
| | | |
| | | .wmsPlaceList { |
| | | width: 100%; |
| | |
| | | .wmsStoreContent { |
| | | width: 100%; |
| | | height: 100%; |
| | | height: 90%; |
| | | |
| | | .wmsStoreList { |
| | | width: 100%; |