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
c7e1fea9
Commit
c7e1fea9
authored
Jun 15, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product
parents
9d2396ef
a51c4103
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
24 deletions
+26
-24
zh-CN.js
i18n/locale/zh-CN.js
+3
-3
add.vue
pages/materiel/codeRule/add.vue
+7
-6
detail.vue
pages/materiel/codeRule/detail.vue
+2
-1
edit.vue
pages/materiel/codeRule/edit.vue
+6
-5
index.vue
pages/produce/execute/index.vue
+8
-9
No files found.
i18n/locale/zh-CN.js
View file @
c7e1fea9
...
@@ -1487,9 +1487,9 @@ export default {
...
@@ -1487,9 +1487,9 @@ export default {
type
:
'类型'
,
type
:
'类型'
,
status
:
'状态'
,
status
:
'状态'
,
description
:
'描述'
,
description
:
'描述'
,
levelNum
:
'
编码
分类层数'
,
levelNum
:
'分类层数'
,
codeLength
:
'
编码
分类位数'
,
codeLength
:
'分类位数'
,
materialCodeLength
:
'
物料编码
位数'
materialCodeLength
:
'
流水
位数'
},
},
//转续列表
//转续列表
order_execute_handon
:{
order_execute_handon
:{
...
...
pages/materiel/codeRule/add.vue
View file @
c7e1fea9
...
@@ -21,11 +21,7 @@
...
@@ -21,11 +21,7 @@
<Dictionary
code=
"material.code.status"
v-model=
"entity.status"
></Dictionary>
<Dictionary
code=
"material.code.status"
v-model=
"entity.status"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"2"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('levelNum')"
prop=
"levelNum"
>
<FormItem
:label=
"l('levelNum')"
prop=
"levelNum"
>
<InputNumber
v-model=
"entity.levelNum"
:max=
"10"
:min=
"1"
></InputNumber>
<InputNumber
v-model=
"entity.levelNum"
:max=
"10"
:min=
"1"
></InputNumber>
...
@@ -41,6 +37,11 @@
...
@@ -41,6 +37,11 @@
<InputNumber
v-model=
"entity.materialCodeLength"
:max=
"10"
:min=
"1"
></InputNumber>
<InputNumber
v-model=
"entity.materialCodeLength"
:max=
"10"
:min=
"1"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"2"
></Input>
</FormItem>
</Col>
</Row>
</Row>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
...
@@ -66,7 +67,7 @@ export default {
...
@@ -66,7 +67,7 @@ export default {
code
:
""
,
code
:
""
,
name
:
""
,
name
:
""
,
type
:
null
,
type
:
null
,
status
:
null
,
status
:
0
,
description
:
""
,
description
:
""
,
levelNum
:
null
,
levelNum
:
null
,
codeLength
:
null
,
codeLength
:
null
,
...
...
pages/materiel/codeRule/detail.vue
View file @
c7e1fea9
...
@@ -11,10 +11,11 @@
...
@@ -11,10 +11,11 @@
<Filed
:span=
"12"
:name=
"l('status')"
>
<Filed
:span=
"12"
:name=
"l('status')"
>
<state
code=
"material.code.status"
:value=
"entity.status"
type=
"text"
></state>
<state
code=
"material.code.status"
:value=
"entity.status"
type=
"text"
></state>
</Filed>
-->
</Filed>
-->
<Filed
:span=
"24"
:name=
"l('description')"
>
{{
entity
.
description
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('levelNum')"
>
{{
entity
.
levelNum
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('levelNum')"
>
{{
entity
.
levelNum
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('codeLength')"
>
{{
entity
.
codeLength
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('codeLength')"
>
{{
entity
.
codeLength
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('materialCodeLength')"
>
{{
entity
.
materialCodeLength
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('materialCodeLength')"
>
{{
entity
.
materialCodeLength
}}
</Filed>
<Filed
:span=
"24"
:name=
"l('description')"
>
{{
entity
.
description
}}
</Filed>
</Row>
</Row>
</div>
</div>
...
...
pages/materiel/codeRule/edit.vue
View file @
c7e1fea9
...
@@ -21,11 +21,7 @@
...
@@ -21,11 +21,7 @@
<Dictionary
code=
"material.code.status"
v-model=
"entity.status"
></Dictionary>
<Dictionary
code=
"material.code.status"
v-model=
"entity.status"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"2"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('levelNum')"
prop=
"levelNum"
>
<FormItem
:label=
"l('levelNum')"
prop=
"levelNum"
>
<InputNumber
v-model=
"entity.levelNum"
disabled
:max=
"10"
:min=
"1"
></InputNumber>
<InputNumber
v-model=
"entity.levelNum"
disabled
:max=
"10"
:min=
"1"
></InputNumber>
...
@@ -41,6 +37,11 @@
...
@@ -41,6 +37,11 @@
<InputNumber
v-model=
"entity.materialCodeLength"
disabled
:max=
"10"
:min=
"1"
></InputNumber>
<InputNumber
v-model=
"entity.materialCodeLength"
disabled
:max=
"10"
:min=
"1"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"2"
></Input>
</FormItem>
</Col>
</Row>
</Row>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
...
...
pages/produce/execute/index.vue
View file @
c7e1fea9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div>
工单编号: 12001011
</div>
<div>
工单编号: 12001011
</div>
</div>
-->
</div>
-->
<component
:is=
"detail"
:gdid=
"gdId"
:row=
"row"
/>
<component
:is=
"detail"
:gdid=
"gdId"
:row=
"row"
/>
<a
class=
"gd_list"
@
click=
"
orderlistMode = true
"
>
工单列表
</a>
<a
class=
"gd_list"
@
click=
"
changeFresh
"
>
工单列表
</a>
<a
class=
"gn_area"
@
click=
"functionalMode = true"
>
功能区
</a>
<a
class=
"gn_area"
@
click=
"functionalMode = true"
>
功能区
</a>
<!-- 工单列表 -->
<!-- 工单列表 -->
<Drawer
<Drawer
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
></Dictionary>
></Dictionary>
</div>
</div>
<div
class=
"select_t"
style=
"height:40px"
>
<div
class=
"select_t"
style=
"height:40px"
>
<Button
@
click=
"changeFresh"
class=
"fl"
shape=
"circle"
icon=
"md-refresh"
>
刷新
</Button>
<Button
@
click=
"changeAsc"
class=
"fr"
shape=
"circle"
icon=
"md-calendar"
>
{{
ascTitle
}}
</Button>
<Button
@
click=
"changeAsc"
class=
"fr"
shape=
"circle"
icon=
"md-calendar"
>
{{
ascTitle
}}
</Button>
</div>
</div>
</div>
</div>
...
@@ -73,8 +72,8 @@ export default {
...
@@ -73,8 +72,8 @@ export default {
inputId
:
null
,
inputId
:
null
,
asc
:
true
,
asc
:
true
,
ascTitle
:
"时间正序排序"
,
ascTitle
:
"时间正序排序"
,
statu
:
-
9
,
statu
:
-
9
,
refresh
:
true
,
refresh
:
true
};
};
},
},
created
()
{
created
()
{
...
@@ -101,8 +100,8 @@ export default {
...
@@ -101,8 +100,8 @@ export default {
if
(
value
==
null
||
typeof
value
==
"undefined"
)
{
if
(
value
==
null
||
typeof
value
==
"undefined"
)
{
value
=
-
9
;
value
=
-
9
;
}
}
this
.
statu
=
value
this
.
statu
=
value
;
// this.$refs.orderlistref.loadTree(value);
// this.$refs.orderlistref.loadTree(value);
},
},
changeTitle
(
number
,
type
)
{
changeTitle
(
number
,
type
)
{
this
.
orderTitle
=
type
;
this
.
orderTitle
=
type
;
...
@@ -152,9 +151,9 @@ export default {
...
@@ -152,9 +151,9 @@ export default {
}
}
},
},
//刷新orderlist列表
//刷新orderlist列表
changeFresh
()
changeFresh
()
{
{
this
.
refresh
=
!
this
.
refresh
;
this
.
refresh
=!
this
.
refresh
this
.
orderlistMode
=
true
;
}
}
},
},
watch
:
{
watch
:
{
...
...
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