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
22ece119
Commit
22ece119
authored
Oct 09, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库房管理bug
parent
788836a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
detail.vue
pages/material/detail.vue
+20
-10
No files found.
pages/material/detail.vue
View file @
22ece119
<
template
>
<
template
>
<div>
<div>
<span
class=
"mr20"
>
物料名称:
{{
materialName
}}
</span>
<span
class=
"mr20"
>
物料名称:
{{
materialName
}}
</span>
<span
class=
"mr20"
>
物料编码:
{{
mcode
}}
</span>
<span
class=
"mr20"
>
物料编码:
{{
mcode
}}
</span>
<span>
库位:
{{
storeTitle
}}
</span>
<span>
库位:
{{
storeTitle
}}
</span>
<DataGrid
<DataGrid
:columns=
"columns"
:columns=
"columns"
ref=
"grid"
ref=
"grid"
...
@@ -11,22 +11,32 @@
...
@@ -11,22 +11,32 @@
:tool=
"false"
:tool=
"false"
:height=
"treeHeight"
:height=
"treeHeight"
></DataGrid>
></DataGrid>
<Modal
v-model=
"modal1"
title=
"查看物料属性"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Modal
v-model=
"modal1"
title=
"查看物料属性"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Form
ref=
"form"
:label-width=
"100"
>
<Form
ref=
"form"
:label-width=
"100"
>
<Row>
<Row>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<FormItem
:label=
"li.title"
>
<FormItem
:label=
"li.title"
>
<span>
{{
li
.
value
}}
</span>
<span
v-if=
"li.field == 'name'"
>
{{
materialName
}}
</span>
<div
v-if=
"li.dataType==5"
v-html=
"li.value"
></div>
<span
v-if=
"li.dataType != 3"
>
{{
li
.
value
}}
</span>
<InputFile
v-if=
"li.dataType==6"
v-model=
"li.value"
></InputFile>
<div
v-if=
"li.dataType == 5"
v-html=
"li.value"
></div>
<InputFile
v-if=
"li.dataType==7"
v-model=
"li.value"
></InputFile>
<InputFile
v-if=
"li.dataType == 6"
v-model=
"li.value"
></InputFile>
<InputFile
v-if=
"li.dataType == 7"
v-model=
"li.value"
></InputFile>
<state
<state
v-if=
"li.unitName
&&(li.dataType==1||li.dataType==
2)"
v-if=
"li.unitName
&& (li.dataType == 1 || li.dataType ==
2)"
:value=
"li.unitName"
:value=
"li.unitName"
code=
"material.main.unitName"
code=
"material.main.unitName"
type=
"tag"
type=
"tag"
></state>
></state>
<Dictionary
v-if=
"li.dataType==3"
v-model=
"li.value"
:code=
"li.note"
></Dictionary>
<Dictionary
v-if=
"li.dataType == 3"
v-model=
"li.value"
:code=
"li.note"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
...
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