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
5008658f
Commit
5008658f
authored
Mar 11, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购到货页面子表批次号设置为自动带入
parent
ead7818d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
40 deletions
+79
-40
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
+73
-34
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
+6
-6
No files found.
xjrsoft-vue3/src/views/ckgl/cgdh/components/config.ts
View file @
5008658f
...
...
@@ -936,7 +936,7 @@ export const formProps: FormProps = {
labelField
:
'label'
,
valueField
:
'value'
,
pageSize
:
10
,
assoTitle
:
'
联想弹层-联想数据配置
'
,
assoTitle
:
'
物料编码
'
,
apiConfig
:
{
path
:
'/jcxx/wlInfoList'
,
method
:
'GET'
,
...
...
@@ -1169,74 +1169,110 @@ export const formProps: FormProps = {
},
},
{
key
:
'
ac4098a101a84c40b7ef51f714b136d9
'
,
key
:
'
36635cbf40d14baf96358f8fa129ce0f
'
,
title
:
'实收数量'
,
dataIndex
:
'sssl'
,
componentType
:
'InputNumber'
,
componentType
:
'Computation'
,
defaultValue
:
0
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
min
:
0
,
step
:
1
,
disabled
:
false
,
width
:
'100%'
,
defaultValue
:
0
,
placeholder
:
'请输入实收数量'
,
addonBefore
:
''
,
addonAfter
:
''
,
prefix
:
''
,
maxlength
:
null
,
showLabel
:
true
,
controls
:
true
,
required
:
false
,
disabled
:
false
,
subTotal
:
false
,
computationalConfig
:
[],
computationalConfigValue
:
'== 请填写计算式配置 =='
,
beAdoptedComponent
:
[
'4be31cc0258a426bb3ed21612076b687'
],
decimals
:
0
,
required
:
false
,
isShow
:
true
,
rules
:
[],
events
:
{},
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
prestrainField
:
'sssl'
,
listStyle
:
"return 'width:100%'"
,
},
},
{
key
:
'
9cd15589c75f476ebe5605b3352e8ffc
'
,
key
:
'
5e4377f941cd450ba40bbc1f9d26ff27
'
,
title
:
'应收数量'
,
dataIndex
:
'yssl'
,
componentType
:
'InputNumber'
,
componentType
:
'Computation'
,
defaultValue
:
0
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
min
:
0
,
step
:
1
,
disabled
:
false
,
width
:
'100%'
,
defaultValue
:
0
,
placeholder
:
'请输入应收数量'
,
addonBefore
:
''
,
addonAfter
:
''
,
prefix
:
''
,
maxlength
:
null
,
showLabel
:
true
,
controls
:
true
,
required
:
false
,
disabled
:
false
,
subTotal
:
false
,
computationalConfig
:
[],
computationalConfigValue
:
'== 请填写计算式配置 =='
,
beAdoptedComponent
:
[
'4be31cc0258a426bb3ed21612076b687'
],
decimals
:
0
,
required
:
false
,
isShow
:
true
,
rules
:
[],
events
:
{},
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
prestrainField
:
'yssl'
,
listStyle
:
"return 'width:100%'"
,
},
},
{
key
:
'
3b7ca3cc16344d6787f1676dcd3a77b
7'
,
key
:
'
4be31cc0258a426bb3ed21612076b68
7'
,
title
:
'剩余数量'
,
dataIndex
:
'sysl'
,
componentType
:
'
InputNumber
'
,
defaultValue
:
''
,
componentType
:
'
Computation
'
,
defaultValue
:
0
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
defaultValue
:
''
,
min
:
0
,
step
:
1
,
disabled
:
false
,
width
:
'100%'
,
defaultValue
:
0
,
placeholder
:
'请输入剩余数量'
,
addonBefore
:
''
,
addonAfter
:
''
,
prefix
:
''
,
maxlength
:
null
,
showLabel
:
true
,
controls
:
true
,
required
:
false
,
disabled
:
false
,
subTotal
:
false
,
computationalConfig
:
[
{
$index
:
145
,
label
:
'应收数量'
,
type
:
'computational'
,
key
:
'5e4377f941cd450ba40bbc1f9d26ff27'
,
bindTable
:
'mesWarehouseArrivedInfo'
,
bindField
:
'yssl'
,
isMainForm
:
false
,
},
{
$index
:
841
,
label
:
'-'
,
type
:
'operation'
,
key
:
2
},
{
$index
:
830
,
label
:
'实收数量'
,
type
:
'computational'
,
key
:
'36635cbf40d14baf96358f8fa129ce0f'
,
bindTable
:
'mesWarehouseArrivedInfo'
,
bindField
:
'sssl'
,
isMainForm
:
false
,
},
],
computationalConfigValue
:
'应收数量-实收数量'
,
beAdoptedComponent
:
[],
decimals
:
0
,
required
:
false
,
isShow
:
true
,
rules
:
[],
events
:
{},
placeholder
:
'请输入剩余数量'
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
listStyle
:
"return 'width:100%'"
,
},
},
{
...
...
@@ -1320,7 +1356,10 @@ export const formProps: FormProps = {
showLabel
:
true
,
required
:
false
,
rules
:
[],
events
:
{},
events
:
{
click
:
"const pch = formModel['pch'];
\
nconst length =formModel['mesWarehouseArrivedInfoList'].length;
\
nformModel.mesWarehouseArrivedInfoList[length-1].pch=pch; "
,
},
listStyle
:
''
,
isSave
:
false
,
isShow
:
true
,
...
...
xjrsoft-vue3/src/views/ckgl/cgdh/components/workflowPermission.ts
View file @
5008658f
...
...
@@ -359,8 +359,8 @@ export const permissionList = [
tableName
:
'mesWarehouseArrivedInfoList'
,
fieldName
:
'实收数量'
,
fieldId
:
'sssl'
,
type
:
'
InputNumber
'
,
key
:
'
ac4098a101a84c40b7ef51f714b136d9
'
,
type
:
'
Computation
'
,
key
:
'
36635cbf40d14baf96358f8fa129ce0f
'
,
children
:
[],
},
{
...
...
@@ -374,8 +374,8 @@ export const permissionList = [
tableName
:
'mesWarehouseArrivedInfoList'
,
fieldName
:
'应收数量'
,
fieldId
:
'yssl'
,
type
:
'
InputNumber
'
,
key
:
'
9cd15589c75f476ebe5605b3352e8ffc
'
,
type
:
'
Computation
'
,
key
:
'
5e4377f941cd450ba40bbc1f9d26ff27
'
,
children
:
[],
},
{
...
...
@@ -389,8 +389,8 @@ export const permissionList = [
tableName
:
'mesWarehouseArrivedInfoList'
,
fieldName
:
'剩余数量'
,
fieldId
:
'sysl'
,
type
:
'
InputNumber
'
,
key
:
'
3b7ca3cc16344d6787f1676dcd3a77b
7'
,
type
:
'
Computation
'
,
key
:
'
4be31cc0258a426bb3ed21612076b68
7'
,
children
:
[],
},
{
...
...
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