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
2b7a2554
Commit
2b7a2554
authored
May 09, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech
parent
f07e0df8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
451 additions
and
411 deletions
+451
-411
index.vue
pages/processManage/Process/index.vue
+396
-408
index.vue
pages/technology/index.vue
+55
-3
No files found.
pages/processManage/Process/index.vue
View file @
2b7a2554
This diff is collapsed.
Click to expand it.
pages/technology/index.vue
View file @
2b7a2554
...
...
@@ -80,6 +80,10 @@
<Button
type=
"primary"
@
click=
"passDocument"
>
工艺规程送审
</Button>
</div>
</Modal>
<!-- 工艺更改弹框 -->
<routingchangeorder
ref=
"routingchangeorder"
></routingchangeorder>
<!-- 工艺更改表弹框 -->
<changelist
ref=
"changelist"
></changelist>
<div
class=
"fullWindow flex fd"
v-if=
"viewModal"
>
<div
class=
"top flex"
>
<div
v-width=
"200"
>
...
...
@@ -112,11 +116,14 @@
<
script
>
import
Api
from
"./api"
;
import
service
from
'@/plugins/request'
import
Search
from
"./search"
;
import
ProductTree
from
"@/components/page/productTree.vue"
;
import
sendAudit
from
"./sendAudit.vue"
;
import
routingchangeorder
from
'../processDesign/Process/routingchangeorder.vue'
import
changelist
from
'../processDesign/Process/changelist.vue'
export
default
{
components
:
{
ProductTree
,
Search
,
sendAudit
},
components
:
{
ProductTree
,
Search
,
sendAudit
,
routingchangeorder
,
changelist
},
head
:
{
title
:
"工艺规程"
,
author
:
"henq"
,
...
...
@@ -290,9 +297,9 @@ export default {
"op"
,
{
attrs
:
{
oprate
:
"detail"
},
on
:
{
click
:
()
=>
this
.
sendAuditFun
(
params
.
row
)
}
// on: { click: () => this.TechnologyChange
(params.row) }
},
params
.
row
.
approvalStatus
==
4
?
"新增更改单"
:
"查看
更改单"
"新增
更改单"
),
h
(
"op"
,
...
...
@@ -450,6 +457,51 @@ export default {
}
});
this
.
documentShow
=
false
;
},
//工艺更改
TechnologyChange
(
row
)
{
this
.
$refs
.
routingchangeorder
.
flag
=
0
this
.
$refs
.
routingchangeorder
.
routing_header_Id
=
row
.
id
var
userId
=
this
.
$store
.
state
.
userInfo
.
userId
let
parma
=
{
Id
:
userId
}
this
.
$refs
.
routingchangeorder
.
changeorder_code
=
''
this
.
$http
.
sysUser
.
getuserinfo
(
parma
).
then
((
res
)
=>
{
if
(
res
.
result
)
{
this
.
$refs
.
routingchangeorder
.
formValidate
=
{
technical_name
:
row
.
name
,
technical_code
:
row
.
code
,
department_name
:
res
.
result
.
departmentTitle
,
propose_user_name
:
res
.
result
.
userName
}
}
})
var
url1
=
`
${
designUrl
}
/routingheader/GetCodeByType?code=JSWJGGD`
service
.
get
(
`
${
url1
}
`
).
then
((
response
)
=>
{
this
.
$refs
.
routingchangeorder
.
changeorder_code
=
response
.
result
})
this
.
$refs
.
routingchangeorder
.
modelChange
=
true
},
Main
(
data
)
{
// this.eid1 = ''
this
.
seleId
=
data
.
row
.
id
this
.
$refs
.
changelist
.
seleId
=
data
.
row
.
id
let
url
=
`
${
designUrl
}
/routingheaderchangeorder/getpaged`
service
.
get
(
`
${
url
}
`
,
{
routing_header_id
:
this
.
seleId
})
.
then
((
res
)
=>
{
//console.log(res)
this
.
$refs
.
changelist
.
data2
=
res
.
result
.
items
this
.
$refs
.
changelist
.
myloading
=
false
if
(
this
.
$refs
.
changelist
.
data2
.
length
==
0
)
{
this
.
$Message
.
error
(
'该工艺规程没有更改单!'
)
this
.
$refs
.
changelist
.
show3
=
false
return
}
this
.
$refs
.
changelist
.
show3
=
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