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
9a7e6e3a
Commit
9a7e6e3a
authored
May 18, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aps排产时间格式、零件图号
parent
bd2b3019
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
53 deletions
+70
-53
excute.vue
pages/aps/aps/components/excute.vue
+10
-5
result.vue
pages/aps/results/result.vue
+1
-1
add.vue
pages/technology/details/routinghcorder/add.vue
+59
-47
No files found.
pages/aps/aps/components/excute.vue
View file @
9a7e6e3a
...
...
@@ -161,33 +161,38 @@ export default {
key
:
"setup_time"
,
title
:
this
.
l
(
"setup_time"
),
align
:
"right"
,
high
:
true
high
:
true
,
type
:
"outputTime"
,
},
{
key
:
"run_time"
,
title
:
this
.
l
(
"run_time"
),
align
:
"right"
,
high
:
true
high
:
true
,
type
:
"outputTime"
,
},
{
key
:
"outside_time"
,
title
:
this
.
l
(
"outside_time"
),
align
:
"right"
,
high
:
true
high
:
true
,
type
:
"outputTime"
,
},
{
key
:
"transport_time"
,
title
:
this
.
l
(
"transport_time"
),
align
:
"right"
,
high
:
true
,
hide
:
true
hide
:
true
,
type
:
"outputTime"
,
},
{
key
:
"check_time"
,
title
:
this
.
l
(
"check_time"
),
align
:
"right"
,
high
:
true
,
hide
:
true
hide
:
true
,
type
:
"outputTime"
,
},
{
key
:
"efficiency_value"
,
...
...
pages/aps/results/result.vue
View file @
9a7e6e3a
...
...
@@ -60,7 +60,7 @@ export default {
},
{
title
:
"零件图号"
,
key
:
"part_
id
"
,
key
:
"part_
number
"
,
align
:
"center"
},
{
...
...
pages/technology/details/routinghcorder/add.vue
View file @
9a7e6e3a
...
...
@@ -9,7 +9,12 @@
</Col>
<Col
span=
"8"
>
<FormItem
:label=
"l('printData')"
prop=
"printData"
>
<DatePicker
type=
"date"
v-model=
"entity.printData"
style=
"width:100%"
format=
"yyyy/MM/dd"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.printData"
style=
"width:100%"
format=
"yyyy/MM/dd"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
>
...
...
@@ -69,7 +74,12 @@
</Col>
<Col
span=
"8"
>
<FormItem
:label=
"l('effectiveDate')"
prop=
"effectiveDate"
>
<DatePicker
type=
"date"
v-model=
"entity.effectiveDate"
style=
"width:100%"
format=
"yyyy/MM/dd"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.effectiveDate"
style=
"width:100%"
format=
"yyyy/MM/dd"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"24"
>
...
...
@@ -166,7 +176,7 @@ export default {
props
:
{
v
:
Object
,
eid
:
Number
,
headid
:
Number
,
headid
:
Number
},
mounted
()
{
// if (this.eid > 0) {
...
...
@@ -175,7 +185,8 @@ export default {
this
.
loadCode
();
},
methods
:
{
loadCode
()
{
//生成更改单编号
loadCode
()
{
//生成更改单编号
let
parma
=
{
code
:
"JSWJGGD"
};
...
...
@@ -191,8 +202,11 @@ export default {
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
this
.
disabled
=
true
;
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
this
.
entity
.
routingHeaderId
=
this
.
headid
;
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
;
this
.
entity
.
routingHeaderId
=
this
.
headid
;
if
(
!
this
.
checked
)
{
this
.
entity
.
status
=
1
;
}
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
...
...
@@ -209,7 +223,6 @@ export default {
this
.
$refs
.
changeSendReview
.
info
.
changeInfo
=
res
.
result
.
items
[
0
];
this
.
$refs
.
changeSendReview
.
changeorder_code
=
this
.
entity
.
changeorderCode
;
});
this
.
$refs
.
changeSendReview
.
modalInfo
=
true
;
}
...
...
@@ -236,50 +249,49 @@ export default {
},
handleImg
(
e
)
{
console
.
warn
(
e
);
let
file
=
null
let
file
=
null
;
if
(
e
.
clipboardData
&&
e
.
clipboardData
.
items
[
0
]
&&
e
.
clipboardData
.
items
[
0
].
type
&&
e
.
clipboardData
.
items
[
0
].
type
.
indexOf
(
'image'
)
>
-
1
e
.
clipboardData
.
items
[
0
].
type
.
indexOf
(
"image"
)
>
-
1
)
{
//这里就是判断是否有粘贴进来的文件且文件为图片格式
file
=
e
.
clipboardData
.
items
[
0
].
getAsFile
()
let
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
file
=
e
.
clipboardData
.
items
[
0
].
getAsFile
();
let
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
file
);
setTimeout
(()
=>
{
var
img
=
'<img src="'
+
reader
.
result
+
'" alt=""/>'
this
.
entity
.
beforeChangeContent
+=
img
},
1000
)
var
img
=
'<img src="'
+
reader
.
result
+
'" alt=""/>'
;
this
.
entity
.
beforeChangeContent
+=
img
;
},
1000
);
// new R
}
},
handleImg1
(
e
)
{
console
.
warn
(
e
);
let
file
=
null
let
file
=
null
;
if
(
e
.
clipboardData
&&
e
.
clipboardData
.
items
[
0
]
&&
e
.
clipboardData
.
items
[
0
].
type
&&
e
.
clipboardData
.
items
[
0
].
type
.
indexOf
(
'image'
)
>
-
1
e
.
clipboardData
.
items
[
0
].
type
.
indexOf
(
"image"
)
>
-
1
)
{
//这里就是判断是否有粘贴进来的文件且文件为图片格式
file
=
e
.
clipboardData
.
items
[
0
].
getAsFile
()
let
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
file
=
e
.
clipboardData
.
items
[
0
].
getAsFile
();
let
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
file
);
setTimeout
(()
=>
{
var
img
=
'<img src="'
+
reader
.
result
+
'" alt=""/>'
this
.
entity
.
afterChangeContent
+=
img
},
1000
)
var
img
=
'<img src="'
+
reader
.
result
+
'" alt=""/>'
;
this
.
entity
.
afterChangeContent
+=
img
;
},
1000
);
// new R
}
},
departChange
(
v
,
items
)
{
this
.
entity
.
departmentId
=
v
this
.
entity
.
departmentName
=
items
.
name
departChange
(
v
,
items
)
{
this
.
entity
.
departmentId
=
v
;
this
.
entity
.
departmentName
=
items
.
name
;
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
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