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
22a5c1f3
Commit
22a5c1f3
authored
Oct 16, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product-rjt
parents
6a67aa28
d4c64b07
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
68 deletions
+96
-68
add.vue
pages/materiel/codeRule/add.vue
+9
-9
detail.vue
pages/technology/details/routingsupporting/detail.vue
+37
-9
index.vue
pages/technology/details/routingsupporting/index.vue
+50
-50
No files found.
pages/materiel/codeRule/add.vue
View file @
22a5c1f3
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"120"
>
<Row>
<Col
:span=
"12"
>
<
!--
<
Col
:span=
"12"
>
<FormItem
:label=
"l('code')"
prop=
"code"
>
<Input
v-model=
"entity.code"
disabled
></Input>
</FormItem>
</Col>
</Col>
-->
<Col
:span=
"12"
>
<FormItem
:label=
"l('name')"
prop=
"name"
>
<Input
v-model=
"entity.name"
></Input>
...
...
@@ -56,13 +56,13 @@ export default {
data
()
{
return
{
entity
:
{
creationTime
:
null
,
creatorUserId
:
null
,
lastModificationTime
:
null
,
lastModifierUserId
:
null
,
isDeleted
:
null
,
deletionTime
:
null
,
deleterUserId
:
null
,
//
creationTime: null,
//
creatorUserId: null,
//
lastModificationTime: null,
//
lastModifierUserId: null,
//
isDeleted: null,
//
deletionTime: null,
//
deleterUserId: null,
code
:
""
,
name
:
""
,
type
:
null
,
...
...
pages/technology/details/routingsupporting/detail.vue
View file @
22a5c1f3
<
template
>
<div
class=
"new-detail"
>
<Row>
<Filed
:span=
"8"
:name=
"l('routingDetailNo')+':'"
>
{{
entity
.
routingDetailNo
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
{{
entity
.
routingDetailName
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('materialNumber')+':'"
>
{{
entity
.
materialNumber
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('nameMaterial')+':'"
>
{{
entity
.
nameMaterial
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailNo') + ':'"
>
{{
entity
.
routingDetailNo
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName') + ':'"
>
{{
entity
.
routingDetailName
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('materialNumber') + ':'"
>
{{
entity
.
materialNumber
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('nameMaterial') + ':'"
>
{{
entity
.
nameMaterial
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('creationTime')+':'"
>
{{
entity
.
creationTime
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('creationTime') + ':'"
>
{{
entity
.
creationTime
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('creatorUserId')
+
':'"
>
<Filed
:span=
"8"
:name=
"l('creatorUserId')
+
':'"
>
<User
:value=
"parseInt(entity.creatorUserId)"
/>
</Filed>
<Filed
:span=
"8"
:name=
"l('quantity')+':'"
>
{{
entity
.
quantity
}}
</Filed>
<Filed
:span=
"8"
:name=
"l('quantity') + ':'"
>
{{
entity
.
quantity
}}
</Filed>
</Row>
<Divider
orientation=
"left"
>
扩展属性
</Divider>
<Row>
...
...
@@ -19,8 +31,24 @@
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
:name=
"li.title+':'"
>
{{
li
.
newConten
}}
</Filed>
:name=
"li.title + ':'"
>
<!--
{{
li
.
newConten
}}
-->
<State
v-if=
"li.dataType == 3"
:code=
"li.note"
:value=
"entity[li.field]"
/>
<div
v-else-if=
"li.dataType == 8"
>
{{
entity
[
li
.
field
]
}}
</div>
<div
v-else-if=
"li.dataType == 5"
v-html=
"entity[li.field]"
></div>
<DTSpan
v-else-if=
"li.dataType == 4"
:value=
"entity[li.field]"
/>
<span
v-else
>
{{
entity
[
li
.
field
]
}}
</span>
<State
v-if=
"li.unitName && (li.dataType == 1 || li.dataType == 2)"
:code=
"li.note"
:value=
"entity[li.field]"
/>
</Filed>
</Row>
</div>
</
template
>
...
...
pages/technology/details/routingsupporting/index.vue
View file @
22a5c1f3
...
...
@@ -142,56 +142,56 @@ export default {
high
:
true
,
width
:
80
,
},
{
key
:
"brand"
,
title
:
this
.
l
(
"brand"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
{
key
:
"specifications"
,
title
:
this
.
l
(
"specifications"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
{
key
:
"xhgg"
,
title
:
this
.
l
(
"xhgg"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
hide
:
true
,
},
{
key
:
"texture"
,
title
:
this
.
l
(
"texture"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
{
key
:
"procurementStandards"
,
title
:
this
.
l
(
"procurementStandards"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
{
key
:
"qualityGrade"
,
title
:
this
.
l
(
"qualityGrade"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
{
key
:
"drawNum"
,
title
:
this
.
l
(
"drawNum"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
//
{
//
key: "brand",
//
title: this.l("brand"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
//
{
//
key: "specifications",
//
title: this.l("specifications"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
//
{
//
key: "xhgg",
//
title: this.l("xhgg"),
//
align: "left",
//
easy: true,
//
high: true,
//
hide: true,
//
},
//
{
//
key: "texture",
//
title: this.l("texture"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
//
{
//
key: "procurementStandards",
//
title: this.l("procurementStandards"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
//
{
//
key: "qualityGrade",
//
title: this.l("qualityGrade"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
//
{
//
key: "drawNum",
//
title: this.l("drawNum"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
{
key
:
"creationTime"
,
title
:
this
.
l
(
"creationTime"
),
...
...
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