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
f3cf84a3
Commit
f3cf84a3
authored
Oct 20, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
669c07ff
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
885 additions
and
802 deletions
+885
-802
index.vue
pages/aps/complete/index.vue
+108
-95
index.vue
pages/aps/stream/index.vue
+160
-149
add.vue
pages/qc/certificate/waitOpened/add.vue
+4
-2
index.vue
pages/resource/resource/index.vue
+604
-547
index.vue
pages/technology/details/routingsupporting/index.vue
+9
-9
No files found.
pages/aps/complete/index.vue
View file @
f3cf84a3
<
template
>
<
template
>
<div>
<div
class=
"back-href"
>
<a
@
click=
"viewClose"
>
<Icon
type=
"ios-undo-outline"
size=
"24"
/>
返回计划管理
</a>
</div>
<div
class=
"scheduling"
>
<div
class=
"scheduling"
>
<div
class=
"aps-l"
>
<div
class=
"aps-l"
>
<Row
class=
"row-p"
>
<Row
class=
"row-p"
>
...
@@ -101,6 +107,7 @@
...
@@ -101,6 +107,7 @@
</Form>
</Form>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"./api"
;
import
Api
from
"./api"
;
...
@@ -126,7 +133,7 @@ export default {
...
@@ -126,7 +133,7 @@ export default {
showSet
:
false
,
showSet
:
false
,
// userName: ""
// userName: ""
},
},
user
:
''
,
user
:
""
,
showSet
:
false
,
showSet
:
false
,
// listGroup: [
// listGroup: [
// {
// {
...
@@ -169,6 +176,9 @@ export default {
...
@@ -169,6 +176,9 @@ export default {
this
.
orderlist
(
0
);
this
.
orderlist
(
0
);
},
},
methods
:
{
methods
:
{
viewClose
()
{
this
.
$router
.
push
(
"/aps/plan"
);
},
// 过滤条件
// 过滤条件
changeStatus
(
name
)
{
changeStatus
(
name
)
{
this
.
status
=
name
;
this
.
status
=
name
;
...
@@ -338,6 +348,9 @@ export default {
...
@@ -338,6 +348,9 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@import "../../../assets/css/custom.less";
@import "../../../assets/css/custom.less";
.back-href {
height: 35px;
}
.addclass {
.addclass {
border-color: rgba(38, 128, 235, 0.2) !important;
border-color: rgba(38, 128, 235, 0.2) !important;
.title-i {
.title-i {
...
...
pages/aps/stream/index.vue
View file @
f3cf84a3
<
template
>
<
template
>
<div>
<div
class=
"back-href"
>
<a
@
click=
"viewClose"
>
<Icon
type=
"ios-undo-outline"
size=
"24"
/>
返回计划管理
</a>
</div>
<div
class=
"scheduling"
>
<div
class=
"scheduling"
>
<div
class=
"aps-l"
>
<div
class=
"aps-l"
>
<Row
class=
"row-p"
>
<Row
class=
"row-p"
>
...
@@ -156,6 +163,7 @@
...
@@ -156,6 +163,7 @@
></Slider>
></Slider>
</Modal>
</Modal>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Set
from
"./set"
;
import
Set
from
"./set"
;
...
@@ -197,6 +205,9 @@ export default {
...
@@ -197,6 +205,9 @@ export default {
this
.
orderlist
(
0
);
this
.
orderlist
(
0
);
},
},
methods
:
{
methods
:
{
viewClose
()
{
this
.
$router
.
push
(
"/aps/plan"
);
},
// 排产池过滤条件
// 排产池过滤条件
changeStatus
(
a
)
{
changeStatus
(
a
)
{
this
.
status
=
a
;
this
.
status
=
a
;
...
...
pages/qc/certificate/waitOpened/add.vue
View file @
f3cf84a3
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
disabled
:
false
,
disabled
:
false
,
entity
:
{
entity
:
{
id
:
0
,
id
:
0
,
status
:
""
,
status
:
0
,
items
:
[],
items
:
[],
},
},
rules
:
{
rules
:
{
...
@@ -225,6 +225,7 @@ export default {
...
@@ -225,6 +225,7 @@ export default {
columns
:
[
columns
:
[
{
{
title
:
"序号"
,
title
:
"序号"
,
// key: "index",
type
:
"index"
,
type
:
"index"
,
width
:
80
,
width
:
80
,
align
:
"center"
,
align
:
"center"
,
...
@@ -308,7 +309,8 @@ export default {
...
@@ -308,7 +309,8 @@ export default {
let
item
=
[];
let
item
=
[];
item
=
this
.
checkList
;
item
=
this
.
checkList
;
if
(
item
)
{
if
(
item
)
{
item
.
forEach
((
c
)
=>
{
item
.
forEach
((
c
,
index
)
=>
{
c
.
index
=
index
;
return
delete
c
.
id
;
return
delete
c
.
id
;
});
});
}
}
...
...
pages/resource/resource/index.vue
View file @
f3cf84a3
<
template
>
<
template
>
<Layout
class=
"full"
>
<Layout
class=
"full"
>
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<StoreTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
<StoreTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
</Sider>
...
@@ -10,12 +10,27 @@
...
@@ -10,12 +10,27 @@
</a>
</a>
</div>
</div>
<Content
class=
"content"
:class=
"!showMenu?'con_bord':''"
>
<Content
class=
"content"
:class=
"!showMenu ? 'con_bord' : ''"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:conditions=
"easySearch"
:batch=
"true"
:format=
"checkData"
@
all-change=
"allchange"
@
on-selection-change=
"onSelect"
exportTitle=
"制造资源"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:conditions=
"easySearch"
:batch=
"true"
:format=
"checkData"
@
all-change=
"allchange"
@
on-selection-change=
"onSelect"
exportTitle=
"制造资源"
>
<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
clearable
placeholder=
"请输入资源名称/资源编码/编码"
v-model
.
trim=
"easySearch.keys.value"
v-width=
"260"
/>
<Input
clearable
placeholder=
"请输入资源名称/资源编码/编码"
v-model
.
trim=
"easySearch.keys.value"
v-width=
"260"
/>
</FormItem>
</FormItem>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
...
@@ -28,21 +43,55 @@
...
@@ -28,21 +43,55 @@
<
template
slot=
"buttons"
>
<
template
slot=
"buttons"
>
<Button
type=
"primary"
@
click=
"add"
>
入库
</Button>
<Button
type=
"primary"
@
click=
"add"
>
入库
</Button>
<!--
<Button
type=
"primary"
@
click=
"returnModel=true"
>
归还
</Button>
-->
<!--
<Button
type=
"primary"
@
click=
"returnModel=true"
>
归还
</Button>
-->
<Badge
:count=
"this.$store.state.count"
overflow-count=
"99"
style=
"margin-right:5px;"
:offset=
'postion'
>
<Badge
:count=
"this.$store.state.count"
overflow-count=
"99"
style=
"margin-right: 5px"
:offset=
"postion"
>
<Button
icon=
"md-cart"
@
click=
"showCart"
>
借出车
</Button>
<Button
icon=
"md-cart"
@
click=
"showCart"
>
借出车
</Button>
</Badge>
</Badge>
<Button
@
click=
"openModalIm"
>
导入
</Button>
<Button
@
click=
"openModalIm"
>
导入
</Button>
</
template
>
</
template
>
<
template
slot=
"batch"
>
<
template
slot=
"batch"
>
<Button
type=
"primary"
class=
"mr10 ml10"
@
click=
"addCart"
>
加入借出车
</Button>
<Button
type=
"primary"
class=
"mr10 ml10"
@
click=
"addCart"
>
加入借出车
</Button
>
</
template
>
</
template
>
</DataGrid>
</DataGrid>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
:fullscreen=
"fscreeen"
>
<Modal
<component
:is=
"detail"
:eid=
"curId"
:rootName=
"rootName"
:storeTitle=
"storeTitle"
:materialType=
"materialType"
:codeRuleType=
"codeRuleType"
:storeId=
"storeId"
:mcode=
"mCode"
:cartList=
"this.$u.clone(this.$store.state.cart)"
@
on-close=
"cancel"
@
on-ok=
"ok"
@
substr=
"substr"
/>
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
:fullscreen=
"fscreeen"
>
<component
:is=
"detail"
:eid=
"curId"
:rootName=
"rootName"
:storeTitle=
"storeTitle"
:materialType=
"materialType"
:codeRuleType=
"codeRuleType"
:storeId=
"storeId"
:mcode=
"mCode"
:cartList=
"this.$u.clone(this.$store.state.cart)"
@
on-close=
"cancel"
@
on-ok=
"ok"
@
substr=
"substr"
/>
</Modal>
</Modal>
<ImportExcel
ref=
"importExcel"
@
on-get-data=
"getData"
modalTitle=
"制造资源"
:columns=
"columns"
:open=
"ModalIm"
@
on-cancel=
"ModalImCancel"
@
on-ok=
"ok"
/>
<ImportExcel
ref=
"importExcel"
@
on-get-data=
"getData"
modalTitle=
"制造资源"
:columns=
"columns"
:open=
"ModalIm"
@
on-cancel=
"ModalImCancel"
@
on-ok=
"ok"
/>
</Content>
</Content>
</Layout>
</Layout>
</template>
</template>
<
script
>
<
script
>
...
@@ -79,7 +128,8 @@ export default {
...
@@ -79,7 +128,8 @@ export default {
storeTitle
:
""
,
storeTitle
:
""
,
materialType
:
""
,
materialType
:
""
,
mCode
:
""
,
mCode
:
""
,
columns
:
[{
columns
:
[
{
key
:
"selection"
,
key
:
"selection"
,
type
:
"selection"
,
type
:
"selection"
,
width
:
50
,
width
:
50
,
...
@@ -101,8 +151,13 @@ export default {
...
@@ -101,8 +151,13 @@ export default {
width
:
60
,
width
:
60
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
return
h
(
"div"
,
{
"Tooltip"
,
{
class
:
"action"
,
class
:
"action"
,
props
:
{
content
:
"请加入借出车"
,
placement
:
"top"
,
},
},
},
[
[
h
(
params
.
row
.
numberAvailable
>
0
?
"op"
:
""
,
{
h
(
params
.
row
.
numberAvailable
>
0
?
"op"
:
""
,
{
...
@@ -257,18 +312,22 @@ export default {
...
@@ -257,18 +312,22 @@ export default {
hide
:
false
,
hide
:
false
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
return
h
(
"div"
,
{
"div"
,
{
class
:
"action"
,
class
:
"action"
,
},
},
[
[
h
(
h
(
"op"
,
{
"op"
,
{
attrs
:
{
attrs
:
{
oprate
:
"delete"
,
oprate
:
"delete"
,
title
:
"删除"
,
title
:
"删除"
,
},
},
class
:
params
.
row
.
totalNum
===
params
.
row
.
numberAvailable
?
class
:
"remove"
:
"disable"
,
params
.
row
.
totalNum
===
params
.
row
.
numberAvailable
?
"remove"
:
"disable"
,
on
:
{
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
),
click
:
()
=>
this
.
remove
(
params
.
row
),
},
},
...
@@ -276,7 +335,8 @@ export default {
...
@@ -276,7 +335,8 @@ export default {
"删除"
"删除"
),
),
h
(
h
(
"op"
,
{
"op"
,
{
attrs
:
{
attrs
:
{
oprate
:
"detail"
,
oprate
:
"detail"
,
title
:
"查看日志"
,
title
:
"查看日志"
,
...
@@ -317,10 +377,7 @@ export default {
...
@@ -317,10 +377,7 @@ export default {
})();
})();
};
};
},
},
async
fetch
({
async
fetch
({
store
,
params
})
{
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
computed
:
{},
computed
:
{},
...
...
pages/technology/details/routingsupporting/index.vue
View file @
f3cf84a3
...
@@ -94,15 +94,15 @@ export default {
...
@@ -94,15 +94,15 @@ export default {
import
:
true
,
import
:
true
,
},
},
{
//
{
key
:
"materialType"
,
//
key: "materialType",
title
:
this
.
l
(
"materialType"
),
//
title: this.l("materialType"),
align
:
"center"
,
//
align: "center",
easy
:
true
,
//
easy: true,
high
:
true
,
//
high: true,
code
:
"mes_xingchi_resource.material.materialReType"
,
//
code: "mes_xingchi_resource.material.materialReType",
width
:
100
,
//
width: 100,
},
//
},
{
{
key
:
"materialNumber"
,
key
:
"materialNumber"
,
title
:
this
.
l
(
"materialNumber"
),
title
:
this
.
l
(
"materialNumber"
),
...
...
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