Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
c7e18892
Commit
c7e18892
authored
Mar 09, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复签约信息组合时间bug
parent
37e28dde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
29 deletions
+22
-29
src/views/sign/appointment/appointmentEdit.vue
+8
-2
src/views/sign/appointment/components/appointmentInfo.vue
+14
-27
No files found.
src/views/sign/appointment/appointmentEdit.vue
View file @
c7e18892
...
...
@@ -321,7 +321,7 @@
:policyMailing=
"policyDetailInfo.policyMailing"
/>
</div>
<div
v-if=
"tab.name === 'newpolicyTodo'"
>
新单事项
</div>
<div
v-if=
"tab.name === 'verifyPolicyInfo'"
>
<VerifyPolicyInfo
:activeName=
"activeName"
...
...
@@ -752,7 +752,6 @@ function getCustomerInfo(customerBizId) {
}
// 获取各个流程所需要得字典数据
const
getDictsData
=
async
()
=>
{
if
(
route
.
query
.
source
==
'policyList'
)
{
const
params4
=
{
pageNo
:
1
,
...
...
@@ -947,6 +946,13 @@ const handleSubmit = async type => {
submitAppointmentObj
.
value
.
apiAppointmentInfoDto
=
result
if
(
!
submitAppointmentObj
.
value
.
apiAppointmentInfoDto
)
return
}
console
.
log
(
'===================================='
)
console
.
log
(
'submitAppointmentObj.value.apiAppointmentInfoDto'
,
submitAppointmentObj
.
value
.
apiAppointmentInfoDto
)
console
.
log
(
'===================================='
)
return
if
(
productPlanRef
.
value
)
{
submitAppointmentObj
.
value
.
apiProductPlanInfoDto
=
await
productPlanRef
.
value
[
0
].
handleSubmitForm
()
...
...
src/views/sign/appointment/components/appointmentInfo.vue
View file @
c7e18892
...
...
@@ -16,7 +16,7 @@
>
<template
#
form-right
>
<el-form
ref=
"appointmentInfoFormRef"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<div
v-for=
"
father
in processedAppointmentData"
>
<div
v-for=
"
(father, fIndex)
in processedAppointmentData"
>
<el-row
style=
"margin-bottom: 10px"
v-if=
"father.showMoudle"
:id=
"father.anchorKey"
>
<div
class=
"formBox"
>
<CardOne
:title=
"father.fatherTitle"
>
...
...
@@ -52,7 +52,7 @@
<
template
#
content
>
<!-- 不是表格 -->
<el-row
:gutter=
"20"
v-if=
"!father.showTable"
>
<template
v-for=
"
child
in father.data"
:key=
"child.key"
>
<template
v-for=
"
(child, cIndex)
in father.data"
:key=
"child.key"
>
<el-col
:sm=
"child.sm"
:lg=
"child.lg"
...
...
@@ -829,10 +829,9 @@ const changePageSize = val => {
queryParams
.
value
.
pageSize
=
val
viewHistory
()
}
const
timeValueChange
=
child
=>
{
if
(
form
.
value
[
child
.
key
])
{
child
.
finishTime
=
`
${
form
.
value
[
child
.
key
]}
${
child
.
timeValue
}
:00`
}
else
if
(
!
form
.
value
[
child
.
key
])
{
if
(
!
form
.
value
[
child
.
key
])
{
proxy
.
$message
.
warning
(
`请先选择
${
child
.
label
}
日期`
)
child
.
timeValue
=
''
}
...
...
@@ -1058,6 +1057,7 @@ const disabledDate = (time, child) => {
}
}
const
handleDateClear
=
child
=>
{
form
.
value
[
child
.
key
]
=
''
if
(
child
.
key
==
'openAccountStartTime'
&&
!
form
.
value
[
'openAccountStartTime'
])
{
form
.
value
[
'openAccountEndTime'
]
=
''
resetShow
({
type
:
'child'
,
key
:
'openAccountEndTime'
,
status
:
true
,
flag
:
'disabled'
})
...
...
@@ -1070,28 +1070,11 @@ const handleDateClear = child => {
}
}
const
handleDateChange
=
child
=>
{
// debugger;
if
(
child
.
key
==
'openAccountStartTime'
&&
form
.
value
[
'openAccountStartTime'
])
{
resetShow
({
type
:
'child'
,
key
:
'openAccountEndTime'
,
status
:
false
,
flag
:
'disabled'
})
disabledDate
(
form
.
value
[
'openAccountStartTime'
],
{
key
:
'openAccountEndTime'
})
}
// 拼接日期与时分
if
(
child
.
key
==
'arrivalTime'
&&
child
.
finishTime
&&
child
.
finishTime
.
split
(
' '
).
length
==
2
)
{
child
.
finishTime
=
`
${
form
.
value
[
child
.
key
]}
${
child
.
timeValue
}
:00`
}
else
if
(
child
.
key
==
'departureTime'
&&
child
.
finishTime
&&
child
.
finishTime
.
split
(
' '
).
length
==
2
)
{
child
.
finishTime
=
`
${
form
.
value
[
child
.
key
]}
${
child
.
timeValue
}
:00`
}
else
if
(
child
.
key
==
'signDate'
&&
child
.
finishTime
&&
child
.
finishTime
.
split
(
' '
).
length
==
2
)
{
child
.
finishTime
=
`
${
form
.
value
[
child
.
key
]}
${
child
.
timeValue
}
:00`
console
.
log
(
'signDate'
,
child
.
finishTime
)
}
// 离港时间在到港时间之前
if
(
child
.
key
==
'arrivalTime'
&&
...
...
@@ -1203,8 +1186,6 @@ const processFormData = async () => {
processedAppointmentData
.
value
=
processedData
console
.
log
(
'processedAppointmentData.value'
,
processedAppointmentData
.
value
)
}
console
.
log
(
'processedAppointmentData.value'
,
processedAppointmentData
.
value
)
console
.
log
(
'form.value'
,
form
.
value
)
anchorListReady
.
value
=
true
}
...
...
@@ -1673,7 +1654,13 @@ const handleFormValues = () => {
})
}
if
(
item1
.
compositionTime
)
{
submitObj
[
item1
.
key
]
=
item1
.
finishTime
let
dateTime
=
''
if
(
item1
.
timeValue
)
{
dateTime
=
proxy
.
formatToDateTime
(
`
${
form
.
value
[
item1
.
key
]}
${
item1
.
timeValue
}
`
)
}
else
if
(
form
.
value
[
item1
.
key
])
{
dateTime
=
proxy
.
formatToDateTime
(
`
${
form
.
value
[
item1
.
key
]}
`
)
}
submitObj
[
item1
.
key
]
=
dateTime
}
})
}
...
...
@@ -1710,7 +1697,7 @@ const handleFormValues = () => {
}
})
console
.
log
(
'submitObj'
,
submitObj
)
console
.
log
(
'submitObj
表单值
'
,
submitObj
)
if
(
submitObj
[
'departureTime'
])
{
// 开始时间是否在结束时间之前
if
(
...
...
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