Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 76bc07ee
authored
Jan 05, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+v5.5.4' into 'develop'
上线合并 See merge request
!534
2 parents
253c79b2
8b53fee7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
73 additions
and
37 deletions
src/common/format.js
src/views/financeManage/prepaymentManage/components/ManageReceiptDialog/ManageReceiptDailog.vue
src/views/financeManage/prepaymentManage/components/PaymentDialog/PaymentDialog.vue
src/views/financeManage/prepaymentManage/components/TrafficFeeDialog/TrafficFeeDialog.vue
src/views/financeManage/prepaymentManage/components/TrafficFeeDialog/addDialog.vue
src/views/financeManage/prepaymentManage/detail.vue
src/views/financeManage/prepaymentManage/index.vue
src/views/financeManage/ysprepaymentManage/detail.vue
src/views/financeManage/ysprepaymentManage/index.vue
src/common/format.js
View file @
76bc07e
...
...
@@ -3,6 +3,14 @@ export function getCurrentSixMonth(n = 5) {
return
[
new
Date
(
new
Date
().
setMonth
(
new
Date
().
getMonth
()
-
n
)),
new
Date
()]
}
export
function
formatThousand
(
val
)
{
if
(
val
===
null
||
val
===
undefined
||
val
===
""
)
return
"-"
const
str
=
String
(
val
)
const
parts
=
str
.
split
(
"."
)
parts
[
0
]
=
parts
[
0
].
replace
(
/
\B(?=(\d{3})
+
(?!\d))
/g
,
","
)
return
parts
.
join
(
"."
)
}
// 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则
export
function
limitPrice
(
newValue
,
...
...
src/views/financeManage/prepaymentManage/components/ManageReceiptDialog/ManageReceiptDailog.vue
View file @
76bc07e
...
...
@@ -38,6 +38,8 @@ import { tradeTypeList } from "@/common/constant/vehicle"
import
dayjs
from
"dayjs"
import
addDialog
from
"./addDialog.vue"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
'ManageReceiptDailog'
,
mixins
:
[
reportTrackPageMixin
],
...
...
@@ -111,9 +113,7 @@ export default {
label
:
'金额'
,
prop
:
'tradeAmount'
,
width
:
110
,
// formatter: (cellValue) => {
// return cellValue.upgradeGoodsName || '-'
// }
formatter
:
(
row
)
=>
formatThousand
(
row
.
tradeAmount
)
},
{
label
:
'收款类型'
,
prop
:
'tradeType'
,
...
...
src/views/financeManage/prepaymentManage/components/PaymentDialog/PaymentDialog.vue
View file @
76bc07e
...
...
@@ -39,6 +39,8 @@ import { tradeTypeList } from "@/common/constant/vehicle"
import
dayjs
from
"dayjs"
import
addDialog
from
"./addDialog.vue"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
'PaymentDialog'
,
mixins
:
[
reportTrackPageMixin
],
...
...
@@ -112,9 +114,7 @@ export default {
label
:
'金额'
,
prop
:
'tradeAmount'
,
width
:
110
,
// formatter: (cellValue) => {
// return cellValue.upgradeGoodsName || '-'
// }
formatter
:
(
row
)
=>
formatThousand
(
row
.
tradeAmount
)
},
{
label
:
'付款类型'
,
prop
:
'tradeType'
,
...
...
src/views/financeManage/prepaymentManage/components/TrafficFeeDialog/TrafficFeeDialog.vue
View file @
76bc07e
...
...
@@ -39,6 +39,8 @@ import { tradeTypeList } from "@/common/constant/vehicle"
import
dayjs
from
"dayjs"
import
addDialog
from
"./addDialog.vue"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
'TrafficFeeDialog'
,
mixins
:
[
reportTrackPageMixin
],
...
...
@@ -129,25 +131,19 @@ export default {
label
:
'收款金额'
,
prop
:
'receiveAmount'
,
// width: 140,
// formatter: (cellValue) => {
// return cellValue?.thirdPartyCode || '-'
// }
formatter
:
(
row
)
=>
formatThousand
(
row
.
receiveAmount
)
},
{
label
:
'流量费'
,
prop
:
'trafficFee'
,
// width: 140,
// formatter: (cellValue) => {
// return cellValue?.thirdPartyCode || '-'
// }
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFee
)
},
{
label
:
'我司收益'
,
prop
:
'ourRevenue'
,
// width: 140,
// formatter: (cellValue) => {
// return cellValue?.thirdPartyCode || '-'
// }
formatter
:
(
row
)
=>
formatThousand
(
row
.
ourRevenue
)
},
{
label
:
'可抵收益月份'
,
...
...
src/views/financeManage/prepaymentManage/components/TrafficFeeDialog/addDialog.vue
View file @
76bc07e
...
...
@@ -98,7 +98,6 @@ export default {
}
],
deductibleMonth
:
[
{
required
:
true
,
message
:
"请选择可抵收益日期"
,
trigger
:
"change"
},
{
validator
:
(
rule
,
value
,
callback
)
=>
this
.
validateDeductibleMonth
(
rule
,
value
,
callback
),
trigger
:
"change"
}
]
},
...
...
src/views/financeManage/prepaymentManage/detail.vue
View file @
76bc07e
...
...
@@ -49,6 +49,8 @@ import { advancePaymentShopDetailPage } from "@api/prepaymentManage"
import
{
mapActions
,
mapState
}
from
"vuex"
import
dayjs
from
"dayjs"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
"usedCarPaymentManage"
,
mixins
:
[
reportTrackPageMixin
],
...
...
@@ -78,42 +80,50 @@ export default {
{
label
:
"广联付款"
,
prop
:
"payAmount"
,
minWidth
:
110
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
payAmount
)
},
{
label
:
"广联收款"
,
prop
:
"receiveAmount"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
receiveAmount
)
},
{
label
:
"应抵流量费"
,
prop
:
"trafficFee"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFee
)
},
{
label
:
"我司收益"
,
prop
:
"ourRevenue"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
ourRevenue
)
},
{
label
:
"可抵扣我司收益"
,
prop
:
"deductibleOurRevenue"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
deductibleOurRevenue
)
},
{
label
:
"应抵流量预付余额"
,
prop
:
"trafficFeeBalance"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFeeBalance
)
},
{
label
:
"可抵收益预付余额"
,
prop
:
"deductibleRevenueBalance"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
deductibleRevenueBalance
)
},
{
label
:
"日均流量费"
,
prop
:
"dayAvgTrafficFee"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
dayAvgTrafficFee
)
},
{
label
:
"备注"
,
...
...
src/views/financeManage/prepaymentManage/index.vue
View file @
76bc07e
...
...
@@ -59,6 +59,7 @@ import reportTrackPageMixin from "@/mixins/reportTrackPageMixin"
import
ManageReceiptDialog
from
'./components/ManageReceiptDialog/ManageReceiptDailog.vue'
import
TrafficFeeDialog
from
'./components/TrafficFeeDialog/TrafficFeeDialog.vue'
import
PaymentDialog
from
'./components/PaymentDialog/PaymentDialog.vue'
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
"prepaymentManage"
,
...
...
@@ -86,8 +87,8 @@ export default {
},
searchSelectObj
:
{
divisionOrPayDate
:
{
attr
:
'
date
range'
,
value
:
[
dayjs
(
),
dayjs
(
)]
attr
:
'
month
range'
,
value
:
[
dayjs
(
'2025-05'
),
dayjs
().
subtract
(
1
,
'month'
)]
}
},
showFormData
:
[
...
...
@@ -161,62 +162,69 @@ export default {
label
:
"期初余额"
,
prop
:
"startBalance"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
startBalance
)
},
{
label
:
"本期收款(嘀加收款)"
,
children
:
[
{
label
:
'银盛收款'
,
prop
:
'yseReceiveAmount'
,
minWidth
:
'110px'
},
{
label
:
'银盛收款'
,
prop
:
'yseReceiveAmount'
,
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
yseReceiveAmount
)
},
{
label
:
'银行转账(对公)'
,
prop
:
'bankTransferReceiveAmount'
,
minWidth
:
'120px'
,
// formatter: row => row.listShowSpecificationData || '-'
formatter
:
(
row
)
=>
formatThousand
(
row
.
bankTransferReceiveAmount
)
}
]
},
{
label
:
"本期付款"
,
children
:
[
{
label
:
'银行承兑'
,
prop
:
'bankAcceptancePayAmount'
,
minWidth
:
'100px'
},
{
label
:
'银行承兑'
,
prop
:
'bankAcceptancePayAmount'
,
minWidth
:
'100px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
bankAcceptancePayAmount
)
},
{
label
:
'银行转账'
,
prop
:
'bankTransferPayAmount'
,
minWidth
:
'100px'
minWidth
:
'100px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
bankTransferPayAmount
)
}
]
},
{
label
:
"
资金占用
"
,
label
:
"
期末余额
"
,
prop
:
"endBalance"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
endBalance
)
},
{
label
:
"预付期初余额"
,
children
:
[
{
label
:
'应抵预付余额'
,
prop
:
'startShouldDeductPrepaidBalance'
,
minWidth
:
'110px'
},
{
label
:
'应抵预付余额'
,
prop
:
'startShouldDeductPrepaidBalance'
,
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
startShouldDeductPrepaidBalance
)
},
{
label
:
'可抵预付余额'
,
prop
:
'startCanDeductPrepaidBalance'
,
minWidth
:
'110px'
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
startCanDeductPrepaidBalance
)
}
]
},
{
label
:
"累计应抵流量费"
,
prop
:
"trafficFee"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFee
)
},
{
label
:
"累计可抵收益"
,
prop
:
"deductibleOurRevenue"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
deductibleOurRevenue
)
},
{
label
:
"预付期末余额"
,
children
:
[
{
label
:
'应
付预付余额'
,
prop
:
'endShouldDeductPrepaidBalance'
,
minWidth
:
'110px'
},
{
label
:
'应
抵预付余额'
,
prop
:
'endShouldDeductPrepaidBalance'
,
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
endShouldDeductPrepaidBalance
)
},
{
label
:
'可抵预付余额'
,
prop
:
'endCanDeductPrepaidBalance'
,
minWidth
:
'110px'
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
endCanDeductPrepaidBalance
)
}
]
}
...
...
@@ -247,7 +255,7 @@ export default {
// dayjs().format("YYYY-MM-DD"),
// dayjs().format("YYYY-MM-DD")
// ]
this
.
searchSelectObj
.
divisionOrPayDate
.
value
=
[
dayjs
(
),
dayjs
(
)]
this
.
searchSelectObj
.
divisionOrPayDate
.
value
=
[
dayjs
(
'2025-05'
),
dayjs
().
subtract
(
1
,
'month'
)]
},
mounted
()
{
...
...
src/views/financeManage/ysprepaymentManage/detail.vue
View file @
76bc07e
...
...
@@ -44,11 +44,10 @@
</template>
<
script
>
import
{
deepClone
}
from
"@/common/util"
import
{
advancePaymentShopDetailPage
}
from
"@api/prepaymentManage"
import
{
mapActions
,
mapState
}
from
"vuex"
import
dayjs
from
"dayjs"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
export
default
{
name
:
"usedCarPaymentManage"
,
mixins
:
[
reportTrackPageMixin
],
...
...
@@ -78,42 +77,50 @@ export default {
{
label
:
"广联付款"
,
prop
:
"payAmount"
,
minWidth
:
110
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
payAmount
)
},
{
label
:
"广联收款"
,
prop
:
"receiveAmount"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
receiveAmount
)
},
{
label
:
"应抵流量费"
,
prop
:
"trafficFee"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFee
)
},
{
label
:
"我司收益"
,
prop
:
"ourRevenue"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
ourRevenue
)
},
{
label
:
"可抵扣我司收益"
,
prop
:
"deductibleOurRevenue"
,
minWidth
:
110
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
deductibleOurRevenue
)
},
{
label
:
"应抵流量预付余额"
,
prop
:
"trafficFeeBalance"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
trafficFeeBalance
)
},
{
label
:
"可抵收益预付余额"
,
prop
:
"deductibleRevenueBalance"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
deductibleRevenueBalance
)
},
{
label
:
"日均流量费"
,
prop
:
"dayAvgTrafficFee"
,
minWidth
:
90
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
dayAvgTrafficFee
)
},
{
label
:
"备注"
,
...
...
src/views/financeManage/ysprepaymentManage/index.vue
View file @
76bc07e
...
...
@@ -39,6 +39,7 @@ import { onlinestatementAccountPage } from "@api/prepaymentManage"
import
{
mapActions
,
mapState
}
from
"vuex"
import
dayjs
from
"dayjs"
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
import
{
formatThousand
}
from
"@/common/format"
// import ManageReceiptDialog from './components/ManageReceiptDialog/ManageReceiptDailog.vue'
// import TrafficFeeDialog from './components/TrafficFeeDialog/TrafficFeeDialog.vue'
// import PaymentDialog from './components/PaymentDialog/PaymentDialog.vue'
...
...
@@ -122,25 +123,29 @@ export default {
label
:
"期初余额"
,
prop
:
"dayStartBalance"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
dayStartBalance
)
},
{
label
:
"收款"
,
prop
:
"receiveAmount"
,
minWidth
:
'90px'
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
receiveAmount
)
},
{
label
:
"分账"
,
children
:
[
{
label
:
'门店'
,
prop
:
'shopDivisionMoney'
,
minWidth
:
'110px'
},
{
label
:
'门店'
,
prop
:
'shopDivisionMoney'
,
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
shopDivisionMoney
)
},
{
label
:
'服务商'
,
prop
:
'fwsDivisionMoney'
,
minWidth
:
'110px'
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
fwsDivisionMoney
)
},
{
label
:
'我司'
,
prop
:
'glDivisionMoney'
,
minWidth
:
'110px'
minWidth
:
'110px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
glDivisionMoney
)
},
]
},
...
...
@@ -149,16 +154,19 @@ export default {
label
:
"手续费"
,
prop
:
"serviceCharge"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
serviceCharge
)
},
{
label
:
"期末余额"
,
prop
:
"dayEndBalance"
,
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
dayEndBalance
)
},
{
label
:
"待补录订单"
,
prop
:
"waitInputMoney"
,
minWidth
:
'90px'
minWidth
:
'90px'
,
formatter
:
(
row
)
=>
formatThousand
(
row
.
waitInputMoney
)
}
]
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment