Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
aac022b3
Commit
aac022b3
authored
May 06, 2020
by
佟礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单执行
parent
d8fd10d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 deletions
+28
-19
processNew.vue
pages/processManage/Process/processNew.vue
+2
-2
taskList.vue
pages/produce/taskList.vue
+26
-17
No files found.
pages/processManage/Process/processNew.vue
View file @
aac022b3
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
</FormItem> -->
</FormItem> -->
<FormItem
:label=
"l('performance
h
ours')"
>
<FormItem
:label=
"l('performance
H
ours')"
>
<InputNumber
v-model=
"formprocessValidate.performance_hours"
></InputNumber>
<InputNumber
v-model=
"formprocessValidate.performance_hours"
></InputNumber>
</FormItem>
</FormItem>
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
},
},
{
{
key
:
'performance_hours'
,
key
:
'performance_hours'
,
title
:
this
.
l
(
'performance
h
ours'
)
title
:
this
.
l
(
'performance
H
ours'
)
},
},
// {
// {
// key: 'check_flag',
// key: 'check_flag',
...
...
pages/produce/taskList.vue
View file @
aac022b3
...
@@ -241,12 +241,14 @@ export default {
...
@@ -241,12 +241,14 @@ export default {
SkipCount
:
1
,
SkipCount
:
1
,
MaxResultCount
:
10
,
MaxResultCount
:
10
,
orderSearchForm
:
{
orderSearchForm
:
{
status
:
0
,
SimpleSearch
:
''
,
productId
:
null
,
//产品id
productId
:
null
,
//产品id
productName
:
''
,
//产品名称
productName
:
''
,
//产品名称
taskType
:
''
,
//任务类型
taskType
:
''
,
//任务类型
stage
:
''
,
//阶段
stage
:
''
,
//阶段
materialId
:
''
,
//材料
materialId
:
''
,
//材料
quantity
:
1
,
//数量
guestName
:
''
,
//甲方客户
guestName
:
''
,
//甲方客户
printSupply
:
''
,
//3D打印承制单位
printSupply
:
''
,
//3D打印承制单位
functionaryOffice
:
''
,
//厂内责任机关
functionaryOffice
:
''
,
//厂内责任机关
...
@@ -268,7 +270,9 @@ export default {
...
@@ -268,7 +270,9 @@ export default {
projectNumber
:
""
,
//项目号
projectNumber
:
""
,
//项目号
batchNumber
:
""
,
//批次号
batchNumber
:
""
,
//批次号
urgencyLevel
:
null
//紧急程度
urgencyLevel
:
null
,
//紧急程度
SkipCount
:
1
,
MaxResultCount
:
10
},
},
mColumn
:[
mColumn
:[
{
type
:
'expand'
,
width
:
60
,
{
type
:
'expand'
,
width
:
60
,
...
@@ -352,19 +356,21 @@ content="开工"
...
@@ -352,19 +356,21 @@ content="开工"
});
});
},
},
// 分页
// 分页
pageChange
(
pageNum
)
{
let
pageData
=
this
.
search
;
pageData
.
SkipCount
=
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
pageChange
(
pageNum
)
{
pageData
.
MaxResultCount
=
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
this
.
orderSearchForm
.
SkipCount
=
// pageData.pageIndex = pageNum
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
this
.
laodePage
(
pageData
)
},
// pageData.pageIndex = pageNum
pageSizeChange
(
val
)
{
this
.
laodePage
(
this
.
orderSearchForm
)
let
pageData
=
this
.
search
;
},
pageData
.
SkipCount
=
0
pageSizeChange
(
val
)
{
pageData
.
MaxResultCount
=
val
this
.
orderSearchForm
.
SkipCount
=
0
this
.
laodePage
(
pageData
)
this
.
orderSearchForm
.
MaxResultCount
=
val
},
this
.
laodePage
(
this
.
orderSearchForm
)
},
laodePage
(
pageData
){
laodePage
(
pageData
){
let
url
=
`
${
PlanUrl
}
/orderexecute/waitexecuteorderlist`
;
let
url
=
`
${
PlanUrl
}
/orderexecute/waitexecuteorderlist`
;
service
.
post
(
`
${
url
}
`
,
pageData
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
pageData
).
then
(
res
=>
{
...
@@ -373,8 +379,11 @@ content="开工"
...
@@ -373,8 +379,11 @@ content="开工"
});
});
},
},
// 搜索
// 搜索
tableSearch
()
{
tableSearch
()
{
},
this
.
orderSearchForm
.
SkipCount
=
0
this
.
orderSearchForm
.
SimpleSearch
=
this
.
searchIterms
this
.
laodePage
(
this
.
orderSearchForm
)
},
searchModel
(){
searchModel
(){
this
.
showModel
=
true
;
this
.
showModel
=
true
;
},
},
...
...
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