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
0b285799
Commit
0b285799
authored
May 19, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupTime 更改单送审
parent
b6b8616b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
46 additions
and
19 deletions
+46
-19
zh-CN.js
i18n/locale/zh-CN.js
+2
-2
add.vue
pages/technology/details/add.vue
+3
-3
detail.vue
pages/technology/details/detail.vue
+1
-1
edit.vue
pages/technology/details/edit.vue
+2
-2
index.vue
pages/technology/details/index.vue
+2
-2
add.vue
pages/technology/details/routinghcorder/add.vue
+6
-4
changeSendReview.vue
pages/technology/details/routinghcorder/changeSendReview.vue
+1
-0
index.vue
pages/technology/details/routinghcorder/index.vue
+29
-5
No files found.
i18n/locale/zh-CN.js
View file @
0b285799
...
...
@@ -1218,7 +1218,7 @@ export default {
resourceType
:
'首选资源'
,
resourceCode
:
'首选资源'
,
runtime
:
'排产单件工时'
,
setupTime
:
'
准备
工时'
,
setupTime
:
'
排产准结
工时'
,
transportTime
:
'转运工时'
,
checkTime
:
'检验工时'
,
checkFlag
:
'检验标识'
,
...
...
@@ -1235,7 +1235,7 @@ export default {
outsideTime
:
'外协工期'
,
performanceHours
:
'绩效工时'
,
isImportantResources
:
'关重资源'
,
schedulingWorkingHours
:
'排产准结工时'
,
schedulingWorkingHours
:
'
*
排产准结工时'
,
realWorkingHours
:
'实作准结工时'
,
realRuntime
:
'实作单件工时'
,
performanceWorkingHours
:
'绩效准结工时'
,
...
...
pages/technology/details/add.vue
View file @
0b285799
...
...
@@ -109,8 +109,8 @@
</FormItem>
</Col>
-->
<Col
:span=
"12"
>
<FormItem
:label=
"l('s
chedulingWorkingHours')"
prop=
"schedulingWorkingHours
"
>
<InputTime
v-model=
"entity.s
chedulingWorkingHours
"
/>
<FormItem
:label=
"l('s
etupTime')"
prop=
"setupTime
"
>
<InputTime
v-model=
"entity.s
etupTime
"
/>
</FormItem>
</Col>
<Col
:span=
"12"
>
...
...
@@ -192,7 +192,7 @@ export default {
isImportant
:
null
,
outsideTime
:
0
,
isImportantResources
:
null
,
s
chedulingWorkingHours
:
0
,
s
etupTime
:
0
,
realWorkingHours
:
0
,
realRuntime
:
0
,
isParticipateIntime
:
null
,
...
...
pages/technology/details/detail.vue
View file @
0b285799
...
...
@@ -14,7 +14,7 @@
<!--
<Filed
:span=
"12"
:name=
"l('isImportantResources')"
>
<state
code=
"Process.state"
:value=
"entity.isImportantResources"
type=
"text"
></state>
</Filed>
-->
<Filed
:span=
"12"
:name=
"l('s
chedulingWorkingHours')"
><OutputTime
:value=
"entity.schedulingWorkingHours
"
></OutputTime></Filed>
<Filed
:span=
"12"
:name=
"l('s
etupTime')"
><OutputTime
:value=
"entity.setupTime
"
></OutputTime></Filed>
<Filed
:span=
"12"
:name=
"l('runtime')"
><OutputTime
:value=
"entity.runtime"
></OutputTime></Filed>
<Filed
:span=
"12"
:name=
"l('realRuntime')"
><OutputTime
:value=
"entity.realRuntime"
></OutputTime></Filed>
<Filed
:span=
"12"
:name=
"l('realWorkingHours')"
><OutputTime
:value=
"entity.realWorkingHours"
></OutputTime></Filed>
...
...
pages/technology/details/edit.vue
View file @
0b285799
...
...
@@ -109,8 +109,8 @@
</FormItem>
</Col>
-->
<Col
:span=
"12"
>
<FormItem
:label=
"l('s
chedulingWorkingHours')"
prop=
"schedulingWorkingHours
"
>
<InputTime
v-model=
"entity.s
chedulingWorkingHours
"
/>
<FormItem
:label=
"l('s
etupTime')"
prop=
"setupTime
"
>
<InputTime
v-model=
"entity.s
etupTime
"
/>
</FormItem>
</Col>
<Col
:span=
"12"
>
...
...
pages/technology/details/index.vue
View file @
0b285799
...
...
@@ -105,8 +105,8 @@ export default {
// },
{
key
:
"s
chedulingWorkingHours
"
,
title
:
this
.
l
(
"s
chedulingWorkingHours
"
),
key
:
"s
etupTime
"
,
title
:
this
.
l
(
"s
etupTime
"
),
align
:
"right"
,
type
:
"outputTime"
,
},
...
...
pages/technology/details/routinghcorder/add.vue
View file @
0b285799
...
...
@@ -127,7 +127,7 @@
</Col>
</Row>
</Form>
<changeSendReview
ref=
"changeSendReview"
></changeSendReview>
<changeSendReview
ref=
"changeSendReview"
@
on-ok=
"ok"
></changeSendReview>
</div>
</
template
>
<
script
>
...
...
@@ -204,9 +204,7 @@ export default {
this
.
disabled
=
true
;
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
;
this
.
entity
.
routingHeaderId
=
this
.
headid
;
if
(
!
this
.
checked
)
{
this
.
entity
.
status
=
1
;
}
this
.
entity
.
status
=
1
;
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
...
...
@@ -293,6 +291,10 @@ export default {
this
.
entity
.
departmentId
=
v
;
this
.
entity
.
departmentName
=
items
.
name
;
},
ok
()
{
this
.
$emit
(
"on-ok"
)
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
key
);
...
...
pages/technology/details/routinghcorder/changeSendReview.vue
View file @
0b285799
...
...
@@ -87,6 +87,7 @@ export default {
this
.
$http
.
order
.
batchstart
(
this
.
dataListRetrunNew
).
then
(
response
=>
{
if
(
response
.
success
)
{
this
.
$Message
.
info
(
"工艺更改单送审成功!"
);
this
.
$emit
(
"on-ok"
)
}
else
{
this
.
$Message
.
error
(
"送审失败!"
);
}
...
...
pages/technology/details/routinghcorder/index.vue
View file @
0b285799
...
...
@@ -21,15 +21,18 @@
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
scrollable
>
<component
:is=
"detail"
:eid=
"curId"
:headid=
"hid"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
<changeSendReview
ref=
"changeSendReview"
@
on-ok=
"ok"
></changeSendReview>
</div>
</template>
<
script
>
import
Api
from
"./api"
;
import
Search
from
"./search"
;
import
changeSendReview
from
"./changeSendReview.vue"
;
export
default
{
name
:
"list"
,
components
:
{
Search
Search
,
changeSendReview
},
head
:
{
title
:
"工艺变更单"
,
...
...
@@ -122,7 +125,7 @@ export default {
key
:
"creationTime"
,
title
:
this
.
l
(
"creationTime"
),
hide
:
true
,
align
:
"
left
"
,
align
:
"
center
"
,
hide
:
true
},
{
...
...
@@ -137,7 +140,7 @@ export default {
key
:
"lastModificationTime"
,
title
:
this
.
l
(
"lastModificationTime"
),
hide
:
true
,
align
:
"
left
"
,
align
:
"
center
"
,
hide
:
true
},
{
...
...
@@ -151,7 +154,7 @@ export default {
{
title
:
"操作"
,
key
:
"action"
,
width
:
1
2
0
,
width
:
1
5
0
,
align
:
"left"
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
},
[
...
...
@@ -179,6 +182,14 @@ export default {
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
},
params
.
row
.
status
==
1
?
"删除"
:
""
),
h
(
"op"
,
{
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
sendReview
(
params
.
row
)
}
},
params
.
row
.
status
==
null
||
params
.
row
.
status
==
1
?
"送审"
:
""
)
]);
}
...
...
@@ -188,7 +199,7 @@ export default {
},
mounted
()
{
console
.
log
(
this
);
this
.
search
()
this
.
search
()
;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
...
...
@@ -196,6 +207,7 @@ export default {
methods
:
{
ok
()
{
this
.
$refs
.
grid
.
load
();
this
.
$refs
.
changeSendReview
.
modalInfo
=
false
;
this
.
modal
=
false
;
this
.
curId
=
0
;
},
...
...
@@ -239,6 +251,18 @@ export default {
this
.
curId
=
0
;
this
.
modal
=
false
;
},
sendReview
(
row
)
{
let
params
=
{
changeorder_code
:
row
.
changeorderCode
,
pageindex
:
1
,
pageSize
:
10
};
Api
.
getpaged1
(
params
).
then
(
res
=>
{
this
.
$refs
.
changeSendReview
.
info
.
changeInfo
=
res
.
result
.
items
[
0
];
this
.
$refs
.
changeSendReview
.
changeorder_code
=
row
.
changeorderCode
;
});
this
.
$refs
.
changeSendReview
.
modalInfo
=
true
;
},
l
(
key
)
{
let
vkey
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
...
...
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