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
e70dac25
Commit
e70dac25
authored
Aug 13, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3d60e5fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
1 deletion
+61
-1
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+40
-0
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+21
-1
No files found.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
e70dac25
...
@@ -227,6 +227,31 @@
...
@@ -227,6 +227,31 @@
</el-select>
</el-select>
</td>
</td>
</tr>
</tr>
<
template
v-if=
"subItem.OrderState==1"
>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
确认时间:
</td>
<td
style=
"text-align:left;"
>
<el-date-picker
class=
'w135'
v-model=
"subItem.SureTime"
type=
"datetime"
placeholder=
"选择确认时间"
>
</el-date-picker>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
预约时间:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.BookTime'
type=
"text"
></el-input>
</td>
</tr>
</
template
>
<tr
v-show=
"subItem.PayStyle==6"
>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.fukuanth')}}:
{{$t('ground.fukuanth')}}:
...
@@ -385,9 +410,19 @@
...
@@ -385,9 +410,19 @@
RealName
:
str
,
RealName
:
str
,
ID
:
x
.
NewDiningID
ID
:
x
.
NewDiningID
})
})
if
(
x
.
ReserveNo
==
''
||
x
.
ReserveNo
==
null
)
{
if
(
x
.
ReserveNo
==
''
||
x
.
ReserveNo
==
null
)
{
x
.
ReserveNo
=
this
.
$route
.
query
.
NewCombinationNum
;;
x
.
ReserveNo
=
this
.
$route
.
query
.
NewCombinationNum
;;
}
}
if
(
x
.
SureTime
)
{
if
(
x
.
SureTime
==
'0001-01-01T00:00:00'
){
x
.
SureTime
=
''
}
else
{
x
.
SureTime
=
x
.
SureTime
.
replace
(
"T"
,
" "
);
}
}
})
})
});
});
this
.
list
=
resultArray
;
this
.
list
=
resultArray
;
...
@@ -461,11 +496,16 @@
...
@@ -461,11 +496,16 @@
// }
// }
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
// if(insideItem.SureTime=''||insideItem.SureTime.length==0)
// {
// insideItem.SureTime='0001-01-01T00:00:00'
// }
if
(
insideItem
.
DiningPriceList
)
{
if
(
insideItem
.
DiningPriceList
)
{
insideItem
.
DiningPriceList
.
forEach
(
subItem
=>
{
insideItem
.
DiningPriceList
.
forEach
(
subItem
=>
{
if
(
!
subItem
.
Discount
)
{
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
subItem
.
Discount
=
0
;
}
}
if
(
!
subItem
.
DiscountPrice
)
{
if
(
!
subItem
.
DiscountPrice
)
{
subItem
.
DiscountPrice
=
0
;
subItem
.
DiscountPrice
=
0
;
}
}
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
e70dac25
...
@@ -371,8 +371,10 @@
...
@@ -371,8 +371,10 @@
<span
style=
"color: #4BCA81;"
v-if=
"item.FoodsResult==1"
>
√
</span>
<span
style=
"color: #4BCA81;"
v-if=
"item.FoodsResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
FoodsResult
==
'-1'
?
"x"
:
"O"
}}
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
FoodsResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
</div>
<a
style=
"text-decoration:underline;cursor:pointer;"
title=
"点击下载
旅客名单
"
<a
style=
"text-decoration:underline;cursor:pointer;"
title=
"点击下载
餐配信息
"
@
click=
"DownLoadDinner(item)"
>
{{
$t
(
'ground.peicanxiazai'
)
}}
</a>
@
click=
"DownLoadDinner(item)"
>
{{
$t
(
'ground.peicanxiazai'
)
}}
</a>
<a
style=
"text-decoration:underline;cursor:pointer;"
title=
"点击下载新餐配信息"
@
click=
"DownLoadNewDinner(item)"
>
{{
$t
(
'ground.peicanxiazai'
)
}}
</a>
</td>
</td>
<td>
<td>
...
@@ -1408,6 +1410,24 @@
...
@@ -1408,6 +1410,24 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
DownLoadNewDinner
(
item
)
{
this
.
loading
=
true
;
//导出报表
let
msg
=
{
TCID
:
item
.
TCID
,
StartDate
:
item
.
StartDateStr
,
DayNum
:
item
.
DayNum
};
var
fileName
=
"餐配下载.xls"
;
if
(
item
.
TCNUMS
!=
null
)
{
fileName
=
"【"
+
item
.
TCNUMS
+
"】餐配下载.xls"
;
}
this
.
GetLocalFile
(
"travel_get_GetNewTravelDinnerDownLoad"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
goRoomTip
()
{
goRoomTip
()
{
this
.
Error
(
"请联系组团OP提供分房表文件!"
);
this
.
Error
(
"请联系组团OP提供分房表文件!"
);
...
...
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