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
ff750ecd
Commit
ff750ecd
authored
Jun 25, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e9d3b079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
17 deletions
+39
-17
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+39
-17
No files found.
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
ff750ecd
...
...
@@ -302,15 +302,18 @@
</el-select>
</td>
<td>
<el-input
v-model=
"item.OriginalMoney"
@
change=
"Calculation(1,index)"
@
blur=
"item.show=false,CalculationMoney"
:placeholder=
"$t('rule.qsrjine')"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"item.OriginalMoney"
@
change=
"Calculation(1,index)"
@
blur=
"item.show=false,CalculationMoney()"
:placeholder=
"$t('rule.qsrjine')"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
<p>
{{
item
.
CurrenName
}}
</p>
</td>
<td>
<el-input
v-model=
"item.Rate"
@
blur=
"item.show=false,CalculationMoney"
@
change=
"Calculation(1,index)"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"item.Rate"
@
blur=
"item.show=false,CalculationMoney()"
@
change=
"Calculation(1,index)"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
{{
moneyFormat
(
item
.
allMoney
)
}}
<i
@
click=
"deleteRow(item,index),CalculationMoney"
class=
"_delete_row iconfont icon-img_delete_small"
></i></td>
<td>
{{
moneyFormat
(
item
.
allMoney
)
}}
<i
@
click=
"deleteRow(item,index),CalculationMoney
()
"
class=
"_delete_row iconfont icon-img_delete_small"
></i></td>
</tr>
</
template
>
<tr>
...
...
@@ -548,13 +551,13 @@ export default {
this
.
msg
.
eTradeDate
=
this
.
$route
.
query
.
eTradeDate
?
this
.
$route
.
query
.
eTradeDate
:
""
;
this
.
productionDate
=
[
this
.
msg
.
sTradeDate
,
this
.
msg
.
eTradeDate
];
this
.
productionDateByTC
=
[
this
.
msg
.
QStartDate
,
this
.
msg
.
QEndDate
];
this
.
getList
();
this
.
getList
();
this
.
bankaccount_post_GetListS
(
"query"
);
}
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
...
...
@@ -566,7 +569,7 @@ export default {
})
this
.
bankaccount_post_GetList
();
this
.
getList
();
}
},
methods
:{
//选择付款对象出现全选框
...
...
@@ -594,9 +597,9 @@ export default {
})
}
if
(
status
){
this
.
$router
.
push
({
name
:
"CapitalAllocationDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"CapitalAllocationDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
}
else
{
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
query
:{
"id"
:
item
.
FinanceId
,
blank
:
'y'
}
})
}
},
goUrl
(
path
,
id
){
...
...
@@ -681,7 +684,7 @@ export default {
},
err
=>
{})
},
getList
(){
//获取列表
this
.
checkList
=
[];
this
.
checkList
=
[];
this
.
loadingTable
=
true
if
(
this
.
msg
.
ClientID
==
''
){
this
.
msg
.
ClientID
=
0
;
...
...
@@ -736,7 +739,7 @@ export default {
})
});
this
.
DataList
=
data
if
(
this
.
msg
.
ClientID
==
0
){
this
.
msg
.
ClientID
=
''
;
}
...
...
@@ -928,6 +931,23 @@ export default {
if
(
r
.
data
.
resultCode
===
1
)
{
this
.
addChuNa
=
false
;
this
.
saveMsg
=
[];
this
.
payMsgList
=
[]
this
.
payMsg
=
{
ID
:
0
,
FinanceId
:
''
,
Type
:
''
,
AccountId
:
''
,
OriginalMoney
:
0
,
CurrencyId
:
''
,
Rate
:
0
,
Fee
:
0
,
Name
:
''
,
CurrenName
:
''
,
Account
:
''
,
balance
:
''
,
allMoney
:
0
,
show
:
false
,
}
this
.
getList
()
}
else
{
this
.
$message
.
error
(
r
.
data
.
message
)
...
...
@@ -1025,6 +1045,7 @@ export default {
this
.
payMsg
.
allMoney
=
allBPrice
*
1
;
this
.
addMsg
.
FrIDs
=
s
;
this
.
addChuNa
=
true
;
this
.
listAllMoney
=
allBPrice
*
1
}
else
{
this
.
$message
.
error
(
this
.
$t
(
'fnc.a_qxzdanju'
))
}
...
...
@@ -1053,10 +1074,11 @@ export default {
this
.
CalculationMoney
();
},
CalculationMoney
(){
// this.listAllMoney = 0;
// this.payMsgList.forEach(x=>{
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
this
.
listAllMoney
=
0
;
this
.
payMsgList
.
forEach
(
x
=>
{
// this.listAllMoney = this.listAllMoney + x.allMoney
this
.
listAllMoney
+=
x
.
allMoney
})
},
financeinfo_post_GetCostTypeList
(){
// 费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,{
Name
:
''
,
type
:
0
,
DepartIDs
:
this
.
DepartIDs
},
res
=>
{
...
...
@@ -1086,7 +1108,7 @@ export default {
this
.
picIsShow
=
false
;
// this.hideFlashMan = true;
}
else
{
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
){
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
){
this
.
previewPDF
(
i
.
Url
)
}
else
{
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Url
)
...
...
@@ -1145,4 +1167,4 @@ export default {
this
.
getCompanyList
();
}
}
</
script
>
\ No newline at end of file
</
script
>
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