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 @@
});
</script>
\ No newline at end of file
......@@ -163,3 +163,4 @@
</script>
\ No newline at end of file
......@@ -33,26 +33,25 @@ export const searchFormSchema: FormSchema[] = [
field: 'stockLocationId',
label: '仓库位置',
defaultValue: undefined,
component: 'XjrSelect',
component: 'TreeSelectComponent',
componentProps: {
datasourceType: 'api',
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);',
span: 5,
defaultValue: '',
showLabel: true,
isShow: true,
required: true,
events: {},
rules: [],
treeConfig: {
id: '2008372971650543617',
isMultiple: false,
height: 100,
innerParams: [],
type: 2,
isSaveLast: true,
},
labelField: 'label',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
tooltipConfig: { visible: false, title: '提示文本' },
style: {},
},
},
];
......@@ -101,7 +100,7 @@ export const columns: BasicColumn[] = [
resizable: true,
dataIndex: 'stockLocationId',
title: '仓库位置',
componentType: 'select',
componentType: 'tree-select-component',
fixed: false,
sorter: true,
......@@ -239,7 +238,6 @@ export const formProps: FormProps = {
{ key: 5, label: '生产位置', value: '生产位置' },
{ key: 6, label: '中转位置', value: '中转位置' },
],
defaultSelect: null,
datasourceType: 'dic',
labelField: 'name',
valueField: 'value',
......@@ -324,54 +322,31 @@ export const formProps: FormProps = {
},
},
{
key: '602ff3908f4240b9841bf093f33b64d2',
key: '9e1c5a7dc48c4a019479ed0957781e21',
field: 'stockLocationId',
label: '仓库位置',
type: 'select',
component: 'XjrSelect',
type: 'tree-select-component',
component: 'TreeSelectComponent',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 5,
placeholder: '请选择下拉选择',
defaultValue: '',
showLabel: true,
showSearch: false,
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: [],
isShow: true,
required: true,
rules: [],
events: {},
isShow: true,
rules: [],
treeConfig: {
id: '2008372971650543617',
isMultiple: false,
height: 100,
innerParams: [],
type: 2,
isSaveLast: true,
},
tooltipConfig: { visible: false, title: '提示文本' },
params: null,
itemId: '2008349355210772481',
style: { width: '100%' },
style: {},
},
},
{
......
......@@ -76,10 +76,11 @@ export const permissionList = [
fieldId: 'stockLocationId',
isSubTable: false,
showChildren: true,
type: 'select',
key: '602ff3908f4240b9841bf093f33b64d2',
type: 'tree-select-component',
key: '9e1c5a7dc48c4a019479ed0957781e21',
children: [],
options: {},
defaultValue: '',
},
{
required: false,
......
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