Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
20b675df
Commit
20b675df
authored
Jan 06, 2026
by
宋春膨
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/weiqiao-vue3' into weiqiao-vue3
parents
f559bbbe
d10c881b
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
87 additions
and
148 deletions
+87
-148
xjrsoft-vue3/src/views/jcsj/ckwz/components/config.ts
+46
-87
xjrsoft-vue3/src/views/jcsj/ckwz/index.vue
+0
-0
xjrsoft-vue3/src/views/jcsj/huowei/components/Form.vue
+2
-0
xjrsoft-vue3/src/views/jcsj/huowei/components/HuoweiModal.vue
+2
-0
xjrsoft-vue3/src/views/jcsj/huowei/components/config.ts
+34
-59
xjrsoft-vue3/src/views/jcsj/huowei/components/workflowPermission.ts
+3
-2
xjrsoft-vue3/src/views/jcsj/huowei/index.vue
+0
-0
No files found.
xjrsoft-vue3/src/views/jcsj/ckwz/components/config.ts
View file @
20b675df
...
...
@@ -8,32 +8,31 @@ export const searchFormSchema: FormSchema[] = [
defaultValue
:
undefined
,
component
:
'Input'
,
},
/* {
field: 'parentId',
label: '上级位置',
defaultValue: undefined,
component: 'XjrSelect',
componentProps: {
datasourceType: 'api',
apiConfig: {
path: '/getSjwz',
method: 'GET',
apiId: '4b8c17ba3e6a4cd6ba85e63e3917424a',
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 parent_id = \'\'";\r\nreturn db.select(sql);',
},
labelField: 'label',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
},
},*/
// {
// field: 'parentId',
// label: '上级位置',
// defaultValue: undefined,
// component: 'TreeSelectComponent',
// componentProps: {
// span: 5,
// defaultValue: '',
// showLabel: true,
// isShow: true,
// required: true,
// events: {},
// rules: [],
// treeConfig: {
// id: '2008372971650543617',
// isMultiple: false,
// height: 100,
// innerParams: [],
// type: 2,
// isSaveLast: true,
// },
// tooltipConfig: { visible: false, title: '提示文本' },
// style: {},
// },
// },
{
field
:
'locationType'
,
label
:
'位置类型'
,
...
...
@@ -49,18 +48,12 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer
:
()
=>
document
.
body
,
}
},
{
field
:
'completeName'
,
label
:
'显示名称'
,
defaultValue
:
undefined
,
component
:
'Input'
,
},
{
/* {
field: 'note',
label: '备注',
defaultValue: undefined,
component: 'Input',
},
},
*/
];
export
const
columns
:
BasicColumn
[]
=
[
...
...
@@ -81,13 +74,16 @@ export const columns: BasicColumn[] = [
resizable
:
true
,
dataIndex
:
'parentId'
,
title
:
'上级位置'
,
componentType
:
'
selec
t'
,
componentType
:
'
tree-select-componen
t'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
undefined
,
customRender
:
({
record
})
=>
{
return
record
.
parentName
||
record
.
parentId
||
''
;
},
},
{
...
...
@@ -253,56 +249,26 @@ export const formProps: FormProps = {
field
:
'parentId'
,
label
:
'上级位置'
,
type
:
'select'
,
component
:
'
XjrSelec
t'
,
component
:
'
TreeSelectComponen
t'
,
colProps
:
{
span
:
24
},
componentProps
:
{
width
:
'100%'
,
span
:
7
,
placeholder
:
'请选择下拉选择'
,
span
:
5
,
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
:
'其他出库单'
},
{
key
:
7
,
label
:
'库存调拨单'
,
value
:
'库存调拨单'
},
{
key
:
8
,
label
:
'库存盘点单'
,
value
:
'库存盘点单'
},
{
key
:
9
,
label
:
'委外领料单'
,
value
:
'委外领料单'
},
{
key
:
10
,
label
:
'委外入库单'
,
value
:
'委外入库单'
},
],
defaultSelect
:
null
,
datasourceType
:
'api'
,
params
:
null
,
labelField
:
'label'
,
valueField
:
'value'
,
apiConfig
:
{
path
:
'/getSjwz'
,
method
:
'GET'
,
apiId
:
'4b8c17ba3e6a4cd6ba85e63e3917424a'
,
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 parent_id =
\'\'
";
\
r
\
nreturn db.select(sql);'
,
},
dicOptions
:
[],
required
:
false
,
isShow
:
true
,
required
:
true
,
events
:
{},
rules
:
[],
events
:
{
change
:
"
\
nformActionType.httpRequest({
\
n requestType: 'get',
\
n requestUrl: '/magic-api/getLocation', //
\
n params: {
\
n id: formModel.parent_id
\
n },
\
n errorMessageMode: 'none'
\
n}).then(res => {
\
n if (res.length > 0) {
\
n var parentName = res[0].name;
\
n formModel.complete_name = parentName + '/' + formModel.name;
\
n } else {
\
n formModel.complete_name = formModel.parent_id + '/' + formModel.name;
\
n
\
n }
\
n}).catch(err => {
\
n console.error('接口请求异常:', err);
\
n formModel.complete_name = formModel.parent_id + '/' + formModel.name;
\
n});"
,
treeConfig
:
{
id
:
'2008372971650543617'
,
isMultiple
:
false
,
height
:
100
,
innerParams
:
[],
type
:
2
,
isSaveLast
:
true
,
},
isShow
:
true
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
style
:
{
width
:
'100%'
},
style
:
{},
},
},
{
...
...
@@ -321,14 +287,7 @@ export const formProps: FormProps = {
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
:
'中转位置'
},
],
datasourceType
:
'dic'
,
params
:
{
itemId
:
'2008349355210772481'
},
labelField
:
'name'
,
...
...
xjrsoft-vue3/src/views/jcsj/ckwz/index.vue
View file @
20b675df
xjrsoft-vue3/src/views/jcsj/huowei/components/Form.vue
View file @
20b675df
...
...
@@ -222,3 +222,4 @@
});
</
script
>
\ No newline at end of file
xjrsoft-vue3/src/views/jcsj/huowei/components/HuoweiModal.vue
View file @
20b675df
...
...
@@ -163,3 +163,4 @@
</
script
>
\ No newline at end of file
xjrsoft-vue3/src/views/jcsj/huowei/components/config.ts
View file @
20b675df
...
...
@@ -33,26 +33,25 @@ export const searchFormSchema: FormSchema[] = [
field
:
'stockLocationId'
,
label
:
'仓库位置'
,
defaultValue
:
undefined
,
component
:
'
XjrSelec
t'
,
component
:
'
TreeSelectComponen
t'
,
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
:
'
selec
t'
,
componentType
:
'
tree-select-componen
t'
,
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
:
'
selec
t'
,
component
:
'
XjrSelec
t'
,
type
:
'
tree-select-componen
t'
,
component
:
'
TreeSelectComponen
t'
,
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
:
{},
},
},
{
...
...
xjrsoft-vue3/src/views/jcsj/huowei/components/workflowPermission.ts
View file @
20b675df
...
...
@@ -76,10 +76,11 @@ export const permissionList = [
fieldId
:
'stockLocationId'
,
isSubTable
:
false
,
showChildren
:
true
,
type
:
'
selec
t'
,
key
:
'
602ff3908f4240b9841bf093f33b64d2
'
,
type
:
'
tree-select-componen
t'
,
key
:
'
9e1c5a7dc48c4a019479ed0957781e21
'
,
children
:
[],
options
:
{},
defaultValue
:
''
,
},
{
required
:
false
,
...
...
xjrsoft-vue3/src/views/jcsj/huowei/index.vue
View file @
20b675df
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment