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
a51c4103
Commit
a51c4103
authored
Jun 15, 2020
by
樊国敬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coderule
parent
2a93b79c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
15 deletions
+18
-15
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
No files found.
i18n/locale/zh-CN.js
View file @
a51c4103
...
@@ -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 @
a51c4103
...
@@ -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 @
a51c4103
...
@@ -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 @
a51c4103
...
@@ -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>
...
...
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