Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
fukai
vue-gjjs
Commits
37f462e8
Commit
37f462e8
authored
Jan 28, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇款附件表格
parent
49efbe24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
20 deletions
+10
-20
Doctre.vue
src/views/Public/Doctre.vue
+10
-20
No files found.
src/views/Public/Doctre.vue
View file @
37f462e8
...
...
@@ -15,22 +15,7 @@
>
<el-table-column
label=
"Type"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<c-select
v-model=
"
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style=
"width: 100%"
disabled
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.doceotCortyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<span>
{{
getType
(
scope
.
row
.
index
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
width=
"auto"
>
...
...
@@ -44,8 +29,6 @@
<span>
{{
getNow
()
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
</c-istream-table-docpan>
</c-col>
...
...
@@ -65,8 +48,6 @@
<el-table-column
label=
"Document"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Cre.TRN"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Date"
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
</c-table>
</c-col>
...
...
@@ -200,6 +181,15 @@ export default {
}
},
methods
:{
getType
(
idx
)
{
for
(
let
i
=
0
;
i
<
this
.
codes
.
doceotCortyp
.
length
;
i
++
)
{
const
c
=
this
.
codes
.
doceotCortyp
[
i
];
if
(
this
.
model
.
trnmod
.
trndoc
.
doceot
[
idx
].
cortyp
===
c
.
value
)
{
return
c
.
label
;
}
}
return
""
;
},
getNow
()
{
return
moment
().
format
(
'yyyy-MM-DD'
)
},
...
...
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