Commit 371b0f11 by 张恒

refactor(jcsj): 移除货位管理相关组件和API

- 删除 src/views/jcsj/huowei/components/config.ts 配置文件
- 删除 src/views/jcsj/huowei/components/Form.vue 表单组件
- 删除 src/views/jcsj/huowei/components/HuoweiModal.vue 弹窗组件
- 删除 src/api/jcsj/huowei/model/HuoweiModel.ts 数据模型
- 删除 src/api/jcsj/huowei/index.ts API接口文件
- 删除 src/views/jcsj/huowei/index.vue 主页面组件
- 清理货位管理相关的页面路由和功能模块
parent c90b8122
...@@ -222,3 +222,4 @@ ...@@ -222,3 +222,4 @@
}); });
</script> </script>
\ No newline at end of file
...@@ -163,3 +163,4 @@ ...@@ -163,3 +163,4 @@
</script> </script>
\ No newline at end of file
...@@ -33,26 +33,25 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -33,26 +33,25 @@ export const searchFormSchema: FormSchema[] = [
field: 'stockLocationId', field: 'stockLocationId',
label: '仓库位置', label: '仓库位置',
defaultValue: undefined, defaultValue: undefined,
component: 'XjrSelect', component: 'TreeSelectComponent',
componentProps: { componentProps: {
datasourceType: 'api', span: 5,
apiConfig: { defaultValue: '',
path: '/getLocationAll', showLabel: true,
method: 'GET', isShow: true,
apiId: '69e28b1debda431f93b97e2d8adcc601', required: true,
apiParams: [ events: {},
{ key: '1', title: 'Query Params', tableInfo: [] }, rules: [],
{ key: '2', title: 'Header', tableInfo: [] }, treeConfig: {
{ key: '3', title: 'Body' }, id: '2008372971650543617',
], isMultiple: false,
script: height: 100,
'var sql="select id as value,name as label from roke_stock_location where delete_mark = 0";\r\nreturn db.select(sql);', innerParams: [],
type: 2,
isSaveLast: true,
}, },
labelField: 'label', tooltipConfig: { visible: false, title: '提示文本' },
valueField: 'value', style: {},
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
}, },
}, },
]; ];
...@@ -101,7 +100,7 @@ export const columns: BasicColumn[] = [ ...@@ -101,7 +100,7 @@ export const columns: BasicColumn[] = [
resizable: true, resizable: true,
dataIndex: 'stockLocationId', dataIndex: 'stockLocationId',
title: '仓库位置', title: '仓库位置',
componentType: 'select', componentType: 'tree-select-component',
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -239,7 +238,6 @@ export const formProps: FormProps = { ...@@ -239,7 +238,6 @@ export const formProps: FormProps = {
{ key: 5, label: '生产位置', value: '生产位置' }, { key: 5, label: '生产位置', value: '生产位置' },
{ key: 6, label: '中转位置', value: '中转位置' }, { key: 6, label: '中转位置', value: '中转位置' },
], ],
defaultSelect: null,
datasourceType: 'dic', datasourceType: 'dic',
labelField: 'name', labelField: 'name',
valueField: 'value', valueField: 'value',
...@@ -324,54 +322,31 @@ export const formProps: FormProps = { ...@@ -324,54 +322,31 @@ export const formProps: FormProps = {
}, },
}, },
{ {
key: '602ff3908f4240b9841bf093f33b64d2', key: '9e1c5a7dc48c4a019479ed0957781e21',
field: 'stockLocationId', field: 'stockLocationId',
label: '仓库位置', label: '仓库位置',
type: 'select', type: 'tree-select-component',
component: 'XjrSelect', component: 'TreeSelectComponent',
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: '',
componentProps: { componentProps: {
width: '100%',
span: 5, span: 5,
placeholder: '请选择下拉选择', defaultValue: '',
showLabel: true, showLabel: true,
showSearch: false, isShow: true,
isMultiple: false,
clearable: false,
disabled: false,
staticOptions: [
{ key: 1, label: '内部位置', value: '出库内部位置' },
{ key: 2, label: '虚拟位置', value: '虚拟位置' },
{ key: 3, label: '内部调拨客户位置', value: '内部调拨' },
{ key: 4, label: '供应商位置', value: '供应商位置' },
{ key: 5, label: '生产位置', value: '生产位置' },
{ key: 6, label: '中转位置', value: '中转位置' },
],
defaultSelect: null,
datasourceType: 'api',
labelField: 'label',
valueField: 'value',
apiConfig: {
path: '/getLocationAll',
method: 'GET',
apiId: '69e28b1debda431f93b97e2d8adcc601',
apiParams: [
{ key: '1', title: 'Query Params', tableInfo: [] },
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
'var sql="select id as value,name as label from roke_stock_location where delete_mark = 0";\r\nreturn db.select(sql);',
},
dicOptions: [],
required: true, required: true,
rules: [],
events: {}, events: {},
isShow: true, rules: [],
treeConfig: {
id: '2008372971650543617',
isMultiple: false,
height: 100,
innerParams: [],
type: 2,
isSaveLast: true,
},
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
params: null, style: {},
itemId: '2008349355210772481',
style: { width: '100%' },
}, },
}, },
{ {
......
...@@ -76,10 +76,11 @@ export const permissionList = [ ...@@ -76,10 +76,11 @@ export const permissionList = [
fieldId: 'stockLocationId', fieldId: 'stockLocationId',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'select', type: 'tree-select-component',
key: '602ff3908f4240b9841bf093f33b64d2', key: '9e1c5a7dc48c4a019479ed0957781e21',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
......
...@@ -390,4 +390,4 @@ ...@@ -390,4 +390,4 @@
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment