Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
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 408859f6
authored
Aug 21, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.8.5' of
http://192.168.3.233:8090/usedCarAuction/aus
into v5.8.5
2 parents
edd57ea6
1b14ae35
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
88 additions
and
77 deletions
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionOrderController.java
aus-api/src/main/java/com/glsx/usedcar/web/api/auction/AuctionOrderController.java
aus-front/admin/src/views/auction/order/UploadTransferringOrder.vue
aus-front/admin/src/views/business/platformContract/platFormContractPage.vue
aus-front/app/src/module/account/CertificationResult.vue
aus-front/app/src/module/account/PersonCertificationPage.vue
aus-front/app/src/module/auction/BidSuccessDialog.vue
aus-front/app/src/module/order/detail/OrderPaymentInfoPanel.vue
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionOrderController.java
View file @
408859f
...
...
@@ -219,8 +219,8 @@ public class AuctionOrderController {
// 转换URL为FileInfo
List
<
FileInfo
>
payVouchers
=
null
;
if
(
vo
.
getPayVouchers
()
!=
null
&&
!
vo
.
getPayVouchers
().
isEmpty
()
)
{
payVouchers
=
convertUrlsToFileInfos
(
vo
.
getPayVouchers
());
if
(
vo
.
getPayVouchers
()
!=
null
)
{
payVouchers
=
vo
.
getPayVouchers
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getPayVouchers
());
}
// 创建或更新OrderTransaction记录(与小程序端逻辑一致)
...
...
@@ -280,18 +280,10 @@ public class AuctionOrderController {
if
(
vo
.
getNewPlateNumber
()
!=
null
)
{
order
.
setNewPlateNumber
(
vo
.
getNewPlateNumber
());
}
if
(
vo
.
getRegistrationCertificate
()
!=
null
&&
!
vo
.
getRegistrationCertificate
().
isEmpty
())
{
order
.
setRegistrationCertificate
(
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
}
if
(
vo
.
getVehicleLicense
()
!=
null
&&
!
vo
.
getVehicleLicense
().
isEmpty
())
{
order
.
setVehicleLicense
(
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
if
(
vo
.
getTransferInvoice
()
!=
null
&&
!
vo
.
getTransferInvoice
().
isEmpty
())
{
order
.
setTransferInvoice
(
completeFileInfos
(
vo
.
getTransferInvoice
()));
}
if
(
vo
.
getNewOwnerIdCard
()
!=
null
&&
!
vo
.
getNewOwnerIdCard
().
isEmpty
())
{
order
.
setNewOwnerIdCard
(
convertUrlsToFileInfos
(
vo
.
getNewOwnerIdCard
()));
}
order
.
setRegistrationCertificate
(
vo
.
getRegistrationCertificate
()
==
null
||
vo
.
getRegistrationCertificate
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setVehicleLicense
(
vo
.
getVehicleLicense
()
==
null
||
vo
.
getVehicleLicense
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
order
.
setTransferInvoice
(
vo
.
getTransferInvoice
()
==
null
||
vo
.
getTransferInvoice
().
isEmpty
()
?
null
:
completeFileInfos
(
vo
.
getTransferInvoice
()));
order
.
setNewOwnerIdCard
(
vo
.
getNewOwnerIdCard
()
==
null
||
vo
.
getNewOwnerIdCard
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getNewOwnerIdCard
()));
auctionOrderService
.
updateAuctionOrder
(
order
);
...
...
@@ -324,12 +316,8 @@ public class AuctionOrderController {
}
// 更新车务资料
if
(
vo
.
getRegistrationCertificate
()
!=
null
&&
!
vo
.
getRegistrationCertificate
().
isEmpty
())
{
order
.
setRegistrationCertificate
(
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
}
if
(
vo
.
getVehicleLicense
()
!=
null
&&
!
vo
.
getVehicleLicense
().
isEmpty
())
{
order
.
setVehicleLicense
(
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
order
.
setRegistrationCertificate
(
vo
.
getRegistrationCertificate
()
==
null
||
vo
.
getRegistrationCertificate
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setVehicleLicense
(
vo
.
getVehicleLicense
()
==
null
||
vo
.
getVehicleLicense
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
auctionOrderService
.
updateAuctionOrder
(
order
);
log
.
info
(
"更新车务资料成功, orderId: {}"
,
vo
.
getOrderId
());
...
...
aus-api/src/main/java/com/glsx/usedcar/web/api/auction/AuctionOrderController.java
View file @
408859f
...
...
@@ -265,7 +265,7 @@ public class AuctionOrderController {
*/
@GetMapping
(
"getAuctionOrderByVehicleId"
)
public
int
getAuctionOrderByVehicleId
(
@RequestParam
int
vehicleId
,
@RequestAttribute
(
LOGIN_ACCOUNT
)
Account
account
)
{
AuctionOrder
auctionOrder
=
auctionOrderService
.
getAuctionOrderByVehicleId
(
vehicleId
,
account
.
getAccountId
(),
AuctionOrder
.
OrderState
.
CONTRACT_UNSIGNE
D
);
AuctionOrder
auctionOrder
=
auctionOrderService
.
getAuctionOrderByVehicleId
(
vehicleId
,
account
.
getAccountId
(),
AuctionOrder
.
OrderState
.
UNPAI
D
);
if
(
Objects
.
nonNull
(
auctionOrder
))
{
return
auctionOrder
.
getOrderId
();
}
else
{
...
...
aus-front/admin/src/views/auction/order/UploadTransferringOrder.vue
View file @
408859f
...
...
@@ -122,7 +122,7 @@ export default class UploadTransferringOrder extends Vue {
}
// 验证机动车行驶证(必须上传主页和副页)
if
(
!
this
.
formState
.
vehicleLicense
)
{
if
(
!
this
.
formState
.
vehicleLicense
||
this
.
formState
.
vehicleLicense
.
length
<
1
)
{
message
.
warning
(
'请至少上传一张机动车行驶证'
);
return
;
}
...
...
aus-front/admin/src/views/business/platformContract/platFormContractPage.vue
View file @
408859f
...
...
@@ -95,38 +95,18 @@ export default class MasterContractPage extends PaginationComponent<Contract> {
];
this
.
init
(
this
.
axios
,
ContractController
.
PLATFORM_PAGE_CONTRACT
);
this
.
buildQueryForm
({
contractCode
:
[
null
,
{
label
:
'合同编号'
,
field
:
'contractCode'
,
operator
:
Operator
.
like
,
maxLength
:
32
}],
contractName
:
[
null
,
{
label
:
'合同名称'
,
field
:
'contractName'
,
operator
:
Operator
.
like
,
maxLength
:
50
}],
contractCode
:
[
null
,
{
label
:
'合同编号'
,
field
:
'contractCode'
,
operator
:
Operator
.
like
}],
contractName
:
[
null
,
{
label
:
'合同名称'
,
field
:
'contractName'
,
operator
:
Operator
.
like
}],
contractStatus
:
[
null
,
{
label
:
'签署状态'
,
field
:
'contractStatus'
,
type
:
'select'
,
optionItems
:
signedOptions
,
allowClear
:
true
,
operator
:
Operator
.
eq
}],
signerName
:
[
null
,
{
label
:
'签署乙方姓名'
,
field
:
'signerName'
,
operator
:
Operator
.
like
,
maxLength
:
20
}],
signerName
:
[
null
,
{
label
:
'签署乙方姓名'
,
field
:
'signerName'
,
operator
:
Operator
.
like
}],
createTime
:
[
null
,
{
label
:
'创建时间'
,
field
:
'createTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
signTime
:
[
null
,
{
label
:
'签署时间'
,
field
:
'signTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
,
disabled
:
true
}],
signTime
:
[
null
,
{
label
:
'签署时间'
,
field
:
'signTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
});
this
.
pagination
.
setDefaultSort
(
'createTime'
,
Order
.
desc
);
this
.
pageLoad
();
}
/**
* 监听签署状态变化,控制签署时间字段的禁用状态
*/
@
Watch
(
'pagination.queryForm.contractStatus'
)
onSignedChange
(
newVal
:
boolean
,
oldVal
:
boolean
):
void
{
// 获取签署时间字段的配置
const
signTimeField
=
this
.
pagination
.
filterFields
.
find
(
field
=>
field
.
fieldName
===
'signTime'
);
if
(
signTimeField
)
{
// 当签署状态不为"已签署"时,禁用签署时间字段并清空值
signTimeField
.
disabled
=
newVal
!==
true
;
if
(
newVal
!==
true
&&
this
.
pagination
.
queryForm
.
signTime
)
{
this
.
pagination
.
queryForm
.
signTime
=
null
;
}
}
}
i18n
(
text
:
string
):
string
{
return
this
.
$t
(
text
);
}
/**
* 复制合同编号
*/
copyContractCode
(
contractCode
:
string
):
void
{
...
...
aus-front/app/src/module/account/CertificationResult.vue
View file @
408859f
...
...
@@ -87,23 +87,22 @@
<view
class=
"section-desc"
>
请上传本人的身份证照片,证件信息仅用于身份认证
</view>
<view
class=
"upload-section"
>
<view
class=
"upload-item"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'front')"
mode=
"grid"
:auto-upload=
"true"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'front')"
@
delete=
"deleteFile('front')"
mode=
"grid"
:auto-upload=
"true"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<view
class=
"upload-placeholder"
>
<image
v-if=
"formData.idCardPortrait?.url || account?.idCardPortraitUrl"
:src=
"formData.idCardPortrait?.url || account?.idCardPortraitUrl"
mode=
"aspectFill"
style=
"width: 100%; height: 150px;"
></image>
<image
v-else
src=
"~@/static/images/account/certifition/idcard_0@2x.png"
style=
"width: 100%; height: 150px;"
></image>
<image
src=
"~@/static/images/account/certifition/idcard_0@2x.png"
style=
"width: 100%; height: 150px;"
></image>
<text
class=
"upload-text"
>
上传人像面
</text>
</view>
</uni-file-picker>
</view>
<view
class=
"upload-item"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'back')"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<view
class=
"upload-placeholder"
>
<image
v-if=
"formData.idCardNationalEmblem?.url || account?.idCardNationalEmblemUrl"
:src=
"formData.idCardNationalEmblem?.url || account?.idCardNationalEmblemUrl"
mode=
"aspectFill"
style=
"width: 100%; height: 150px;"
></image>
<image
v-else
src=
"~@/static/images/account/certifition/idcard_1@2x.png"
style=
"width: 100%; height: 150px;"
></image>
<text
class=
"upload-text"
>
上传国徽面
</text>
</view>
</uni-file-picker>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'back')"
@
delete=
"deleteFile('back')"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<view
class=
"upload-placeholder"
>
<image
class=
"add-img"
src=
"~@/static/images/account/certifition/idcard_1@2x.png"
style=
"width: 100%; height: 150px;"
></image>
<text
class=
"upload-text"
>
上传国徽面
</text>
</view>
</uni-file-picker>
</view>
</view>
</view>
...
...
@@ -128,7 +127,7 @@
<view
class=
"status-center compact"
>
<image
:src=
"imageUrl"
class=
"state-image big-image"
></image>
<text
class=
"status-title blue-text"
>
已通过认证,您可随时参拍
</text>
<text
class=
"status-desc"
>
平台合同已签署完成,签署时间:
2026-07-22 14:08
</text>
<text
class=
"status-desc"
>
平台合同已签署完成,签署时间:
{{
account
?.
platformContractSignTime
}}
</text>
</view>
<view
class=
"contract-section"
>
...
...
@@ -193,7 +192,6 @@ export default class CertificationResult extends Vue {
this
.
loadAgreement
();
});
onShow
(()
=>
{
this
.
loadAccount
();
});
}
...
...
@@ -295,6 +293,14 @@ export default class CertificationResult extends Vue {
}
}
deleteFile
(
e
)
{
if
(
e
==
'front'
)
{
this
.
formData
.
idCardPortrait
=
null
}
else
{
this
.
formData
.
idCardNationalEmblem
=
null
}
}
uploadFiles
(
tempFile
:
any
):
Promise
<
FileInfo
>
{
const
authService
:
AuthService
=
this
.
$auth
;
const
action
=
'upload/uploadImage?directory=account/certification'
;
...
...
@@ -323,15 +329,15 @@ export default class CertificationResult extends Vue {
submitForm
()
{
if
(
this
.
account
?.
accountType
==
"COMMON"
)
{
if
(
!
this
.
formData
.
idCardPortrait
||
!
this
.
formData
.
idCardPortrait
.
url
)
{
uni
.
showToast
({
title
:
'请上传身份证人像面'
,
icon
:
'none'
});
return
;
}
if
(
!
this
.
formData
.
idCardNationalEmblem
||
!
this
.
formData
.
idCardNationalEmblem
.
url
)
{
uni
.
showToast
({
title
:
'请上传身份证国徽面'
,
icon
:
'none'
});
return
;
}
this
.
$refs
.
form
.
validate
().
then
(()
=>
{
if
(
!
this
.
formData
.
idCardPortrait
)
{
uni
.
showToast
({
title
:
'请上传身份证人像面'
,
icon
:
'none'
});
return
;
}
if
(
!
this
.
formData
.
idCardNationalEmblem
)
{
uni
.
showToast
({
title
:
'请上传身份证国徽面'
,
icon
:
'none'
});
return
;
}
uni
.
showLoading
({
title
:
'提交中...'
,
mask
:
true
});
AccountController
.
certifyAccount
(
this
.
axios
,
this
.
formData
).
then
(()
=>
{
uni
.
showToast
({
title
:
'提交成功'
,
icon
:
'success'
});
...
...
aus-front/app/src/module/account/PersonCertificationPage.vue
View file @
408859f
...
...
@@ -34,7 +34,7 @@
<view
class=
"upload-section"
>
<view
class=
"upload-item"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'front')"
mode=
"grid"
:auto-upload=
"true"
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'front')"
@
delete=
"deleteFile('front')"
mode=
"grid"
:auto-upload=
"true"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<view
class=
"upload-placeholder"
>
<image
src=
"~@/static/images/account/certifition/idcard_0@2x.png"
style=
"width: 100%; height: 150px;"
></image>
...
...
@@ -43,7 +43,7 @@
</uni-file-picker>
</view>
<view
class=
"upload-item"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'back')"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<uni-file-picker
fileMediatype=
"image"
:image-styles=
"imageStyles"
@
select=
"selectFile($event,'back')"
@
delete=
"deleteFile('back')"
:limit=
"1"
file-extname=
"png,jpg,jpeg"
>
<view
class=
"upload-placeholder"
>
<image
class=
"add-img"
src=
"~@/static/images/account/certifition/idcard_1@2x.png"
style=
"width: 100%; height: 150px;"
></image>
<text
class=
"upload-text"
>
上传国徽面
</text>
...
...
@@ -179,6 +179,14 @@ export default class PersonCertificationPage extends Vue {
}
}
deleteFile
(
e
)
{
if
(
e
==
'front'
)
{
this
.
formData
.
idCardPortrait
=
null
}
else
{
this
.
formData
.
idCardNationalEmblem
=
null
}
}
uploadFiles
(
tempFile
:
any
):
Promise
<
FileInfo
>
{
this
.
onload
=
true
;
const
authService
:
AuthService
=
this
.
$auth
;
...
...
aus-front/app/src/module/auction/BidSuccessDialog.vue
View file @
408859f
...
...
@@ -152,7 +152,7 @@ export default class BidSuccessDialog extends Vue {
.dialog-content
{
position
:
relative
;
text-align
:
center
;
text
{
font-size
:
13px
;
font-weight
:
400
;
...
...
aus-front/app/src/module/order/detail/OrderPaymentInfoPanel.vue
View file @
408859f
...
...
@@ -101,6 +101,9 @@
<order-coupon-verify-popup
ref=
"couponVerifyPopup"
:illu-src=
"couponVerifyDialogIlluSrc"
:loading=
"couponVerifyLoading"
@
dismiss=
"onCouponVerifyDismiss"
@
confirm=
"onCouponVerifyConfirm"
@
change=
"onCouponVerifyDialogChange"
></order-coupon-verify-popup>
<van-dialog
use-slot
:show=
"showCertifyDialog"
:show-cancel-button=
"false"
:show-confirm-button=
"false"
>
<certification-dialog
@
close=
"onCertifyDialogClosed"
></certification-dialog>
</van-dialog>
</view>
</template>
...
...
@@ -115,6 +118,7 @@ import { BankAccount } from "lib/src/entity/finance/entity/BankAccount";
import
{
TransactionController
}
from
"@/api/TransactionController"
;
import
{
OrderTransaction
}
from
"lib/src/entity/finance/entity/OrderTransaction"
;
import
type
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
import
{
AccountController
}
from
"@/api/AccountController"
;
import
{
CouponController
,
parseCouponVerifyResponse
,
...
...
@@ -135,7 +139,7 @@ import { AuthService } from "@/common/AuthService";
import
{
getUploadErrorMessage
,
uploadFiles
}
from
"@/common/UploadHelper"
;
import
OrderCouponSheetPopup
from
"@/module/order/detail/OrderCouponSheetPopup.vue"
;
import
OrderCouponVerifyPopup
from
"@/module/order/detail/OrderCouponVerifyPopup.vue"
;
import
CertificationDialog
from
"@/pages/tabbar/home/CertificationDialog.vue"
;
const
COUPON_SELECT_NONE
=
"__none__"
;
const
VOUCHER_LIMIT
=
5
;
type
OrderWithPendingPaymentAudit
=
AuctionOrder
&
{
...
...
@@ -146,7 +150,7 @@ type OrderWithPendingPaymentAudit = AuctionOrder & {
};
@
Component
({
components
:
{
OrderCouponSheetPopup
,
OrderCouponVerifyPopup
},
components
:
{
OrderCouponSheetPopup
,
OrderCouponVerifyPopup
,
CertificationDialog
},
})
export
default
class
OrderPaymentInfoPanel
extends
Vue
{
@
Prop
({
type
:
Object
,
required
:
true
})
...
...
@@ -225,6 +229,10 @@ export default class OrderPaymentInfoPanel extends Vue {
return
this
.
isPaymentAuditRejected
?
"background: #EE3140; border-color: #EE3140;"
:
""
;
}
/** 认证弹窗延迟定时器(避免重复 onShow 叠加多个定时器) */
certifyDelayTimer
:
ReturnType
<
typeof
setTimeout
>
|
null
=
null
;
showCertifyDialog
=
false
;
syncOrderVouchers
():
void
{
if
(
this
.
order
?.
orderState
!==
"UNPAID"
)
return
;
const
pendingVouchers
=
(
this
.
order
as
OrderWithPendingPaymentAudit
)?.
pendingPaymentAudit
?.
payVouchers
;
...
...
@@ -646,17 +654,38 @@ export default class OrderPaymentInfoPanel extends Vue {
});
}
uploadVoucher
():
void
{
async
uploadVoucher
():
void
{
if
(
this
.
voucherSubmitting
)
return
;
if
(
this
.
paymentVouchers
.
length
===
0
)
{
uni
.
showToast
({
title
:
"请上传支付凭证"
,
icon
:
"none"
});
return
;
}
if
(
this
.
shouldVerifyCouponBeforeSubmit
())
{
this
.
confirmVerifyCouponBeforeSubmit
();
return
;
try
{
const
res
=
await
AccountController
.
getAccountInfo
(
this
.
axios
)
const
accountInfo
=
res
.
data
if
(
!
accountInfo
.
platformContractSigned
)
{
if
(
this
.
certifyDelayTimer
!=
null
)
{
clearTimeout
(
this
.
certifyDelayTimer
)
this
.
certifyDelayTimer
=
null
}
this
.
certifyDelayTimer
=
setTimeout
(()
=>
{
this
.
certifyDelayTimer
=
null
this
.
showCertifyDialog
=
true
},
500
)
return
}
if
(
this
.
shouldVerifyCouponBeforeSubmit
())
{
this
.
confirmVerifyCouponBeforeSubmit
()
return
}
this
.
submitVoucher
()
}
catch
(
error
)
{
console
.
error
(
"获取账号信息失败:"
,
error
);
}
this
.
submitVoucher
();
}
onCertifyDialogClosed
():
void
{
this
.
showCertifyDialog
=
false
;
}
shouldVerifyCouponBeforeSubmit
():
boolean
{
...
...
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