Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
9e762cec
Commit
9e762cec
authored
Oct 18, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b79a41ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
Application.vue
src/components/FinancialModule/Application.vue
+18
-7
No files found.
src/components/FinancialModule/Application.vue
View file @
9e762cec
...
...
@@ -2,7 +2,7 @@
<div
class=
"Application"
>
<div
class=
"Application_content"
>
<div>
<el-select
@
change=
"ChangeType"
v-model=
"formdata.Type"
placeholder=
"请选择"
>
<el-select
:disabled=
"numDisabled"
@
change=
"ChangeType"
v-model=
"formdata.Type"
placeholder=
"请选择"
>
<el-option
label=
"现金"
:value=
"1"
></el-option>
<el-option
label=
"转账"
:value=
"2"
></el-option>
</el-select>
...
...
@@ -28,7 +28,7 @@
{{
baseData
.
info
}}
</div>
<table
style=
"margin-top:30px"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
style=
"margin-top:30px"
class=
"
ApplicationTable
singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
受取日
</th>
<th
width=
"200"
>
受取者
</th>
...
...
@@ -36,9 +36,11 @@
<th>
金 額
</th>
</tr>
<tr>
<td>
{{
formdata
.
GetDate
}}
</td>
<td>
<el-input
v-model=
"formdata.LeaderName"
placeholder=
"请输入内容"
></el-input>
<el-input
:disabled=
"numDisabled"
v-model=
"formdata.GetDate"
placeholder=
"请输入内容"
></el-input>
</td>
<td>
<el-input
:disabled=
"numDisabled"
v-model=
"formdata.LeaderName"
placeholder=
"请输入内容"
></el-input>
</td>
<td>
<el-select
clearable
:disabled=
"disabled1"
v-model=
"formdata.GetAddress"
placeholder=
"请选择"
>
...
...
@@ -51,7 +53,7 @@
</el-select>
</td>
<td>
<el-input
v-model=
"formdata.Money"
placeholder=
"请输入内容"
></el-input>
<el-input
:disabled=
"numDisabled"
v-model=
"formdata.Money"
placeholder=
"请输入内容"
></el-input>
</td>
</tr>
</table>
...
...
@@ -64,9 +66,9 @@
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"formdata.ImgAddress?formdata.ImgAddress:''"
>
</div>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile"
></span>
<span
v-if=
"!numDisabled"
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile"
></span>
</div>
<div
class=
"_pic_upload"
>
<div
v-if=
"!numDisabled"
class=
"_pic_upload"
>
<el-upload
style=
"width:100%;height:100%"
drag
:http-request=
"uploadFileBtn"
...
...
@@ -100,6 +102,7 @@ export default {
id
:
""
,
disabled
:
false
,
disabled1
:
false
,
numDisabled
:
false
,
}
},
created
(){
...
...
@@ -164,6 +167,7 @@ export default {
link
.
href
=
_loadUrl
+
res
.
data
.
data
document
.
body
.
appendChild
(
link
);
link
.
click
();
this
.
GetData
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
@@ -182,6 +186,9 @@ export default {
this
.
apipost
(
'Financial_get_GetFinanceCashWithDrawals'
,{
FrId
:
this
.
FrId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
data
=
res
.
data
.
data
;
if
(
this
.
data
.
ApplyForNumber
!=
"待生成"
){
this
.
numDisabled
=
true
;
}
console
.
log
(
"this.data"
,
this
.
data
)
this
.
formdata
=
Object
.
assign
({},
res
.
data
.
data
);
this
.
formdata
.
Type
=
1
;
...
...
@@ -207,6 +214,10 @@ export default {
</
script
>
<
style
>
.Application
.ApplicationTable
.el-input.is-disabled
.el-input__inner
{
border
:
none
;
background-color
:
transparent
;
}
.Application
.singeRowTable
tr
td
{
padding
:
6px
;
}
...
...
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