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
177b8077
Commit
177b8077
authored
May 18, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产准备
parent
2104c971
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
303 additions
and
54 deletions
+303
-54
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
No files found.
pages/produce/execute/preparation/components/annex.vue
0 → 100644
View file @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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 @
177b8077
<
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>
</div>
<li>
订单编号:097543346
</li>
</Header>
<li>
订单属性1:
</li>
<Layout
class=
"bottom_box"
>
<li>
订单属性2:
</li>
<!--
<nuxt-child
keep-alive
></nuxt-child>
-->
<li>
订单属性3:
</li>
<component
:is=
"detail"
:eid=
"id"
/>
<li>
计划数量:10
</li>
</Layout>
<li>
节点日期:2020-02-25
</li>
</Layout>
</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>
</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"
);}
},
},
},
},
}
}
...
...
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