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
1
Merge Requests
1
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
7829bf09
Commit
7829bf09
authored
Mar 10, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购到货页面物料信息自动带出
parent
2f38cd24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
112 additions
and
1 deletions
+112
-1
xjrsoft-vue3/src/api/ckgl/cgdh/model/CgdhModel.ts
+2
-0
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
+95
-1
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
+15
-0
No files found.
xjrsoft-vue3/src/api/ckgl/cgdh/model/CgdhModel.ts
View file @
7829bf09
...
...
@@ -174,6 +174,8 @@ export interface MesWarehouseArrivedInfoModel {
modifyDate
:
string
;
modifyUserId
:
string
;
wlid
:
string
;
}
/**
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
View file @
7829bf09
...
...
@@ -921,6 +921,100 @@ export const formProps: FormProps = {
},
},
{
key
:
'c793430b933d4d6db6c492bdec4597b1'
,
title
:
'物料编码'
,
dataIndex
:
'wlid'
,
componentType
:
'MultiplePopup'
,
componentProps
:
{
popupType
:
'associate'
,
width
:
'100%'
,
span
:
''
,
placeholder
:
'请选择物料编码'
,
showLabel
:
true
,
disabled
:
false
,
datasourceType
:
'api'
,
labelField
:
'label'
,
valueField
:
'value'
,
pageSize
:
10
,
assoTitle
:
'联想弹层-联想数据配置'
,
apiConfig
:
{
path
:
'/jcxx/wlInfoList'
,
method
:
'GET'
,
apiId
:
'58a1e5be580f4cc991e444e95142bbe7'
,
apiParams
:
[
{
key
:
'1'
,
title
:
'Query Params'
,
tableInfo
:
[
{
name
:
'keyword'
,
value
:
null
,
description
:
null
,
required
:
false
,
dataType
:
'String'
,
type
:
null
,
defaultValue
:
null
,
validateType
:
null
,
error
:
null
,
expression
:
null
,
children
:
null
,
bindType
:
''
,
},
],
},
{
key
:
'2'
,
title
:
'Header'
,
tableInfo
:
[]
},
{
key
:
'3'
,
title
:
'Body'
},
],
script
:
'var sql ="select *,id as value,cpbh as label from mes_base_product_info where delete_mark = 0"+
\
r
\
n
\'
?{keyword, AND cpmc LIKE CONCAT("%", #{keyword}, "%")}
\'
;
\
r
\
nreturn db.select(sql);'
,
outputParams
:
[
{
name
:
'label'
,
tableTitle
:
'物料编码'
,
bindField
:
'wlbm'
,
show
:
true
,
width
:
150
,
component
:
'd156328500cb4894ad6856524fb85d98'
,
bindTable
:
'mes_warehouse_arrived_info'
,
},
{
name
:
'cpmc'
,
tableTitle
:
'物料名称'
,
bindField
:
'wlmc'
,
show
:
true
,
width
:
150
,
component
:
'e8b50d775cf34c278af462df13a9c865'
,
bindTable
:
'mes_warehouse_arrived_info'
,
},
{
name
:
'gg'
,
tableTitle
:
'规格'
,
bindField
:
'gg'
,
show
:
true
,
width
:
150
,
component
:
'0e6903d4d9014dcfae6b1cb666d448b7'
,
bindTable
:
'mes_warehouse_arrived_info'
,
},
{
name
:
'xh'
,
tableTitle
:
'型号'
,
bindField
:
'xh'
,
show
:
true
,
width
:
150
,
component
:
'63ed4d83c8bc4858872435c676ca8eb7'
,
bindTable
:
'mes_warehouse_arrived_info'
,
},
],
},
dicOptions
:
[],
required
:
false
,
rules
:
[],
events
:
{},
isShow
:
true
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
},
},
{
key
:
'd156328500cb4894ad6856524fb85d98'
,
title
:
'物料编码'
,
dataIndex
:
'wlbm'
,
...
...
@@ -943,7 +1037,7 @@ export const formProps: FormProps = {
events
:
{},
listStyle
:
''
,
isSave
:
false
,
isShow
:
tru
e
,
isShow
:
fals
e
,
scan
:
false
,
bordered
:
true
,
isShowAi
:
false
,
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
View file @
7829bf09
...
...
@@ -268,6 +268,21 @@ export const permissionList = [
showChildren
:
false
,
tableName
:
'mesWarehouseArrivedInfoList'
,
fieldName
:
'物料编码'
,
fieldId
:
'wlid'
,
type
:
'MultiplePopup'
,
key
:
'c793430b933d4d6db6c492bdec4597b1'
,
children
:
[],
},
{
required
:
true
,
view
:
true
,
edit
:
true
,
disabled
:
false
,
isSubTable
:
false
,
isSaveTable
:
false
,
showChildren
:
false
,
tableName
:
'mesWarehouseArrivedInfoList'
,
fieldName
:
'物料编码'
,
fieldId
:
'wlbm'
,
type
:
'Input'
,
key
:
'd156328500cb4894ad6856524fb85d98'
,
...
...
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