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
0a27e6ac
Commit
0a27e6ac
authored
Jun 12, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成本月结查询
parent
bda18f31
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1321 additions
and
2 deletions
+1321
-2
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+5
-1
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+8
-1
index.vue
...components/FinancialModule/MonthlyCostStatement/index.vue
+1164
-0
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+5
-0
CostmonthDetails.vue
...omponents/FinancialModule/components/CostmonthDetails.vue
+131
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
0a27e6ac
...
...
@@ -649,6 +649,9 @@
<div
class=
"_tit _tit2 w890px"
>
<!-- 预付款冲抵 电商商品 -->
<czBillModule
:FrID=
'ID'
/>
<!-- 关联单号 -->
<CostmonthDetails
v-if=
"GetDetail.OtherType==75||GetDetail.CostMonthTemplate"
:GetDetail=
"GetDetail"
>
</CostmonthDetails>
<myGuanBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel"
/>
<myJiPiaoBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel"
/>
<huijiBill
:ID=
"ID"
:disabled=
"true"
:loopNumN=
"1"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0"
/>
...
...
@@ -1527,6 +1530,7 @@ import myJiPiaoBill from "./FinancialSubmodule/JiPiaoBillModule.vue";
import
huijiBill
from
"./FinancialSubmodule/huijiBill.vue"
;
import
czBillModule
from
"./FinancialSubmodule/czBillModule.vue"
;
// import MsgBus from '../../assets/utils/msgBus.js';
import
CostmonthDetails
from
'./components/CostmonthDetails'
;
export
default
{
data
(){
return
{
...
...
@@ -1708,7 +1712,7 @@ export default {
'myJiPiaoBill'
:
myJiPiaoBill
,
'huijiBill'
:
huijiBill
,
'czBillModule'
:
czBillModule
,
CostmonthDetails
},
methods
:{
goSigningCustomer
(
id
,
name
)
{
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
0a27e6ac
...
...
@@ -1096,6 +1096,9 @@
<div
class=
"_tit _tit2 w890px"
>
<!-- 预付款冲抵 电商商品-->
<czBillModule
:FrID=
'ID'
/>
<!-- 关联单号 -->
<CostmonthDetails
v-if=
"GetDetail.OtherType==75||GetDetail.CostMonthTemplate"
:GetDetail=
"GetDetail"
>
</CostmonthDetails>
<myGuanBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel"
/>
<myJiPiaoBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
...
...
@@ -1137,6 +1140,8 @@
</div>
</div>
<div
class=
"w890px"
>
<SaleOrderModule
v-if=
"OrderSource==10&&SourceID&&OrderID"
:SourceID=
'SourceID'
:OrderID=
'OrderID'
/>
<TicketFinace
v-if=
"OrderSource==4&&SourceID&&Callback&&ID"
:SourceID=
'SourceID'
:Callback=
'Callback'
...
...
@@ -1436,6 +1441,7 @@
import
czBillModule
from
"./FinancialSubmodule/czBillModule.vue"
;
import
dmcTravelBill
from
'./FinancialSubmodule/DmcTravelBillModule'
;
//线路
import
CostmonthDetails
from
'./components/CostmonthDetails'
;
export
default
{
data
()
{
return
{
...
...
@@ -1536,7 +1542,8 @@
'huijiBill'
:
huijiBill
,
"czBillModule"
:
czBillModule
,
"dmcTravelBill"
:
dmcTravelBill
"dmcTravelBill"
:
dmcTravelBill
,
CostmonthDetails
},
created
()
{
// // crm自动登陆传过来的参数
...
...
src/components/FinancialModule/MonthlyCostStatement/index.vue
0 → 100644
View file @
0a27e6ac
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
0a27e6ac
...
...
@@ -1424,9 +1424,14 @@
this
.
msg
.
OtherType
=
this
.
orderObj
.
OtherType
?
this
.
orderObj
.
OtherType
:
0
;
this
.
msg
.
ReFinanceId
=
this
.
orderObj
.
ReFinanceId
?
this
.
orderObj
.
ReFinanceId
:
0
;
this
.
msg
.
ReFinanceId2
=
this
.
orderObj
.
ReFinanceId2
?
this
.
orderObj
.
ReFinanceId2
:
0
;
this
.
msg
.
ReFinanceIds
=
this
.
orderObj
.
ReFinanceIds
?
this
.
orderObj
.
ReFinanceIds
:
''
;
this
.
msg
.
ECOrderList
=
this
.
orderObj
.
ECOrderList
?
this
.
orderObj
.
ECOrderList
:
[];
this
.
msg
.
EduCommissionEmp
=
this
.
orderObj
.
EduCommissionEmp
?
this
.
orderObj
.
EduCommissionEmp
:
null
}
if
(
this
.
orderObj
.
OtherType
==
75
&&
this
.
orderObj
.
ReFinances
==
''
){
this
.
Error
(
`成本月结数据不能为空!`
)
return
}
// 台湾提成汇率
if
(
this
.
orderObj
&&
this
.
orderObj
.
Rate
&&
this
.
orderObj
.
Money
)
{
let
yballPrice
=
0
...
...
src/components/FinancialModule/components/CostmonthDetails.vue
0 → 100644
View file @
0a27e6ac
<
style
>
@import
url('../../../assets/css/domestic/TicketingModule.css')
;
.sanjiao-box
{
position
:
relative
;
}
.sanjiao-box
.Receipt_table
td
{
padding
:
0
10px
;
}
.hover_text
span
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
.czBillModule
td
{
text-align
:
center
!important
;
padding
:
6px
0
!important
;
}
</
style
>
<
template
>
<div
class=
"m_TicketingModule"
v-if=
"DataList&&DataList.length>0"
>
<div>
<div
class=
"_tit"
>
<span
class=
"_text"
>
关联单号
</span>
<div>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false"
>
收起
<i
class=
"iconfont icon-gengduo _rotate"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true"
>
展开
<i
class=
"iconfont icon-gengduo"
></i>
</span>
</div>
</div>
<div
v-show=
"tableShow"
class=
"sanjiao-box _padding_20_15"
>
<table
border=
"1"
class=
"czBillModule _border_color_b Receipt_table"
bordercolor=
"#c94052"
style=
"border-collapse:collapse;width: 100%;"
v-loading=
'loading'
>
<tr>
<th>
单号
</th>
<th>
公司
</th>
<th>
费用类型
</th>
<th>
币种
</th>
<th>
原币金额
</th>
<th>
汇率
</th>
<th>
状态
</th>
<th>
金额
</th>
</tr>
<tr
class=
"_color_b"
v-for=
"(item,index) in DataList"
:key=
"index"
>
<td
class=
"hover_text"
@
click=
"goDetail(item.FrID)"
><span>
{{
item
.
FrID
}}
</span></td>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
CostTypeName
}}
</td>
<td>
{{
item
.
CurrencyName
}}
</td>
<td>
{{
item
.
WBMoney
}}
</td>
<td>
{{
item
.
Rate
}}
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
{{
item
.
Money
}}
</td>
</tr>
<tr
class=
"_color_b"
>
<td
colspan=
"4"
>
原币合计
</td>
<td>
{{
ybtotal
}}
</td>
<td
colspan=
"2"
>
合计
</td>
<td>
{{
cdtotal
}}
</td>
</tr>
</table>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:[
"GetDetail"
],
data
(){
return
{
cdtotal
:
0
,
ybtotal
:
0
,
tableShow
:
true
,
DataList
:
[],
msg
:{
pageIndex
:
1
,
pageSize
:
10000
,
ReFinanceId
:
''
,
//354848
OtherType
:
''
,
TemplateId
:
0
,
//164
}
}
},
watch
:{
},
created
(){
},
mounted
(){
this
.
msg
.
ReFinanceId
=
this
.
GetDetail
.
FrID
if
(
this
.
GetDetail
.
OtherType
==
75
){
this
.
msg
.
OtherType
=
this
.
GetDetail
.
OtherType
this
.
msg
.
TemplateId
=
0
}
else
if
(
this
.
GetDetail
.
CostMonthTemplate
){
this
.
msg
.
OtherType
=
0
this
.
msg
.
TemplateId
=
this
.
GetDetail
.
TemplateId
}
this
.
Financial_post_GetDetail
();
},
methods
:{
goDetail
(
id
){
this
.
$router
.
push
({
name
:
'FinancialDocumentsDetail'
,
query
:{
"id"
:
id
,
blank
:
'y'
,
tab
:
'单据详情'
}
})
},
Financial_post_GetDetail
(){
//获取关联单
if
(
this
.
msg
.
ReFinanceId
){
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetCostMonthFinancePageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
let
ybtotal
=
0
let
cdtotal
=
0
data
.
forEach
(
item
=>
{
cdtotal
+=
(
item
.
Money
*
100
);
ybtotal
+=
(
item
.
WBMoney
*
100
)
});
this
.
cdtotal
=
cdtotal
/
100
this
.
ybtotal
=
ybtotal
/
100
this
.
DataList
=
data
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
this
.
loading
=
false
;
},
err
=>
{})
}
},
}
}
</
script
>
src/router/config.js
View file @
0a27e6ac
...
...
@@ -3981,6 +3981,14 @@ export default {
title
:
'手配收入查询'
},
},
{
//财务 财务单据 手配收入查询
path
:
'/MonthlyCostStatementInquire'
,
name
:
'MonthlyCostStatementInquire'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/MonthlyCostStatement/index'
],
resolve
),
meta
:
{
title
:
'成本月结查询'
},
},
{
//财务 财务单据 费用单据
path
:
'/Costdocuments'
,
name
:
'Costdocuments'
,
...
...
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