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
6335f598
Commit
6335f598
authored
May 18, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
751737df
bd2b3019
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
533 additions
and
167 deletions
+533
-167
index.vue
pages/aps/results/index.vue
+27
-15
result.vue
pages/aps/results/result.vue
+4
-3
results.less
pages/aps/results/results.less
+4
-4
add.vue
pages/bug/component/add.vue
+1
-0
index.vue
pages/handle/examine3/index.vue
+1
-1
processview.vue
pages/processDesign/Process/processview.vue
+27
-30
guidance.vue
pages/produce/execute/ProcessCheck/components/guidance.vue
+38
-0
remind.vue
pages/produce/execute/ProcessCheck/components/remind.vue
+38
-0
setupDetails.vue
.../produce/execute/ProcessCheck/components/setupDetails.vue
+1
-1
workSteps.vue
pages/produce/execute/ProcessCheck/components/workSteps.vue
+38
-0
index.vue
pages/produce/execute/ProcessCheck/index.vue
+19
-17
execute.less
pages/produce/execute/execute.less
+7
-9
annex.vue
pages/produce/execute/preparation/components/annex.vue
+38
-0
auxiliary.vue
pages/produce/execute/preparation/components/auxiliary.vue
+38
-0
mainMaterial.vue
...s/produce/execute/preparation/components/mainMaterial.vue
+38
-0
measuring.vue
pages/produce/execute/preparation/components/measuring.vue
+38
-0
program.vue
pages/produce/execute/preparation/components/program.vue
+38
-0
tool.vue
pages/produce/execute/preparation/components/tool.vue
+38
-0
workClothes.vue
pages/produce/execute/preparation/components/workClothes.vue
+38
-0
index.vue
pages/produce/execute/preparation/index.vue
+37
-54
add.vue
pages/technology/details/routinghcorder/add.vue
+3
-2
index.vue
pages/technology/details/routinghcorder/index.vue
+14
-7
index.vue
pages/technology/index.vue
+8
-24
No files found.
pages/aps/results/index.vue
View file @
6335f598
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</Col>
</Col>
</Row>
</Row>
<component
:is=
"detail"
:eid=
"id"
:schemas=
"schemas"
/>
<component
:is=
"detail"
:eid=
"id"
:schemas=
"schemas"
@
ok-claer=
"clearS"
/>
</Content>
</Content>
</Layout>
</Layout>
<div
class=
"footer"
v-if=
"showFooter"
>
<div
class=
"footer"
v-if=
"showFooter"
>
...
@@ -77,8 +77,8 @@ export default {
...
@@ -77,8 +77,8 @@ export default {
total
:
0
,
total
:
0
,
blacks
:
false
,
blacks
:
false
,
gant
:
false
,
gant
:
false
,
gantt
:
null
,
gantt
:
null
,
curPage
:
null
curPage
:
null
};
};
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
...
@@ -121,6 +121,8 @@ export default {
...
@@ -121,6 +121,8 @@ export default {
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"清空列表成功"
);
this
.
$Message
.
success
(
"清空列表成功"
);
this
.
orderlist
();
this
.
orderlist
();
this
.
id
=
0
;
this
.
listData
();
}
}
});
});
},
},
...
@@ -130,6 +132,16 @@ export default {
...
@@ -130,6 +132,16 @@ export default {
});
});
}
}
},
},
clearS
()
{
this
.
id
=
0
;
Api
.
clearall
().
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
orderlist
();
this
.
id
=
0
;
this
.
listData
();
}
});
},
// 返回
// 返回
comeBlck
()
{
comeBlck
()
{
this
.
$router
.
push
({
path
:
"/aps/aps"
});
this
.
$router
.
push
({
path
:
"/aps/aps"
});
...
@@ -151,26 +163,26 @@ export default {
...
@@ -151,26 +163,26 @@ export default {
this
.
modal1Gant
=
true
;
this
.
modal1Gant
=
true
;
this
.
gantt
=
()
=>
import
(
"./gantt"
);
this
.
gantt
=
()
=>
import
(
"./gantt"
);
},
},
changeCheck
(
item
,
i
)
{
changeCheck
(
item
,
i
)
{
this
.
$set
(
this
.
list
,
i
,
item
);
this
.
$set
(
this
.
list
,
i
,
item
);
if
(
this
.
title
!=
'排产方案对比'
)
{
if
(
this
.
title
!=
"排产方案对比"
)
{
this
.
showFooter
=
true
;
this
.
showFooter
=
true
;
}
}
},
},
submit
()
{
submit
()
{
this
.
detail
=
()
=>
import
(
"./compare"
);
this
.
detail
=
()
=>
import
(
"./compare"
);
this
.
title
=
"排产方案对比"
;
this
.
title
=
"排产方案对比"
;
this
.
showFooter
=
false
;
this
.
showFooter
=
false
;
},
},
cancel
()
{
cancel
()
{
this
.
showFooter
=
false
;
this
.
showFooter
=
false
;
}
}
},
},
computed
:{
computed
:
{
schemas
(){
schemas
()
{
return
this
.
list
.
filter
(
u
=>
{
return
this
.
list
.
filter
(
u
=>
{
return
u
.
checked
==
true
;
return
u
.
checked
==
true
;
})
})
;
}
}
}
}
};
};
...
...
pages/aps/results/result.vue
View file @
6335f598
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
},
},
{
{
title
:
"计划结束时间"
,
title
:
"计划结束时间"
,
key
:
"plan_
start
"
,
key
:
"plan_
finish
"
,
width
:
200
,
width
:
200
,
align
:
"center"
align
:
"center"
},
},
...
@@ -138,7 +138,8 @@ export default {
...
@@ -138,7 +138,8 @@ export default {
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
this
.
$emit
(
'ok-claer'
)
}
else
{
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
this
.
$Message
.
error
(
"下发失败"
);
}
}
...
@@ -150,7 +151,7 @@ export default {
...
@@ -150,7 +151,7 @@ export default {
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
this
.
$emit
(
'ok-claer'
)
}
else
{
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
this
.
$Message
.
error
(
"下发失败"
);
}
}
...
...
pages/aps/results/results.less
View file @
6335f598
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
height: 88vh;
height: 88vh;
overflow: auto;
overflow: auto;
position: relative;
.i-row {
.i-row {
height: 45px;
height: 45px;
line-height: 45px;
line-height: 45px;
...
@@ -101,9 +101,9 @@
...
@@ -101,9 +101,9 @@
}
}
.btn {
.btn {
float: right
;
position: absolute
;
margin-top: -54
px;
top:7
px;
margin-
right: 15px;
right: 15px;
}
}
}
}
...
...
pages/bug/component/add.vue
View file @
6335f598
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
<i-quill
<i-quill
v-model=
"bugForm.content"
v-model=
"bugForm.content"
:height=
"600"
:height=
"600"
v-paste=
"handleImg"
/>
/>
</FormItem>
</FormItem>
</Row>
</Row>
...
...
pages/handle/examine3/index.vue
View file @
6335f598
<
template
>
<
template
>
<div
style=
"padding:40px 0"
>
<div
style=
"padding:40px 0"
>
<Detail
:idVal=
"detailId"
/>
<Detail
:idVal=
"detailId"
/>
<Process
ref=
"userProcess"
:idVal=
"detailId"
/>
<Process
ref=
"userProcess"
:idVal=
"detailId"
style=
"width:80%"
/>
<div
class=
"footers"
v-if=
"footerStatu === '2'"
style=
"text-align:left;"
>
<div
class=
"footers"
v-if=
"footerStatu === '2'"
style=
"text-align:left;"
>
<Form
<Form
:model=
"formMyCheck"
:model=
"formMyCheck"
...
...
pages/processDesign/Process/processview.vue
View file @
6335f598
...
@@ -15,17 +15,17 @@
...
@@ -15,17 +15,17 @@
</Col>
</Col>
<Col
span=
"9"
>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.code"
></label>
<label
v-text=
"formValidate.code"
></label>
</div>
</div>
</Col>
</Col>
<Col
span=
"5"
>
<div
class=
"row_label box"
></div>
</Col>
<Col
span=
"3"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
任务类型
</div>
<div
class=
"row_label"
>
任务类型
</div>
</Col>
</Col>
<Col
span=
"
4
"
>
<Col
span=
"
9
"
>
<div
class=
"iview_cont border_none"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.task_type_str"
></label>
<label
v-text=
"formValidate.task_type_str"
></label>
</div>
</div>
</Col>
</Col>
...
@@ -36,17 +36,17 @@
...
@@ -36,17 +36,17 @@
</Col>
</Col>
<Col
span=
"9"
>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.versiondesc"
></label>
<label
v-text=
"formValidate.versiondesc"
></label>
</div>
</div>
</Col>
</Col>
<Col
span=
"5"
>
<div
class=
"row_label box"
></div>
</Col>
<Col
span=
"3"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
研制方式
</div>
<div
class=
"row_label"
>
研制方式
</div>
</Col>
</Col>
<Col
span=
"
4
"
>
<Col
span=
"
9
"
>
<div
class=
"iview_cont border_none"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.development_mode_str"
></label>
<label
v-text=
"formValidate.development_mode_str"
></label>
</div>
</div>
</Col>
</Col>
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
<h2>
工艺内容
</h2>
<h2>
工艺内容
</h2>
</Row>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
{{formValidate.remark}}
</div>
<div
style=
"min-height:300px"
v-html=
"formValidate.remark"
class=
"tex_in10"
>
</div>
</Row>
</Row>
<Row
class=
"table_row center row_title"
>
<Row
class=
"table_row center row_title"
>
<h2>
工艺附图(magics文件或打印数据文件eosjz截图)
</h2>
<h2>
工艺附图(magics文件或打印数据文件eosjz截图)
</h2>
...
@@ -353,12 +353,12 @@
...
@@ -353,12 +353,12 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
service
from
'@/plugins/request'
import
service
from
"@/plugins/request"
;
export
default
{
export
default
{
name
:
'processview'
,
name
:
"processview"
,
data
()
{
data
()
{
return
{
return
{
filesurl
:
''
,
filesurl
:
""
,
downUrl
:
fileUrlDown
,
downUrl
:
fileUrlDown
,
formValidate
:
{
formValidate
:
{
// name: '可乐叉烧',
// name: '可乐叉烧',
...
@@ -466,7 +466,7 @@ export default {
...
@@ -466,7 +466,7 @@ export default {
// }
// }
]
]
}
}
}
}
;
},
},
props
:
{
props
:
{
//设置工艺、创建工艺
//设置工艺、创建工艺
...
@@ -477,26 +477,23 @@ export default {
...
@@ -477,26 +477,23 @@ export default {
},
},
methods
:
{
methods
:
{
loaddata
(
headerID
)
{
loaddata
(
headerID
)
{
var
url
=
`
${
designUrl
}
/routingheader/getprocessinfo?headerid=`
+
headerID
var
url
=
service
.
get
(
`
${
url
}
`
).
then
((
response
)
=>
{
`
${
designUrl
}
/routingheader/getprocessinfo?headerid=`
+
headerID
;
this
.
formValidate
=
response
.
result
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
this
.
formValidate
=
response
.
result
;
if
(
this
.
formValidate
.
change_order_code
==
''
)
{
if
(
this
.
formValidate
.
change_order_code
==
""
)
{
this
.
formValidate
.
change_order_date
=
''
this
.
formValidate
.
change_order_date
=
""
;
}
if
(
typeof
this
.
formValidate
.
production_batch
==
"undefined"
)
{
this
.
formValidate
.
production_batch
=
" "
;
}
}
if
(
typeof
(
this
.
formValidate
.
production_batch
)
==
"undefined"
)
{
this
.
formValidate
.
production_batch
=
' '
}
if
(
typeof
(
this
.
formValidate
.
print_data_name
)
==
"undefined"
)
{
this
.
formValidate
.
print_data_name
=
' '
}
})
if
(
typeof
this
.
formValidate
.
print_data_name
==
"undefined"
)
{
this
.
formValidate
.
print_data_name
=
" "
;
}
});
}
}
}
}
}
}
;
</
script
>
</
script
>
pages/produce/execute/ProcessCheck/components/guidance.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
工艺提醒
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/ProcessCheck/components/remind.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
作业指导书
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/ProcessCheck/setupDetails.vue
→
pages/produce/execute/ProcessCheck/
components/
setupDetails.vue
View file @
6335f598
<
template
>
<
template
>
<div
class=
""
>
<div
class=
"
p20
"
>
<div
class=
""
>
<div
class=
""
>
工艺规程
工艺规程
</div>
</div>
...
...
pages/produce/execute/ProcessCheck/components/workSteps.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
工步导航
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/ProcessCheck/index.vue
View file @
6335f598
...
@@ -3,20 +3,22 @@
...
@@ -3,20 +3,22 @@
<div
class=
"wu_bg"
>
<div
class=
"wu_bg"
>
<!--
<div
class=
"wu_top"
>
<!--
<div
class=
"wu_top"
>
工艺查看 /technology/details/setup/setupDetails
工艺查看 /technology/details/setup/setupDetails
to="/produce/execute/ProcessCheck/setupDetails"
</div>
-->
</div>
-->
<Layout
class=
"tech_box"
>
<Layout
class=
"tech_box"
>
<Header>
<Header>
<div
class=
"tech_body"
>
<div
class=
"tech_body"
>
<Menu
mode=
"horizontal"
theme=
"light"
active-name=
"1"
>
<Menu
mode=
"horizontal"
theme=
"light"
active-name=
"1"
@
on-select=
"openSaveTip"
>
<MenuItem
name=
"1"
to=
"/produce/execute/ProcessCheck/setupDetails"
>
工艺规程
</MenuItem>
<MenuItem
name=
"1"
>
工艺规程
</MenuItem>
<MenuItem
name=
"2"
to=
"/produce/execute/ProcessCheck/setupDetails"
>
作业指导书
</MenuItem>
<MenuItem
name=
"2"
>
作业指导书
</MenuItem>
<MenuItem
name=
"3"
to=
"/produce/execute/ProcessCheck/setupDetails"
>
工步导航
</MenuItem>
<MenuItem
name=
"3"
>
工步导航
</MenuItem>
<MenuItem
name=
"4"
to=
"/produce/execute/ProcessCheck/setupDetails"
>
工艺提醒
</MenuItem>
<MenuItem
name=
"4"
>
工艺提醒
</MenuItem>
</Menu>
</Menu>
</div>
</div>
</Header>
</Header>
<Layout
class=
"bottom_box"
>
<Layout
class=
"bottom_box"
>
<nuxt-child
keep-alive
></nuxt-child>
<!--
<nuxt-child
keep-alive
></nuxt-child>
-->
<component
:is=
"detail"
:eid=
"id"
/>
</Layout>
</Layout>
</Layout>
</Layout>
</div>
</div>
...
@@ -26,26 +28,26 @@ export default {
...
@@ -26,26 +28,26 @@ export default {
name
:
'starOrder'
,
name
:
'starOrder'
,
data
(){
data
(){
return
{
return
{
starmodal
:
false
,
id
:
"1"
,
detail
:
null
,
}
}
},
},
created
()
{
created
()
{
// this.treeHeight = window.innerHeight - 120
;
this
.
detail
=
()
=>
import
(
"./components/setupDetails"
)
;
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
mounted
()
{
mounted
()
{
window
.
onresize
=
()
=>
{
// this.detail = () => import("./components/setupDetails");
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
},
methods
:
{
methods
:
{
starFun
(){
openSaveTip
(
key
){
this
.
$Message
.
success
(
"开工..."
)
this
.
id
=
key
if
(
this
.
id
==
"1"
){
this
.
detail
=
()
=>
import
(
"./components/setupDetails"
);}
if
(
this
.
id
==
"2"
){
this
.
detail
=
()
=>
import
(
"./components/remind"
);}
if
(
this
.
id
==
"3"
){
this
.
detail
=
()
=>
import
(
"./components/workSteps"
);}
if
(
this
.
id
==
"4"
){
this
.
detail
=
()
=>
import
(
"./components/guidance"
);}
},
},
},
},
}
}
...
...
pages/produce/execute/execute.less
View file @
6335f598
...
@@ -336,22 +336,20 @@
...
@@ -336,22 +336,20 @@
}
}
.tech_box{
.tech_box{
height: calc(100vh - 165px);
height: calc(100vh - 165px);
.tech_body{
// padding: 0 20px;
.ivu-layout-header{
.ivu-layout-header{
height: 0
;
height: 50px
;
}
}
.tech_body{
.ivu-menu-horizontal{
.ivu-menu-horizontal{
height:
4
0px;
height:
5
0px;
line-height:
4
0px;
line-height:
5
0px;
.ivu-menu-item{
.ivu-menu-item{
width: 115px;
width: 115px;
text-align: center;
text-align: center;
}
}
a
.ivu-menu-item-active::before{
li
.ivu-menu-item-active::before{
content: "";
content: "";
display: block;
display: block;
border-width: 5px 6px 0;
border-width: 5px 6px 0;
border-style: solid;
border-style: solid;
border-color: #2d8cf0 transparent transparent;
border-color: #2d8cf0 transparent transparent;
...
@@ -361,7 +359,7 @@
...
@@ -361,7 +359,7 @@
bottom: -6px;
bottom: -6px;
left: 43%;
left: 43%;
}
}
a
.ivu-menu-item-active::after{
li
.ivu-menu-item-active::after{
content: "";
content: "";
display: block;
display: block;
border-width: 4px 4px 0;
border-width: 4px 4px 0;
...
...
pages/produce/execute/preparation/components/annex.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
工艺附件
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/auxiliary.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
辅材
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/mainMaterial.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
主材
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/measuring.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
量具
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/program.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
数控程序
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/tool.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
工具
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/components/workClothes.vue
0 → 100644
View file @
6335f598
<
template
>
<div
class=
"p20"
>
<div
class=
""
>
工装
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{
starFun
(){
this
.
$Message
.
success
(
"开工..."
)
},
},
}
</
script
>
pages/produce/execute/preparation/index.vue
View file @
6335f598
<
template
>
<
template
>
<div
class=
""
>
<div
class=
"wu_bg"
>
<div
class=
"star"
v-if=
"!starmodal"
>
<!--
<div
class=
"wu_top"
>
<a
class=
"start"
@
click=
"starFun"
>
工艺查看 /technology/details/setup/setupDetails
<Icon
type=
"md-play"
/>
to="/produce/execute/ProcessCheck/setupDetails"
生产准备
</a>
</div>
-->
</div>
<Layout
class=
"tech_box"
>
<div
class=
"star flex fc-b"
v-else-if=
"starmodal"
>
<Header>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"ios-pause"
/>
暂停
</Button>
<div
class=
"tech_body"
>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"logo-angular"
/>
交检
</Button>
<Menu
mode=
"horizontal"
theme=
"light"
active-name=
"1"
@
on-select=
"openSaveTip"
>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"ios-checkmark-circle-outline"
/>
完工
</Button>
<MenuItem
name=
"1"
>
主材
</MenuItem>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"md-swap"
/>
转序交接
</Button>
<MenuItem
name=
"2"
>
辅材
</MenuItem>
</div>
<MenuItem
name=
"3"
>
工具
</MenuItem>
<div
class=
"footer_box"
>
<MenuItem
name=
"4"
>
量具
</MenuItem>
<div
class=
"ul_box fl"
>
<MenuItem
name=
"5"
>
工装
</MenuItem>
<ul>
<MenuItem
name=
"6"
>
数控程序
</MenuItem>
<li>
名称:名称1
</li>
<MenuItem
name=
"7"
>
工艺附件
</MenuItem>
<li>
图号:UIGT-763245
</li>
</Menu>
<li>
状态:未开工
</li>
<li>
订单编号:097543346
</li>
<li>
订单属性1:
</li>
<li>
订单属性2:
</li>
<li>
订单属性3:
</li>
<li>
计划数量:10
</li>
<li>
节点日期:2020-02-25
</li>
</ul>
</div>
<div
class=
"ul_box fl"
>
<ul>
<li>
工序名称:名称1
</li>
<li>
工序序号:UIGT-763245
</li>
<li>
派工数量:66
</li>
<li>
资源名称:23366
</li>
<li>
资源编号:986732038
</li>
<li>
人员信息:
</li>
<li>
开始时间:
</li>
<li>
结束时间:
</li>
<li>
单件工时:10
</li>
<li>
准备工时:2020-02-25
</li>
</ul>
</div>
<div
class=
"img_box fl"
>
图片区
</div>
</div>
</div>
</Header>
<Layout
class=
"bottom_box"
>
<!--
<nuxt-child
keep-alive
></nuxt-child>
-->
<component
:is=
"detail"
:eid=
"id"
/>
</Layout>
</Layout>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -51,26 +31,29 @@ export default {
...
@@ -51,26 +31,29 @@ export default {
name
:
'starOrder'
,
name
:
'starOrder'
,
data
(){
data
(){
return
{
return
{
starmodal
:
false
,
id
:
"1"
,
detail
:
null
,
}
}
},
},
created
()
{
created
()
{
// this.treeHeight = window.innerHeight - 120
;
this
.
detail
=
()
=>
import
(
"./components/mainMaterial"
)
;
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
mounted
()
{
mounted
()
{
window
.
onresize
=
()
=>
{
// this.detail = () => import("./components/setupDetails");
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
},
methods
:
{
methods
:
{
starFun
(){
openSaveTip
(
key
){
this
.
$Message
.
success
(
"开工..."
)
this
.
id
=
key
if
(
this
.
id
==
"1"
){
this
.
detail
=
()
=>
import
(
"./components/mainMaterial"
);}
if
(
this
.
id
==
"2"
){
this
.
detail
=
()
=>
import
(
"./components/auxiliary"
);}
if
(
this
.
id
==
"3"
){
this
.
detail
=
()
=>
import
(
"./components/tool"
);}
if
(
this
.
id
==
"4"
){
this
.
detail
=
()
=>
import
(
"./components/measuring"
);}
if
(
this
.
id
==
"5"
){
this
.
detail
=
()
=>
import
(
"./components/workClothes"
);}
if
(
this
.
id
==
"6"
){
this
.
detail
=
()
=>
import
(
"./components/program"
);}
if
(
this
.
id
==
"7"
){
this
.
detail
=
()
=>
import
(
"./components/annex"
);}
},
},
},
},
}
}
...
...
pages/technology/details/routinghcorder/add.vue
View file @
6335f598
...
@@ -165,7 +165,8 @@ export default {
...
@@ -165,7 +165,8 @@ export default {
},
},
props
:
{
props
:
{
v
:
Object
,
v
:
Object
,
eid
:
Number
eid
:
Number
,
headid
:
Number
,
},
},
mounted
()
{
mounted
()
{
// if (this.eid > 0) {
// if (this.eid > 0) {
...
@@ -191,7 +192,7 @@ export default {
...
@@ -191,7 +192,7 @@ export default {
if
(
v
)
{
if
(
v
)
{
this
.
disabled
=
true
;
this
.
disabled
=
true
;
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
this
.
entity
.
routingHeaderId
=
this
.
headid
;
Api
.
create
(
this
.
entity
)
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
.
then
(
r
=>
{
this
.
disabled
=
false
;
this
.
disabled
=
false
;
...
...
pages/technology/details/routinghcorder/index.vue
View file @
6335f598
<
template
>
<
template
>
<div>
<div>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:conditions=
"easySearch"
>
<template
slot=
"easySearch"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入关键字更改单编号"
v-model=
"easySearch.keys.value"
v-width=
"260"
/>
<Input
placeholder=
"请输入关键字更改单编号"
v-model=
"easySearch.keys.value"
v-width=
"260"
/>
</FormItem>
</FormItem>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</
template
>
</
template
>
</DataGrid>
</DataGrid>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
scrollable
>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
scrollable
>
<component
:is=
"detail"
:eid=
"curId"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
<component
:is=
"detail"
:eid=
"curId"
:headid=
"hid"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
</Modal>
</div>
</div>
</template>
</template>
...
@@ -43,8 +43,13 @@ export default {
...
@@ -43,8 +43,13 @@ export default {
keys
:
{
keys
:
{
op
:
"changeorderCode,"
,
op
:
"changeorderCode,"
,
value
:
null
value
:
null
},
routingHeaderId
:
{
op
:
"Equal"
,
value
:
this
.
$http
.
common
.
getquerystring
(
"id"
)
}
}
},
},
hid
:
0
,
modal
:
false
,
modal
:
false
,
title
:
"新增"
,
title
:
"新增"
,
detail
:
null
,
detail
:
null
,
...
@@ -75,7 +80,7 @@ export default {
...
@@ -75,7 +80,7 @@ export default {
align
:
"left"
,
align
:
"left"
,
high
:
true
,
high
:
true
,
type
:
"user"
,
type
:
"user"
,
width
:
140
,
width
:
140
},
},
{
{
key
:
"technicalName"
,
key
:
"technicalName"
,
...
@@ -103,7 +108,7 @@ export default {
...
@@ -103,7 +108,7 @@ export default {
title
:
this
.
l
(
"quantity"
),
title
:
this
.
l
(
"quantity"
),
align
:
"right"
,
align
:
"right"
,
high
:
true
,
high
:
true
,
width
:
100
,
width
:
100
},
},
{
{
key
:
"status"
,
key
:
"status"
,
...
@@ -165,7 +170,7 @@ export default {
...
@@ -165,7 +170,7 @@ export default {
attrs
:
{
oprate
:
"edit"
},
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
},
},
params
.
row
.
status
==
1
?
"编辑"
:
''
params
.
row
.
status
==
1
?
"编辑"
:
""
),
),
h
(
h
(
"op"
,
"op"
,
...
@@ -173,7 +178,7 @@ export default {
...
@@ -173,7 +178,7 @@ export default {
attrs
:
{
oprate
:
"delete"
},
attrs
:
{
oprate
:
"delete"
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
},
},
params
.
row
.
status
==
1
?
"删除"
:
""
params
.
row
.
status
==
1
?
"删除"
:
""
)
)
]);
]);
}
}
...
@@ -183,6 +188,7 @@ export default {
...
@@ -183,6 +188,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
);
console
.
log
(
this
);
this
.
search
()
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
...
@@ -198,6 +204,7 @@ export default {
...
@@ -198,6 +204,7 @@ export default {
},
},
add
()
{
add
()
{
this
.
curId
=
0
;
this
.
curId
=
0
;
this
.
hid
=
this
.
$http
.
common
.
getquerystring
(
"id"
);
this
.
title
=
"新增"
;
this
.
title
=
"新增"
;
this
.
detail
=
()
=>
import
(
"./add"
);
this
.
detail
=
()
=>
import
(
"./add"
);
this
.
modal
=
true
;
this
.
modal
=
true
;
...
...
pages/technology/index.vue
View file @
6335f598
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
:eid=
"curId"
:eid=
"curId"
:uid=
"uId"
:uid=
"uId"
:title=
"title"
:title=
"title"
:headid=
"hid"
@
on-close=
"cancel"
@
on-close=
"cancel"
@
on-ok=
"ok"
@
on-ok=
"ok"
/>
/>
...
@@ -143,6 +144,7 @@ export default {
...
@@ -143,6 +144,7 @@ export default {
easySearch
:
{
easySearch
:
{
keys
:
{
op
:
"unicode,name,code"
,
value
:
null
}
keys
:
{
op
:
"unicode,name,code"
,
value
:
null
}
},
},
hid
:
0
,
modal
:
false
,
modal
:
false
,
title
:
"新增"
,
title
:
"新增"
,
info
:
null
,
info
:
null
,
...
@@ -320,8 +322,8 @@ export default {
...
@@ -320,8 +322,8 @@ export default {
h
(
h
(
"op"
,
"op"
,
{
{
attrs
:
{
oprate
:
"detail"
}
attrs
:
{
oprate
:
"detail"
}
,
//
on: { click: () => this.TechnologyChange(params.row) }
on
:
{
click
:
()
=>
this
.
TechnologyChange
(
params
.
row
)
}
},
},
params
.
row
.
approvalStatus
==
1
?
"新增更改单"
:
""
params
.
row
.
approvalStatus
==
1
?
"新增更改单"
:
""
),
),
...
@@ -484,28 +486,10 @@ export default {
...
@@ -484,28 +486,10 @@ export default {
},
},
//工艺更改
//工艺更改
TechnologyChange
(
row
)
{
TechnologyChange
(
row
)
{
this
.
$refs
.
routingchangeorder
.
flag
=
0
;
this
.
hid
=
row
.
id
;
this
.
$refs
.
routingchangeorder
.
routing_header_Id
=
row
.
id
;
this
.
title
=
"新增"
;
var
userId
=
this
.
$store
.
state
.
userInfo
.
userId
;
this
.
detail
=
()
=>
import
(
"./details/routinghcorder/add"
);
let
parma
=
{
this
.
modal
=
true
;
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
)
{
Main
(
data
)
{
...
...
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