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
f3992fd7
Commit
f3992fd7
authored
Jan 06, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2cf143bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
644 additions
and
361 deletions
+644
-361
HotelOrderList.vue
src/components/Hotel/reservation/HotelOrderList.vue
+1
-1
OrderList.vue
src/components/Hotel/reservation/OrderList.vue
+70
-28
HotelList.vue
src/components/Hotel/singleProduct/HotelList.vue
+12
-9
ModifyHotelOrder.vue
src/components/Hotel/singleProduct/ModifyHotelOrder.vue
+499
-66
ChosenHotel.vue
...components/Hotel/singleProduct/components/ChosenHotel.vue
+60
-255
ListCar.vue
src/components/Hotel/singleProduct/components/ListCar.vue
+1
-1
TableOperation.vue
...ponents/Hotel/singleProduct/components/TableOperation.vue
+1
-1
No files found.
src/components/Hotel/reservation/HotelOrderList.vue
View file @
f3992fd7
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
this
.
loading
=
true
this
.
loading
=
true
let
url
let
url
// 销售 OP
// 销售 OP
if
(
this
.
pagesTitle
){
if
(
this
.
pagesTitle
==
'销售'
){
url
=
"dict_post_GetMySaleCustomerOrderPageList"
url
=
"dict_post_GetMySaleCustomerOrderPageList"
}
else
{
}
else
{
url
=
"dict_post_GetAdminCustomerOrderPageList"
url
=
"dict_post_GetAdminCustomerOrderPageList"
...
...
src/components/Hotel/reservation/OrderList.vue
View file @
f3992fd7
...
@@ -349,8 +349,8 @@
...
@@ -349,8 +349,8 @@
<span
class=
"mr"
>
<span
class=
"mr"
>
{{
item
.
SaleName
}}
{{
item
.
SaleName
}}
</span>
</span>
<span
class=
"mr"
v-if=
"
!pagesTitle&&
item.CustomerName"
>
创建人:
</span>
<span
class=
"mr"
v-if=
"item.CustomerName"
>
创建人:
</span>
<span
class=
"mr"
v-if=
"
!pagesTitle&&
item.CustomerName"
<span
class=
"mr"
v-if=
"item.CustomerName"
>
{{
item
.
CustomerName
}}
(
{{
item
.
CustomerContact
}}
/
{{
>
{{
item
.
CustomerName
}}
(
{{
item
.
CustomerContact
}}
/
{{
item
.
CustomerTel
item
.
CustomerTel
}}
)
</span
}}
)
</span
...
@@ -681,18 +681,22 @@
...
@@ -681,18 +681,22 @@
<div
class=
"row-c justify-sb borderD pb5"
>
<div
class=
"row-c justify-sb borderD pb5"
>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz12 ml"
>
¥
</span>
<span
class=
"fz12 ml"
>
<!-- ¥ -->
円
</span>
<span
class=
"fz15 fbold"
>
{{ item.Money.toFixed(2) }}
</span>
<span
class=
"fz15 fbold"
>
{{ item.Money.toFixed(2) }}
</span>
<span
class=
"fz15"
>
{{ item.CurrencyName }}
</span>
<span
class=
"fz15"
>
{{ item.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
<div
<div
class=
"row-c justify-sb borderD py5"
class=
"row-c justify-sb borderD py5"
v-if=
"(item.CustomerPayType == 1 || item.CustomerPayType == 3)&&
!pagesTitle
"
v-if=
"(item.CustomerPayType == 1 || item.CustomerPayType == 3)&&
pagesTitle!='销售'
"
>
>
<span
class=
"fz12 c9e"
>
到店自付
</span>
<span
class=
"fz12 c9e"
>
到店自付
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz10 ml"
>
¥
</span>
<span
class=
"fz10 ml"
>
<!-- ¥ -->
円
</span>
<span
class=
"fz14"
>
{{ item.SelfPayMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{ item.SelfPayMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{ item.CurrencyName }}
</span>
<span
class=
"fz14"
>
{{ item.CurrencyName }}
</span>
</div>
</div>
...
@@ -703,7 +707,9 @@
...
@@ -703,7 +707,9 @@
>
>
<span
class=
"fz12 c9e"
>
出发前付款
</span>
<span
class=
"fz12 c9e"
>
出发前付款
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz10 ml"
>
¥
</span>
<span
class=
"fz10 ml"
>
<!-- ¥ -->
円
</span>
<span
class=
"fz14"
>
{{ item.BeforeMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{ item.BeforeMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{ item.CurrencyName }}
</span>
<span
class=
"fz14"
>
{{ item.CurrencyName }}
</span>
</div>
</div>
...
@@ -1007,6 +1013,8 @@ export default {
...
@@ -1007,6 +1013,8 @@ export default {
name
:
path
,
name
:
path
,
query
:
{
query
:
{
id
:
obj
.
OrderId
,
id
:
obj
.
OrderId
,
pagesTitle
:
this
.
pagesTitle
,
blank
:
"y"
,
tab
:
title
tab
:
title
}
}
});
});
...
@@ -1016,8 +1024,8 @@ export default {
...
@@ -1016,8 +1024,8 @@ export default {
// 0取消订单 1确认订单
// 0取消订单 1确认订单
if
(
type
==
0
)
{
if
(
type
==
0
)
{
if
(
!
this
.
loading0
)
{
if
(
!
this
.
loading0
)
{
this
.
cancelOrderDialog
=
true
;
this
.
cancelOrderId
=
item
.
OrderId
this
.
cancelOrderId
=
item
.
OrderId
this
.
cancelOrderDialog
=
true
;
}
}
}
else
if
(
type
==
1
)
{
}
else
if
(
type
==
1
)
{
if
(
!
this
.
loading1
)
{
if
(
!
this
.
loading1
)
{
...
@@ -1052,28 +1060,62 @@ export default {
...
@@ -1052,28 +1060,62 @@ export default {
}
}
if
(
this
.
loading0
)
return
;
if
(
this
.
loading0
)
return
;
this
.
loading0
=
true
this
.
loading0
=
true
this
.
apipost
(
// 地接 销售 OP
"dict_post_CancelAdminCustomerOrder"
,
if
(
this
.
pagesTitle
!=
'销售'
){
{
this
.
apipost
(
OrderId
:
this
.
cancelOrderId
,
"dict_post_CancelAdminCustomerOrder"
,
CancelRemark
:
this
.
cancelRemark
{
},
OrderId
:
this
.
cancelOrderId
,
res
=>
{
CancelRemark
:
this
.
cancelRemark
if
(
res
.
data
.
resultCode
==
1
)
{
},
this
.
Success
(
res
.
data
.
message
);
res
=>
{
this
.
cancelOrderDialog
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
cancelOrderId
=
0
this
.
Success
(
res
.
data
.
message
);
this
.
cancelRemark
=
''
this
.
cancelOrderDialog
=
false
this
.
$emit
(
"success"
);
this
.
cancelOrderId
=
0
}
else
{
this
.
cancelRemark
=
''
this
.
Error
(
res
.
data
.
message
);
this
.
$emit
(
"success"
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading0
=
false
;
},
err
=>
{
this
.
loading0
=
false
;
}
}
this
.
loading0
=
false
;
);
},
}
else
{
err
=>
{
this
.
cancelOrder
()
this
.
loading0
=
false
;
}
}
);
},
// 销售 OP 取消订单
cancelOrder
()
{
let
that
=
this
that
.
$confirm
(
`是否确定取消订单?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
"dict_post_CancelSaleCustomerOrder"
,
{
OrderId
:
this
.
cancelOrderId
,
CancelRemark
:
this
.
cancelRemark
},
res
=>
{
this
.
loading0
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
$emit
(
"success"
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
}).
catch
(
err
=>
{
this
.
Error
(
err
.
message
)
this
.
loading0
=
false
})
}).
catch
(()
=>
{
this
.
loading0
=
false
})
},
},
saveUpdate
()
{
saveUpdate
()
{
this
.
$confirm
(
"是否确认设置收损?"
,
"提示"
,
{
this
.
$confirm
(
"是否确认设置收损?"
,
"提示"
,
{
...
...
src/components/Hotel/singleProduct/HotelList.vue
View file @
f3992fd7
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<span>
<span>
<em>
酒店
</em>
<em>
酒店
</em>
<el-select
v-model=
"msg.HotelChooseArray"
:placeholder=
"$t('pub.pleaseSel')"
class=
"multiple_input w300"
<el-select
v-model=
"msg.HotelChooseArray"
:placeholder=
"$t('pub.pleaseSel')"
class=
"multiple_input w300"
filterable
multiple
:multiple-limit=
"3"
>
filterable
multiple
collapse-tags
:multiple-limit=
"3"
>
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
...
@@ -697,20 +697,23 @@
...
@@ -697,20 +697,23 @@
let
newCars
=
[]
let
newCars
=
[]
let
states
=
true
let
states
=
true
oldCars
=
JSON
.
parse
(
localStorage
.
getItem
(
"cars"
))
oldCars
=
JSON
.
parse
(
localStorage
.
getItem
(
"cars"
))
oldCars
.
forEach
(
item
=>
{
if
(
oldCars
){
oldCars
.
forEach
(
item
=>
{
if
(
item
.
Date
<
this
.
getBeforeDate
(
-
20
,
new
Date
().
Format
(
"yyyy-MM-dd"
))){
if
(
item
.
Date
<
this
.
getBeforeDate
(
-
20
,
new
Date
().
Format
(
"yyyy-MM-dd"
))){
states
=
false
states
=
false
}
else
{
}
else
{
newCars
.
push
(
item
)
newCars
.
push
(
item
)
}
}
})
})
if
(
!
states
){
if
(
!
states
){
this
.
HotelLength
=
newCars
.
length
this
.
HotelLength
=
newCars
.
length
localStorage
.
removeItem
(
"cars"
)
localStorage
.
removeItem
(
"cars"
)
localStorage
.
setItem
(
"cars"
,
JSON
.
stringify
(
newCars
))
localStorage
.
setItem
(
"cars"
,
JSON
.
stringify
(
newCars
))
localStorage
.
removeItem
(
'HotelLength'
)
localStorage
.
removeItem
(
'HotelLength'
)
localStorage
.
setItem
(
'HotelLength'
,
JSON
.
stringify
(
this
.
HotelLength
))
localStorage
.
setItem
(
'HotelLength'
,
JSON
.
stringify
(
this
.
HotelLength
))
}
}
}
this
.
HotelLength
=
localStorage
.
getItem
(
"HotelLength"
)?
localStorage
.
getItem
(
"HotelLength"
):
0
this
.
HotelLength
=
localStorage
.
getItem
(
"HotelLength"
)?
localStorage
.
getItem
(
"HotelLength"
):
0
...
...
src/components/Hotel/singleProduct/ModifyHotelOrder.vue
View file @
f3992fd7
This diff is collapsed.
Click to expand it.
src/components/Hotel/singleProduct/components/ChosenHotel.vue
View file @
f3992fd7
This diff is collapsed.
Click to expand it.
src/components/Hotel/singleProduct/components/ListCar.vue
View file @
f3992fd7
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<div>
<div>
<span
class=
"coloref1416c fz12"
>
订单总金额:
</span>
<span
class=
"coloref1416c fz12"
>
订单总金额:
</span>
<span
class=
"coloref1416c fbold"
>
<span
class=
"coloref1416c fbold"
>
<span
class=
"fz13"
>
¥
</span>
<span
class=
"fz13"
>
<!-- ¥ -->
円
</span>
<span
class=
"fz18"
>
{{parameters.Money}}
</span>
<span
class=
"fz18"
>
{{parameters.Money}}
</span>
</span>
</span>
</div>
</div>
...
...
src/components/Hotel/singleProduct/components/TableOperation.vue
View file @
f3992fd7
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
{{
item
.
RoomName
}}
{{
item
.
RoomName
}}
</el-col>
</el-col>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<span
class=
"fz10 colorf44336"
>
¥
</span>
<span
class=
"fz10 colorf44336"
>
<!-- ¥ -->
円
</span>
<span
class=
"din colorf44336"
>
{{
item
.
UPriceFormat
}}
</span>
<span
class=
"din colorf44336"
>
{{
item
.
UPriceFormat
}}
</span>
<span
class=
"text-dark"
style=
"font-size: 12px"
>
/人
</span>
<span
class=
"text-dark"
style=
"font-size: 12px"
>
/人
</span>
</el-col>
</el-col>
...
...
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