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
7ec34d23
Commit
7ec34d23
authored
Mar 14, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产任务页面工单中添加计划数量等字段
parent
963fa298
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
106 additions
and
1 deletions
+106
-1
xjrsoft-vue3/src/views/scgl/scrw/components/Form.vue
+9
-0
xjrsoft-vue3/src/views/scgl/scrw/components/config.ts
+97
-1
No files found.
xjrsoft-vue3/src/views/scgl/scrw/components/Form.vue
View file @
7ec34d23
...
@@ -111,11 +111,20 @@ import { log } from 'node:console';
...
@@ -111,11 +111,20 @@ import { log } from 'node:console';
if
(
newGylxId
&&
!
state
.
isInitializing
)
{
if
(
newGylxId
&&
!
state
.
isInitializing
)
{
try
{
try
{
const
response
=
await
getRokeRouting
(
newGylxId
);
const
response
=
await
getRokeRouting
(
newGylxId
);
//计划数量
const
jhsl
=
state
.
formModel
[
"sl"
];
//计划开始时间
const
jhksrq
=
state
.
formModel
[
"jhksrq"
];
//计划结束时间
const
jhjsrq
=
state
.
formModel
[
"jhjsrq"
];
// Assign the process list from API response to production order list with field mapping
// Assign the process list from API response to production order list with field mapping
state
.
formModel
.
mesProductionGongdanList
=
response
.
rokeRoutingProcessList
.
map
(
item
=>
({
state
.
formModel
.
mesProductionGongdanList
=
response
.
rokeRoutingProcessList
.
map
(
item
=>
({
gxbh
:
item
.
code
,
// 工序编号 → 工序编号
gxbh
:
item
.
code
,
// 工序编号 → 工序编号
gxmc
:
item
.
name
,
// 工序名称 → 工序名称
gxmc
:
item
.
name
,
// 工序名称 → 工序名称
jhsl
:
jhsl
,
jhksrq
:
jhksrq
,
jhjsrq
:
jhjsrq
,
gxId
:
item
.
processId
// 工序ID → 工序ID
gxId
:
item
.
processId
// 工序ID → 工序ID
}));
}));
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
xjrsoft-vue3/src/views/scgl/scrw/components/config.ts
View file @
7ec34d23
...
@@ -782,7 +782,7 @@ export const formProps: FormProps = {
...
@@ -782,7 +782,7 @@ export const formProps: FormProps = {
maxSize
:
''
,
maxSize
:
''
,
showLabel
:
true
,
showLabel
:
true
,
multiple
:
false
,
multiple
:
false
,
disabled
:
tru
e
,
disabled
:
fals
e
,
required
:
false
,
required
:
false
,
isShow
:
true
,
isShow
:
true
,
events
:
{},
events
:
{},
...
@@ -1384,6 +1384,102 @@ export const formProps: FormProps = {
...
@@ -1384,6 +1384,102 @@ export const formProps: FormProps = {
},
},
},
},
{
{
key
:
'512d436e22c895a098efc1be72a113ea'
,
title
:
'计划数量'
,
dataIndex
:
'jhsl'
,
componentType
:
'InputNumber'
,
defaultValue
:
null
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
defaultValue
:
null
,
placeholder
:
''
,
prefix
:
''
,
suffix
:
''
,
addonBefore
:
''
,
addonAfter
:
''
,
disabled
:
true
,
allowClear
:
false
,
showLabel
:
true
,
required
:
false
,
rules
:
[],
events
:
{},
listStyle
:
''
,
isSave
:
false
,
isShow
:
true
,
scan
:
false
,
bordered
:
true
,
isShowAi
:
false
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
prestrainField
:
''
,
},
},
{
key
:
'983d777e22c113a965efc1be72a225ea'
,
title
:
'计划开始时间'
,
dataIndex
:
'jhksrq'
,
componentType
:
'DatePicker'
,
defaultValue
:
null
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
defaultValue
:
null
,
placeholder
:
''
,
prefix
:
''
,
suffix
:
''
,
addonBefore
:
''
,
addonAfter
:
''
,
format
:
'YYYY-MM-DD HH:mm:ss'
,
disabled
:
false
,
allowClear
:
false
,
showLabel
:
true
,
required
:
false
,
rules
:
[],
events
:
{},
listStyle
:
''
,
isSave
:
false
,
isShow
:
true
,
scan
:
false
,
bordered
:
true
,
isShowAi
:
false
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
prestrainField
:
''
,
},
},
{
key
:
'345d623e15c966a965efc1be72a446ea'
,
title
:
'计划结束时间'
,
dataIndex
:
'jhjsrq'
,
componentType
:
'DatePicker'
,
defaultValue
:
null
,
componentProps
:
{
width
:
'100%'
,
span
:
''
,
defaultValue
:
null
,
placeholder
:
''
,
prefix
:
''
,
suffix
:
''
,
addonBefore
:
''
,
addonAfter
:
''
,
format
:
'YYYY-MM-DD HH:mm:ss'
,
disabled
:
false
,
allowClear
:
false
,
showLabel
:
true
,
required
:
false
,
rules
:
[],
events
:
{},
listStyle
:
''
,
isSave
:
false
,
isShow
:
true
,
scan
:
false
,
bordered
:
true
,
isShowAi
:
false
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
prestrainField
:
''
,
},
},
{
key
:
'2f069a67fe784742a2729fa09af94ec4'
,
key
:
'2f069a67fe784742a2729fa09af94ec4'
,
title
:
'工序ID隐藏'
,
title
:
'工序ID隐藏'
,
dataIndex
:
'gxId'
,
dataIndex
:
'gxId'
,
...
...
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