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
fdc0cd85
Commit
fdc0cd85
authored
Jan 16, 2026
by
宋春膨
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/weiqiao-vue3' into weiqiao-vue3
parents
974bd4e3
e980a4c0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
114 additions
and
22 deletions
+114
-22
xjrsoft-vue3/src/api/ckgl/cgdh/model/CgdhModel.ts
+7
-1
xjrsoft-vue3/src/views/ckgl/cgdh/components/Form.vue
+0
-0
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
+87
-17
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
+16
-0
xjrsoft-vue3/src/views/ckgl/cgdh/index.vue
+4
-4
No files found.
xjrsoft-vue3/src/api/ckgl/cgdh/model/CgdhModel.ts
View file @
fdc0cd85
...
...
@@ -30,6 +30,12 @@ export interface MesWarehouseArrivedPageModel {
zdr
:
string
;
kczz
:
string
;
zsl
:
string
;
zt
:
string
;
bz
:
string
;
}
/**
...
...
@@ -60,7 +66,7 @@ export interface MesWarehouseArrivedModel {
bz
:
string
;
p3
:
string
;
zt
:
string
;
p4
:
string
;
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/components/Form.vue
View file @
fdc0cd85
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
View file @
fdc0cd85
...
...
@@ -114,6 +114,45 @@ export const columns: BasicColumn[] = [
styleConfig
:
undefined
,
listStyle
:
''
,
},
{
resizable
:
true
,
dataIndex
:
'zsl'
,
title
:
'总数量'
,
componentType
:
'number'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
undefined
,
},
{
resizable
:
true
,
dataIndex
:
'zt'
,
title
:
'质检状态'
,
componentType
:
'select'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
undefined
,
},
{
resizable
:
true
,
dataIndex
:
'bz'
,
title
:
'备注'
,
componentType
:
'textarea'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
undefined
,
},
];
//表头合并配置
export
const
headerMergingData
=
[];
...
...
@@ -586,6 +625,52 @@ export const formProps: FormProps = {
},
],
},
{
span
:
8
,
list
:
[
{
key
:
'8e9c97d8cc0e40c8b1a28183050df250'
,
field
:
'zt'
,
label
:
'质检状态'
,
type
:
'select'
,
component
:
'XjrSelect'
,
colProps
:
{
span
:
24
},
componentProps
:
{
width
:
'100%'
,
span
:
7
,
placeholder
:
'请选择质检状态'
,
showLabel
:
true
,
showSearch
:
false
,
isMultiple
:
false
,
clearable
:
false
,
disabled
:
false
,
staticOptions
:
[
{
key
:
1
,
label
:
'Option 1'
,
value
:
'Option 1'
},
{
key
:
2
,
label
:
'Option 2'
,
value
:
'Option 2'
},
{
key
:
3
,
label
:
'Option 3'
,
value
:
'Option 3'
},
],
defaultSelect
:
null
,
datasourceType
:
'dic'
,
params
:
{
itemId
:
'2012042307269611522'
},
labelField
:
'name'
,
valueField
:
'value'
,
apiConfig
:
{
path
:
'CodeGeneration/selection'
,
method
:
'GET'
,
apiId
:
'93d735dcb7364a0f8102188ec4d77ac7'
,
},
dicOptions
:
[],
required
:
false
,
rules
:
[],
events
:
{},
isShow
:
false
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
itemId
:
'2012042307269611522'
,
style
:
{
width
:
'100%'
},
},
},
],
},
],
componentProps
:
{
gutter
:
16
,
...
...
@@ -1013,15 +1098,9 @@ export const formProps: FormProps = {
{
name
:
'dhdid'
,
value
:
'{"bindField":"id","fieldKey":"139048460226487596074dfbbaedba0c"}'
,
description
:
null
,
required
:
true
,
dataType
:
'String'
,
type
:
null
,
defaultValue
:
'0'
,
validateType
:
null
,
error
:
null
,
expression
:
null
,
children
:
null
,
bindType
:
'data'
,
},
],
...
...
@@ -1052,18 +1131,9 @@ export const formProps: FormProps = {
label
:
'批量报检'
,
icon
:
'ant-design:alert-outlined'
,
style
:
'primary'
,
event
:
[
{
key
:
'1'
,
type
:
2
,
operateType
:
2
,
operateConfig
:
{
js
:
"if (formActionType.selectedRowsData && formActionType.selectedRowsData.length === 0) { formActionType.showMessage('请先勾选物料明细数据'); } else { const ids = formActionType.selectedRowsData.map(item => item.id); console.log('Extracted ids:', ids); formActionType.httpRequest({ requestUrl: '/ckgl/cgdh/quailty', requestType: 'put', params: ids, errorMessageMode: 'message' }).then(response => { console.log('Quality check response:', response); if (formActionType.showSuccessMessage) { formActionType.showSuccessMessage('报检处理成功!'); } else if (formActionType.message) { formActionType.message.success('报检处理成功!'); } else { formActionType.showMessage('报检处理成功!'); } if (formActionType.clearSelection) { formActionType.clearSelection(); } }).catch(error => { console.error('Quality check error:', error); formActionType.showMessage('批量报检失败,请重试!'); }); }"
}
}
],
event
:
[],
type
:
1
,
}
}
,
],
isExport
:
false
,
isImport
:
false
,
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
View file @
fdc0cd85
...
...
@@ -187,6 +187,22 @@ export const permissionList = [
defaultValue
:
''
,
},
{
required
:
false
,
view
:
true
,
edit
:
true
,
disabled
:
false
,
isSaveTable
:
false
,
tableName
:
''
,
fieldName
:
'质检状态'
,
fieldId
:
'zt'
,
isSubTable
:
false
,
showChildren
:
true
,
type
:
'select'
,
key
:
'8e9c97d8cc0e40c8b1a28183050df250'
,
children
:
[],
options
:
{},
},
{
required
:
true
,
view
:
true
,
edit
:
true
,
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/index.vue
View file @
fdc0cd85
...
...
@@ -129,11 +129,11 @@
//展示在列表内的按钮
const
actionButtons
=
ref
<
string
[]
>
([
"view"
,
"edit"
]);
const
actionButtons
=
ref
<
string
[]
>
([
"view"
,
"edit"
,
"create"
]);
const
buttonConfigs
=
computed
(()
=>
{
const
list
=
[{
"buttonId"
:
"2009445983314264064"
,
"name"
:
"查看"
,
"code"
:
"view"
,
"icon"
:
"ant-design:eye-outlined"
,
"isDefault"
:
true
,
"isUse"
:
true
},{
"buttonId"
:
"2009445983314264066"
,
"name"
:
"编辑"
,
"code"
:
"edit"
,
"icon"
:
"ant-design:form-outlined"
,
"isDefault"
:
true
,
"isUse"
:
true
,
"isEnableLock"
:
true
},{
"buttonId"
:
"2009478676487966720"
,
"name"
:
"同步"
,
"code"
:
"get"
,
"icon"
:
"ant-design:arrow-down-outlined"
,
"isDefault"
:
false
,
"isUse"
:
true
,
"setting"
:[],
"showType"
:
"top"
,
"buttonType"
:
"primary"
}]
const
list
=
[{
"buttonId"
:
"2009445983314264064"
,
"name"
:
"查看"
,
"code"
:
"view"
,
"icon"
:
"ant-design:eye-outlined"
,
"isDefault"
:
true
,
"isUse"
:
true
},{
"buttonId"
:
"2009445983314264066"
,
"name"
:
"编辑"
,
"code"
:
"edit"
,
"icon"
:
"ant-design:form-outlined"
,
"isDefault"
:
true
,
"isUse"
:
true
,
"isEnableLock"
:
true
},{
"buttonId"
:
"2009478676487966720"
,
"name"
:
"同步"
,
"code"
:
"get"
,
"icon"
:
"ant-design:arrow-down-outlined"
,
"isDefault"
:
false
,
"isUse"
:
true
,
"setting"
:[],
"showType"
:
"top"
,
"buttonType"
:
"primary"
}
,{
"buttonId"
:
"2012037219988561920"
,
"name"
:
"生成入库单"
,
"code"
:
"create"
,
"icon"
:
"ant-design:download-outlined"
,
"isDefault"
:
false
,
"isUse"
:
true
,
"setting"
:[],
"showType"
:
"inline"
,
"buttonType"
:
"primary"
}
]
return
filterButtonAuth
(
list
);
})
})
;
const
tableButtonConfig
=
computed
(()
=>
{
return
buttonConfigs
.
value
?.
filter
((
x
)
=>
!
actionButtons
.
value
.
includes
(
x
.
code
));
...
...
@@ -200,7 +200,7 @@
striped
:
false
,
actionColumn
:
{
width
:
1
30
,
width
:
1
95
,
title
:
'操作'
,
dataIndex
:
'action'
,
slots
:
{
customRender
:
'action'
},
...
...
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