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
f33a7e46
Commit
f33a7e46
authored
Feb 27, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘资金调拨修改@’
parent
a4b55356
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
24 deletions
+41
-24
addCapitalAllocation.vue
src/components/FinancialModule/addCapitalAllocation.vue
+41
-24
No files found.
src/components/FinancialModule/addCapitalAllocation.vue
View file @
f33a7e46
...
...
@@ -164,7 +164,7 @@
<p>
收款对象
</p>
<div>
<span
class=
"_lable"
>
收款方式:
</span>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(
1, index,
item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in AccList'
:label=
'item.Name'
:value=
'item.ID'
...
...
@@ -172,7 +172,7 @@
</el-option>
</el-select>
<span
class=
"_lable"
>
账户类型:
</span>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(
1, index,
item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in shouAccList'
:label=
'item.Name'
:value=
'item.ID'
...
...
@@ -181,10 +181,10 @@
</el-select>
<span
class=
"_lable"
>
到款账户:
</span>
<el-select
filterable
v-model=
'item.AccountId'
@
change=
"getAccInfo(1, index, item.AccountId)"
class=
"w250 _border_b_1"
>
<el-option
v-for=
'
item in
shouAccNumList'
:label=
'
i
tem.allName'
:value=
'
i
tem.ID'
:key=
'
i
tem.ID'
>
<el-option
v-for=
'
sItem in item.
shouAccNumList'
:label=
'
sI
tem.allName'
:value=
'
sI
tem.ID'
:key=
'
sI
tem.ID'
>
</el-option>
</el-select>
</div>
...
...
@@ -256,7 +256,7 @@
<p>
付款方式
</p>
<div>
<span
class=
"_lable"
>
付款方式:
</span>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(
2, index,
item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in AccList'
:label=
'item.Name'
:value=
'item.ID'
...
...
@@ -264,7 +264,7 @@
</el-option>
</el-select>
<span
class=
"_lable"
>
账户类型:
</span>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(
2, index,
item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in shouAccList'
:label=
'item.Name'
:value=
'item.ID'
...
...
@@ -273,10 +273,10 @@
</el-select>
<span
class=
"_lable"
>
付款账户:
</span>
<el-select
filterable
v-model=
'item.AccountId'
@
change=
"getAccInfo(2, index, item.AccountId)"
class=
"w250 _border_b_1"
>
<el-option
v-for=
'
item in
shouAccNumList'
:label=
'
i
tem.allName'
:value=
'
i
tem.ID'
:key=
'
i
tem.ID'
>
<el-option
v-for=
'
sItem in item.
shouAccNumList'
:label=
'
sI
tem.allName'
:value=
'
sI
tem.ID'
:key=
'
sI
tem.ID'
>
</el-option>
</el-select>
</div>
...
...
@@ -418,11 +418,19 @@ export default {
this
.
msg
.
TemplateId
=
data
.
TemplateId
this
.
msg
.
Status
=
data
.
Status
this
.
msg
.
IsPublic
=
0
this
.
msg
.
RB_Depart_Id
=
data
.
RB_Depar
t_Id
this
.
msg
.
RB_Depart_Id
=
this
.
getLocalStorage
().
RB_Departmen
t_Id
this
.
msg
.
RB_Branch_Id
=
data
.
RB_Branch_Id
this
.
msg
.
Description
=
data
.
Description
this
.
msg
.
IsHave
=
data
.
IsHave
this
.
msg
.
emList
=
data
.
FrID
this
.
msg
.
Description
=
''
this
.
msg
.
IsHave
=
1
this
.
msg
.
emList
=
[]
this
.
inList
.
forEach
((
x
,
index
)
=>
{
x
.
mode
=
x
.
AccountTypeId
this
.
FinancialInstitutions_post_GetAccountList
(
1
,
index
,
x
.
Type
,
x
.
mode
)
})
this
.
outList
.
forEach
((
x
,
index
)
=>
{
x
.
mode
=
x
.
AccountTypeId
this
.
FinancialInstitutions_post_GetAccountList
(
2
,
index
,
x
.
Type
,
x
.
mode
)
})
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
@@ -577,7 +585,7 @@ export default {
}
},
err
=>
{})
},
FinancialInstitutions_post_GetAccountList
:
function
(
Type
,
id
)
{
FinancialInstitutions_post_GetAccountList
:
function
(
out
,
index
,
Type
,
id
)
{
if
(
!
id
)
return
this
.
queryAccMsg
.
TypeId
=
id
this
.
queryAccMsg
.
BankType
=
Type
...
...
@@ -587,28 +595,37 @@ export default {
List
.
forEach
(
x
=>
{
x
.
allName
=
x
.
BackNo
+
"("
+
x
.
Alias
+
")"
;
});
this
.
shouAccNumList
=
List
if
(
out
===
1
)
{
this
.
inList
[
index
].
shouAccNumList
=
List
}
else
{
this
.
outList
[
index
].
shouAccNumList
=
List
}
this
.
$forceUpdate
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
getAccInfo
:
function
(
type
,
i
,
id
)
{
this
.
shouAccNumList
.
forEach
(
x
=>
{
if
(
x
.
ID
===
id
)
{
if
(
type
===
1
)
{
if
(
type
===
1
)
{
this
.
inList
[
i
].
shouAccNumList
.
forEach
(
x
=>
{
if
(
x
.
ID
===
id
)
{
this
.
inList
[
i
].
Rate
=
x
.
Rate
this
.
inList
[
i
].
AccountId
=
x
.
ID
this
.
inList
[
i
].
CurrencyId
=
x
.
CurrencyId
this
.
inList
[
i
].
CurrencyName
=
x
.
CurrencyName
}
else
{
}
})
}
else
{
this
.
outList
[
i
].
shouAccNumList
.
forEach
(
x
=>
{
if
(
x
.
ID
===
id
)
{
this
.
outList
[
i
].
Rate
=
x
.
Rate
this
.
outList
[
i
].
AccountId
=
x
.
ID
this
.
outList
[
i
].
CurrencyId
=
x
.
CurrencyId
this
.
outList
[
i
].
CurrencyName
=
x
.
CurrencyName
}
}
}
)
}
)
}
},
uploadFileBtn
:
function
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
10
)
{
...
...
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