Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f4ddf436
authored
2024-05-10 19:57:35 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字段修改
1 parent
a5eb27ff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
28 deletions
src/viewsPc/booking/makeUpOrder.vue
src/viewsPc/booking/pay.vue
src/viewsPc/booking/photographyDetail.vue
src/viewsPc/booking/photographyOrder.vue
src/viewsPc/booking/makeUpOrder.vue
View file @
f4ddf43
...
...
@@ -141,13 +141,13 @@ const timeVal=ref(null)
const
money
=
ref
(
0
)
const
rules
=
ref
({
num
:
[
{
required
:
true
,
message
:
'预约数量不能为空'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'预约数量不能为空'
:
"phone is required"
,
trigger
:
'blur'
},
],
contacts
:
[
{
required
:
true
,
message
:
'请输入预约联系人
'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'请输入预约联系人'
:
'phone is required
'
,
trigger
:
'blur'
},
],
phoned
:
[
{
required
:
true
,
message
:
'请输入联系电话'
,
trigger
:
'change
'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'请输入联系电话'
:
"phone is required"
,
trigger
:
'blur
'
},
],
})
...
...
src/viewsPc/booking/pay.vue
View file @
f4ddf43
...
...
@@ -466,11 +466,11 @@ function getData() {
}
if
(
type
.
value
==
'makeUp'
)
{
MakeUpOrder
()
MakeUpIno
()
//
MakeUpIno()
}
if
(
type
.
value
==
'photography'
)
{
photographyOrder
()
photographyInfo
()
//
photographyInfo()
}
console
.
log
(
payType
.
value
)
...
...
@@ -547,6 +547,8 @@ function MakeUpOrder(){
return
booking
.
getMealOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
MakeUpIno
()
console
.
log
(
res
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
errorBox
.
value
=
true
...
...
@@ -554,8 +556,9 @@ function MakeUpOrder(){
}
function
MakeUpIno
(){
booking
.
getMealOrderInfoByLogex
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
booking
.
getMealOrderInfoByLogex
({
asmId
:
form
.
value
.
asmId
}).
then
(
res
=>
{
formInfo
.
value
=
res
.
data
console
.
log
(
res
)
})
.
catch
((
e
)
=>
{
console
.
log
(
e
)
...
...
@@ -568,6 +571,7 @@ function photographyOrder(){
return
booking
.
getPhotoOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
photographyInfo
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
errorBox
.
value
=
true
...
...
@@ -575,7 +579,7 @@ function photographyOrder(){
}
function
photographyInfo
(){
booking
.
getPhotoOrderInfoByLogex
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
booking
.
getPhotoOrderInfoByLogex
({
aspId
:
form
.
value
.
aspId
}).
then
(
res
=>
{
formInfo
.
value
=
res
.
data
})
// .catch((e) => {
...
...
src/viewsPc/booking/photographyDetail.vue
View file @
f4ddf43
...
...
@@ -27,7 +27,7 @@
<el-icon
size=
"16"
style=
"position: relative;top: 2px"
color=
"#929AA0"
>
<LocationFilled/>
</el-icon>
{{
form
.
rearks
}}
{{
form
.
re
m
arks
}}
</el-row>
</el-card>
<div
class=
"mt30"
>
...
...
src/viewsPc/booking/photographyOrder.vue
View file @
f4ddf43
...
...
@@ -29,7 +29,7 @@
<el-icon
size=
"16"
style=
"position: relative;top: 2px"
color=
"#929AA0"
>
<LocationFilled/>
</el-icon>
{{
formData
.
rearks
}}
{{
formData
.
re
m
arks
}}
</el-row>
<hr
style=
"border:1px solid #D3D1F6 "
>
...
...
@@ -139,15 +139,14 @@ const timeVal=ref(null)
const
money
=
ref
(
0
)
const
rules
=
ref
({
num
:
[
{
required
:
true
,
message
:
'预约数量不能为空'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'预约数量不能为空'
:
"phone is required"
,
trigger
:
'blur'
},
],
contacts
:
[
{
required
:
true
,
message
:
'请输入预约联系人
'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'请输入预约联系人'
:
'phone is required
'
,
trigger
:
'blur'
},
],
phoned
:
[
{
required
:
true
,
message
:
'请输入联系电话'
,
trigger
:
'change
'
},
{
required
:
true
,
message
:
language
.
value
==
0
?
'请输入联系电话'
:
"phone is required"
,
trigger
:
'blur
'
},
],
})
const
radioList
=
ref
([])
...
...
@@ -315,21 +314,21 @@ function changeMaony(){
border
:
1px
solid
#DCDFE6
;
}
.ccitemBox
{
overflow
:
auto
;
label
{
margin
:
10px
0
;
display
:
block
;
min-height
:
30px
;
span
{
color
:
#FF8124
;
font-family
:
DIN
Alternate
;
font-size
:
24px
;
}
}
}
//
.ccitemBox
{
//
overflow
:
auto
;
//
//
label
{
//
margin
:
10px
0
;
//
display
:
block
;
//
min-height
:
30px
;
//
//
span
{
//
color
:
#FF8124
;
//
font-family
:
DIN
Alternate
;
//
font-size
:
24px
;
//
}
//
}
//
}
...
...
Write
Preview
Styling with
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