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
b0c03269
Commit
b0c03269
authored
Nov 04, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多语言~
parent
a36d6b3b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
252 additions
and
186 deletions
+252
-186
Ground.js
src/assets/common/lang/zhCN/Ground.js
+33
-0
Ground.js
src/assets/common/lang/zhTW/Ground.js
+33
-0
DinnerNeed.vue
src/components/NeedCenter/DinnerNeed.vue
+19
-19
FoodOrder.vue
src/components/Restaurant/FoodOrder.vue
+37
-37
RestaurantSalesBoard.vue
src/components/Restaurant/RestaurantSalesBoard.vue
+10
-10
RestaurantSupplier.vue
src/components/Restaurant/RestaurantSupplier.vue
+15
-15
bookDinnerStatistics.vue
src/components/Restaurant/bookDinnerStatistics.vue
+30
-30
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+45
-45
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+30
-30
No files found.
src/assets/common/lang/zhCN/Ground.js
View file @
b0c03269
...
...
@@ -279,5 +279,38 @@ export const obj = {
meicznclygysj
:
"每次只能处理同一个月数据"
,
tjsjfgyq
:
"提交新数据,将覆盖以前数据"
,
cantdwmc
:
"餐厅对外名称"
,
cantzsmc
:
"餐厅真实名称"
,
butuijian
:
"不推荐"
,
qingtxzsxm
:
"请填写真实名称"
,
qingtxkydrs
:
"请填写可预订人数"
,
tianjiagys
:
"添加供应商"
,
xiuggysxx
:
"修改供应商信息"
,
taocanrenshu
:
"套餐/人数"
,
dijiectdd
:
"地接餐厅订单"
,
xingchct
:
"行程餐厅"
,
canttongjig
:
"餐厅统计 共"
,
cantxiazai
:
"餐厅下载"
,
jiweishokzs
:
"机位总数/已收客数"
,
da
:
"大"
,
zhong
:
"中"
,
xiao
:
"小"
,
xiaohai
:
"小孩"
,
baocuncaogao
:
"保存草稿"
,
yizhidbnxg
:
"已制单,不能在修改"
,
xiugaict
:
"修改餐厅"
,
leibie
:
"类别"
,
cayinlexing
:
"餐饮类型"
,
zongrenshu
:
"总人数"
,
yongcanren
:
"用餐人"
,
mianrenshu
:
"免人数"
,
fkfsdcfsdth
:
"付款方式/订餐方式/订团号"
,
cantingxuanz
:
"餐厅选择"
,
dingcanfangs
:
"订餐方式"
,
gongsiyuding
:
"公司预订"
,
daoyouyuding
:
"导游预订"
,
canpeibz
:
"餐配备注"
,
kehushuliang
:
"客户数量"
,
tuikuanzhuangt
:
"退款状态"
,
yingfujine
:
"应付金额"
,
}
export
default
obj
;
\ No newline at end of file
src/assets/common/lang/zhTW/Ground.js
View file @
b0c03269
...
...
@@ -279,5 +279,38 @@ export const obj = {
meicznclygysj
:
"每次只能處理同一個月數據"
,
tjsjfgyq
:
"提交新數據,將覆蓋以前數據"
,
cantdwmc
:
"餐廳對外名稱"
,
cantzsmc
:
"餐廳真實名稱"
,
butuijian
:
"不推薦"
,
qingtxzsxm
:
"請填寫真實名稱"
,
qingtxkydrs
:
"請填寫可預訂人數"
,
tianjiagys
:
"添加供應商"
,
xiuggysxx
:
"修改供應商資訊"
,
taocanrenshu
:
"套餐/人數"
,
dijiectdd
:
"地接餐廳訂單"
,
xingchct
:
"行程餐廳"
,
canttongjig
:
"餐廳統計 共"
,
cantxiazai
:
"餐廳下載"
,
jiweishokzs
:
"機位總數/已收客數"
,
da
:
"大"
,
zhong
:
"中"
,
xiao
:
"小"
,
xiaohai
:
"小孩"
,
baocuncaogao
:
"保存草稿"
,
yizhidbnxg
:
"已制單,不能在修改"
,
xiugaict
:
"修改餐廳"
,
leibie
:
"類別"
,
cayinlexing
:
"餐飲類型"
,
zongrenshu
:
"總人數"
,
yongcanren
:
"用餐人"
,
mianrenshu
:
"免人數"
,
fkfsdcfsdth
:
"付款方式/訂餐管道/訂團號"
,
cantingxuanz
:
"餐廳選擇"
,
dingcanfangs
:
"訂餐管道"
,
gongsiyuding
:
"公司預訂"
,
daoyouyuding
:
"導遊預訂"
,
canpeibz
:
"餐配備註"
,
kehushuliang
:
"客戶數量"
,
tuikuanzhuangt
:
"退款狀態"
,
yingfujine
:
"應付金額"
,
}
export
default
obj
;
\ No newline at end of file
src/components/NeedCenter/DinnerNeed.vue
View file @
b0c03269
...
...
@@ -410,7 +410,7 @@
<ul>
<li>
<span>
<em>
提交时间
</em>
<em>
{{
$t
(
'salesModule.SaveTime'
)
}}
</em>
<el-date-picker
class=
"w150"
v-model=
"msg.StartDate"
type=
"date"
...
...
@@ -449,28 +449,28 @@
<table>
<tr>
<th
width=
"200"
>
名称
{{
$t
(
'system.query_airName'
)
}}
</th>
<th
width=
"80"
>
时间
{{
$t
(
'adm.adm_time'
)
}}
</th>
<th
width=
"80"
>
套餐/人数
{{
$t
(
'ground.taocanrenshu'
)
}}
</th>
<th
width=
"80"
>
国家
&
城市
{{
$t
(
'ground.huojiachengshi'
)
}}
</th>
<th
width=
"100"
>
需求描述
{{
$t
(
'ground.xuqiumiaoshu'
)
}}
</th>
<th
width=
"100"
>
处理状态
{{
$t
(
'Airticket.Air_ProcessState'
)
}}
</th>
<th
width=
"80"
>
处理人
{{
$t
(
'ground.chuliren'
)
}}
</th>
<th
width=
"150"
>
操作
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
<tbody
>
...
...
@@ -501,7 +501,7 @@
<div
class=
"DealStatus"
v-if=
"item.DealStatus==3"
>
<i
class=
"iconfont icon-yiquxiao quxiao"
></i>
{{
item
.
DealStatusStr
}}
</div>
<i
class=
"iconfont icon-qingjia UseTime"
></i>
耗时
:
{{
item
.
UseTimeStr
}}
<i
class=
"iconfont icon-qingjia UseTime"
></i>
{{
$t
(
'ground.haoshi'
)
}}
:
{{
item
.
UseTimeStr
}}
</td>
<td>
...
...
@@ -513,8 +513,8 @@
</span>
</td>
<td>
<button
type=
"button"
class=
"normalBtn"
@
click=
"dealNeed(item)"
v-if=
"item.DealStatus==1"
>
立即处理
</button>
<button
type=
"button"
class=
"hollowFixedBtn"
@
click=
"dealFeedback(item),isShow=true"
v-if=
"item.DealStatus==1||item.DealStatus==3"
>
反馈
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"dealNeed(item)"
v-if=
"item.DealStatus==1"
>
{{
$t
(
'ground.lijichuli'
)
}}
</button>
<button
type=
"button"
class=
"hollowFixedBtn"
@
click=
"dealFeedback(item),isShow=true"
v-if=
"item.DealStatus==1||item.DealStatus==3"
>
{{
$t
(
'ground.fankui'
)
}}
</button>
</td>
</tr>
</tbody>
...
...
@@ -529,11 +529,11 @@
:total=
msg.total
>
</el-pagination>
<div
class=
"ticketDan"
v-if=
"isShow"
>
<span
class=
"ticketTitle"
>
反馈
</span>
<span
class=
"ticketTitle"
>
{{
$t
(
'ground.fankui'
)
}}
</span>
<el-form
label-width=
"100px"
:model=
"postData"
:rules=
"rules"
ref=
"postDataForm"
>
<ul
class=
"ticketUl"
>
<li>
<el-form-item
label=
"处理结果
"
prop=
"DealStatus"
>
<el-form-item
:label=
"$t('ground.chulijieguo')
"
prop=
"DealStatus"
>
<el-select
class=
"w150"
v-model=
"postData.DealStatus"
filterable
clearable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"selectDefaultValue"
></el-option>
<el-option
v-for=
"item in DealStatusList"
...
...
@@ -545,14 +545,14 @@
</el-form-item>
</li>
<li>
<el-form-item
label=
"备注
"
>
<el-form-item
:label=
"$t('pub.pubRemark')
"
>
<el-input
type=
"textarea"
v-model=
"postData.Remarks"
class=
"w300"
></el-input>
</el-form-item>
</li>
</ul>
<div
class=
"travelBtm"
>
<button
type=
"button"
class=
"normalBtn TRSave"
@
click=
"submitForm('postDataForm')"
>
保存
</button>
<button
type=
"button"
class=
"hollowFixedBtn"
@
click=
"CancelData(),isShow=false"
>
取消
</button>
<button
type=
"button"
class=
"normalBtn TRSave"
@
click=
"submitForm('postDataForm')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
type=
"button"
class=
"hollowFixedBtn"
@
click=
"CancelData(),isShow=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
</div>
</el-form>
</div>
...
...
@@ -563,7 +563,7 @@ export default {
data
()
{
var
DealStatusValidate
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
===
0
)
{
callback
(
new
Error
(
"请选择处理结果"
));
callback
(
new
Error
(
this
.
$t
(
'ground.qingxuanzcljg'
)
));
}
else
{
callback
();
}
...
...
@@ -714,7 +714,7 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isShow
=
false
;
this
.
initTableInfo
();
this
.
Success
(
"处理成功"
);
this
.
Success
(
this
.
$t
(
'ground.chulichenggong'
)
);
this
.
CancelData
();
}
else
{
this
.
isShow
=
true
;
...
...
src/components/Restaurant/FoodOrder.vue
View file @
b0c03269
...
...
@@ -5,14 +5,14 @@
<ul>
<li>
<span>
<em>
关键字
</em><el-input
v-model=
'msg.searchKey'
class=
'w150'
></el-input>
<em>
{{
$t
(
'salesModule.keyWords'
)
}}
</em><el-input
v-model=
'msg.searchKey'
class=
'w150'
></el-input>
</span>
</li>
<li>
<span>
<em>
公司
</em>
<el-select
v-model=
"msg.rbBranchId"
placeholder=
"请选择
"
>
<el-option
label=
"不限
"
:value=
"-1"
></el-option>
<em>
{{
$t
(
'system.table_company'
)
}}
</em>
<el-select
v-model=
"msg.rbBranchId"
:placeholder=
"$t('pub.pleaseSel')
"
>
<el-option
:label=
"$t('pub.unlimitedSel')
"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in companyList"
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</span>
...
...
@@ -20,9 +20,9 @@
</li>
<li>
<span>
<em>
业务员
</em>
<el-select
v-model=
"msg.enterID"
placeholder=
"请选择
"
>
<el-option
label=
"不限
"
:value=
"-1"
></el-option>
<em>
{{
$t
(
'visa.v_yewuyuan'
)
}}
</em>
<el-select
v-model=
"msg.enterID"
:placeholder=
"$t('pub.pleaseSel')
"
>
<el-option
:label=
"$t('pub.unlimitedSel')
"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in employeeList"
:label=
"item.name"
...
...
@@ -35,17 +35,17 @@
</li>
<li>
<span>
<em>
状态
</em>
<el-select
v-model=
"msg.status"
placeholder=
"请选择
"
>
<el-option
key=
"0"
label=
"正常
"
:value=
"0"
></el-option>
<el-option
key=
"1"
label=
"取消
"
:value=
"1"
></el-option>
<el-option
key=
"2"
label=
"待付款
"
:value=
"2"
></el-option>
<em>
{{
$t
(
'admin.admin_status'
)
}}
</em>
<el-select
v-model=
"msg.status"
:placeholder=
"$t('pub.pleaseSel')
"
>
<el-option
key=
"0"
:label=
"$t('pub.normalSel')
"
:value=
"0"
></el-option>
<el-option
key=
"1"
:label=
"$t('pub.cancelBtn')
"
:value=
"1"
></el-option>
<el-option
key=
"2"
:label=
"$t('sm.daifukuan')
"
:value=
"2"
></el-option>
</el-select>
</span>
</li>
<li>
<span><em>
日期
</em>
<span><em>
{{
$t
(
'sm.Date'
)
}}
</em>
<el-date-picker
v-model=
'msg.startDate'
@
change=
"dataDui()"
class=
'w150'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
...
...
@@ -54,7 +54,7 @@
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询
"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')
"
@
click=
"getList();resetPageIndex()"
/>
</li>
</ul>
</div>
...
...
@@ -62,19 +62,19 @@
<div
style=
"width: 100%; height: auto;min-height:500px;overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr
class=
"title_tr"
>
<th>
单号
</th>
<th>
餐厅名称
</th>
<th>
套餐名称
</th>
<th>
使用日期
</th>
<th>
总金额
</th>
<th>
客户信息
</th>
<th>
客户数量
</th>
<th>
订单状态
</th>
<th>
创建日期
</th>
<th>
退款状态
</th>
<th>
{{
$t
(
'fnc.danhao'
)
}}
</th>
<th>
{{
$t
(
'restaurant.res_resName'
)
}}
</th>
<th>
{{
$t
(
'restaurant.res_packageName'
)
}}
</th>
<th>
{{
$t
(
'active.cl_syriqi'
)
}}
</th>
<th>
{{
$t
(
'fnc.a_zongjine'
)
}}
</th>
<th>
{{
$t
(
'fnc.khxinxi'
)
}}
</th>
<th>
{{
$t
(
'ground.kehushuliang'
)
}}
</th>
<th>
{{
$t
(
'hotel.hotel_OrderStates'
)
}}
</th>
<th>
{{
$t
(
'visa.v_creatDate'
)
}}
</th>
<th>
{{
$t
(
'ground.tuikuanzhuangt'
)
}}
</th>
</tr>
<tr>
<td
v-show=
"dataList.length==0"
colspan=
"16"
align=
"center"
>
暂无数据
</td>
<td
v-show=
"dataList.length==0"
colspan=
"16"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
...
...
@@ -86,27 +86,27 @@
<td>
{{
item
.
mealName
}}
</td>
<td
class=
"fz12"
>
{{
item
.
useDate
}}
</td>
<td>
<p>
应付金额
:
{{
item
.
preferPrice
}}
</p>
<p>
{{
$t
(
'ground.yingfujine'
)
}}
:
{{
item
.
preferPrice
}}
</p>
</td>
<td
class=
"fz12"
>
<p>
姓名
:
{{
item
.
customerName
}}
</p>
<p>
电话
:
{{
item
.
customerMobile
}}
</p>
<p>
{{
$t
(
'system.query_name'
)
}}
:
{{
item
.
customerName
}}
</p>
<p>
{{
$t
(
'hotel.table_tel'
)
}}
:
{{
item
.
customerMobile
}}
</p>
</td>
<td
class=
"fz12"
>
<p>
客户数量
:
{{
item
.
guestNum
}}
</p>
<p>
成人
:
{{
item
.
adultNum
}}
</p>
<p>
儿童
:
{{
item
.
childNum
}}
</p>
<p>
{{
$t
(
'ground.kehushuliang'
)
}}
:
{{
item
.
guestNum
}}
</p>
<p>
{{
$t
(
'salesModule.Adult'
)
}}
:
{{
item
.
adultNum
}}
</p>
<p>
{{
$t
(
'sm.ertong'
)
}}
:
{{
item
.
childNum
}}
</p>
</td>
<td>
<span
v-if=
"item.status==1"
>
正常
</span>
<span
v-if=
"item.status==2"
>
取消
</span>
<span
v-if=
"item.status==3"
>
待付款
</span>
<span
v-if=
"item.status==1"
>
{{
$t
(
'pub.normalSel'
)
}}
</span>
<span
v-if=
"item.status==2"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</span>
<span
v-if=
"item.status==3"
>
{{
$t
(
'sm.daifukuan'
)
}}
</span>
</td>
<td>
{{
item
.
createDate
}}
</td>
<td>
<p
v-if=
"item.RefundStatus!=1"
>
<span
v-if=
"item.RefundStatus==2"
>
退款中
</span>
<span
v-if=
"item.RefundStatus==3"
>
已退款
</span>
<span
v-if=
"item.RefundStatus==2"
>
{{
$t
(
'sm.tuikuanz'
)
}}
</span>
<span
v-if=
"item.RefundStatus==3"
>
{{
$t
(
'sm.yituikaun'
)
}}
</span>
</p>
...
...
@@ -236,7 +236,7 @@ export default {
// 结束日期不能大于开始日期
dataDui
()
{
if
(
this
.
msg
.
startDate
>
this
.
msg
.
endDate
&&
this
.
msg
.
endDate
!==
""
)
{
this
.
$message
.
error
(
"结束日期不能大于开始日期"
);
this
.
$message
.
error
(
this
.
$t
(
'tips.jsrqbndyksriqi'
)
);
this
.
msg
.
endDate
=
""
;
}
}
...
...
src/components/Restaurant/RestaurantSalesBoard.vue
View file @
b0c03269
...
...
@@ -203,7 +203,7 @@
<ul>
<li>
<span>
<em>
餐厅
</em>
<em>
{{
$t
(
'commonPickUp.Pick_resName'
)
}}
</em>
<el-select
v-model=
"msg.DiningID"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"defaultSelectValue"
></el-option>
<el-option
v-for=
"item in DinnerList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
...
...
@@ -212,21 +212,21 @@
</li>
<li
>
<span>
<em>
类型
</em>
<em>
{{
$t
(
'advmanager.v_type'
)
}}
</em>
<el-select
v-model=
"msg.QStatus"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:key=
"0"
label=
"地接餐厅订单
"
:value=
"0"
></el-option>
<el-option
:key=
"1"
label=
"行程餐厅
"
:value=
"1"
></el-option>
<el-option
:key=
"0"
:label=
"$t('ground.dijiectdd')
"
:value=
"0"
></el-option>
<el-option
:key=
"1"
:label=
"$t('ground.xingchct')
"
:value=
"1"
></el-option>
</el-select>
</span>
</li>
<li
style=
"margin-right:50px;"
>
<button
class=
"normalBtn"
type=
"button"
@
click=
"GetHoltelInventory()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinnerSalesBoard()"
>
下载
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinnerSalesBoard()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</ul>
</div>
<div
class=
"title"
>
餐厅统计 共
{{
$t
(
'ground.canttongjig'
)
}}
<span
class=
"Owe_Room"
>
{{
TotalInventory
}}
</span>
</div>
<div
class=
"month"
>
...
...
@@ -234,13 +234,13 @@
<li>
<i
class=
"el-icon-caret-left monthminus"
@
click=
"currentYear-=1,getDateString(),initCalendar(dateString)"
></i>
<input
type=
"text"
disabled=
"disabled"
v-model=
"currentYear"
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
年
@
input=
"getDateString(),initCalendar(dateString)"
>
{{
$t
(
'pub.year'
)
}}
<i
class=
"el-icon-caret-right monthadd"
@
click=
"currentYear+=1,getDateString(),initCalendar(dateString)"
></i>
</li>
<li>
<i
class=
"el-icon-caret-left monthminus"
@
click=
"pickPre(currentYear,currentMonth)"
></i>
<input
type=
"text"
disabled=
"disabled"
v-model=
"currentMonth"
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
月
@
input=
"getDateString(),initCalendar(dateString)"
>
{{
$t
(
'pub.month'
)
}}
<i
class=
"el-icon-caret-right monthadd"
@
click=
"pickNext(currentYear,currentMonth)"
></i>
</li>
</ul>
...
...
@@ -405,11 +405,11 @@
//下载餐厅统计
DownLoadDinnerSalesBoard
()
{
if
(
this
.
msg
.
DiningID
<=
0
)
{
this
.
Info
(
"请选择餐厅!"
);
this
.
Info
(
this
.
$t
(
'sm.qxzcanting'
)
);
return
;
}
this
.
msg
.
loading
=
true
;
let
fileName
=
"餐厅下载"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
let
fileName
=
this
.
$t
(
'ground.cantxiazai'
)
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"dinner_get_downloadDinnerSalesBoard"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
msg
.
loading
=
false
;
...
...
src/components/Restaurant/RestaurantSupplier.vue
View file @
b0c03269
...
...
@@ -50,7 +50,7 @@
</li>
<li>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),initData()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"clearInfo(),outerVisible = true,dialogTitle=
'添加供应商'
"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"clearInfo(),outerVisible = true,dialogTitle=
$t('ground.tianjiagys')
"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
</li>
</ul>
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
:before-close=
"closeChangeMachie"
>
...
...
@@ -127,9 +127,9 @@
</div>
</div>
<div
class=
"updataBtn"
>
<button
class=
"normalBtn UPBtn"
@
click=
"outerVisible = true,dialogTitle=
'修改供应商信息'
,updateInfo(item.ID)"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
<button
class=
"hollowFixedBtn UPBtn"
@
click=
"isdelete(item.ID)"
>
删除
</button>
<button
class=
"hollowFixedBtn HS_financial"
@
click=
"AccountManage(item)"
>
账户管理
</button>
<button
class=
"normalBtn UPBtn"
@
click=
"outerVisible = true,dialogTitle=
$t('ground.xiuggysxx')
,updateInfo(item.ID)"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
<button
class=
"hollowFixedBtn UPBtn"
@
click=
"isdelete(item.ID)"
>
{{
$t
(
'system.table_delete'
)
}}
</button>
<button
class=
"hollowFixedBtn HS_financial"
@
click=
"AccountManage(item)"
>
{{
$t
(
'visaT.Accountmanagement'
)
}}
</button>
</div>
</div>
</div>
...
...
@@ -187,10 +187,10 @@ export default {
},
rules
:
{
Name
:
[
{
required
:
true
,
message
:
"请输入供应商名称"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
this
.
$t
(
'visaT.qsrgysname'
)
,
trigger
:
"change"
}
],
Contact
:
[
{
required
:
true
,
message
:
"请输入联系人"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
this
.
$t
(
rule
.
EnterContratPerson
)
,
trigger
:
"change"
}
]
}
};
...
...
@@ -221,15 +221,15 @@ export default {
},
isdelete
(
ID
)
{
this
.
deleteID
=
ID
;
this
.
$confirm
(
"是否删除?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
this
.
$confirm
(
this
.
$t
(
'tips.shifoushanchu'
)
,
"提示"
,
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
)
,
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
)
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
message
:
this
.
$t
(
'tips.shanchuchenggong'
)
});
let
msg
=
{
supplierID
:
ID
...
...
@@ -239,7 +239,7 @@ export default {
msg
,
response
=>
{
if
(
response
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"删除成功"
);
this
.
Success
(
this
.
$t
(
'tips.shanchuchenggong'
)
);
this
.
initData
();
}
else
{
this
.
Error
(
response
.
data
.
message
);
...
...
@@ -251,7 +251,7 @@ export default {
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
message
:
this
.
$t
(
'ground.yiquxsc'
)
});
});
},
...
...
@@ -262,7 +262,7 @@ export default {
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
initData
();
this
.
Success
(
"保存成功"
);
this
.
Success
(
this
.
$t
(
'tips.baocunchenggong'
)
);
this
.
outerVisible
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
src/components/Restaurant/bookDinnerStatistics.vue
View file @
b0c03269
...
...
@@ -2,9 +2,9 @@
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<li><span><em>
系列
</em>
<li><span><em>
{{
$t
(
'advmanager.v_xilie'
)
}}
</em>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限
"
value=
'-1'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')
"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-select>
...
...
@@ -12,27 +12,27 @@
</li>
<li>
<span>
<em>
团号
</em>
<em>
{{
$t
(
'visa.v_tuanhao'
)
}}
</em>
<el-input
v-model=
'msg.TCNUM'
></el-input>
</span>
</li>
<li><span><em>
日期
</em>
<li><span><em>
{{
$t
(
'sm.Date'
)
}}
</em>
<el-date-picker
v-model=
'msg.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
<el-date-picker
v-model=
'msg.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</li>
<li><span><em>
餐厅
</em>
<li><span><em>
{{
$t
(
'commonPickUp.Pick_resName'
)
}}
</em>
<el-select
v-model=
"msg.QDiningID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限
"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')
"
:value=
'0'
></el-option>
<el-option
v-for=
"item in DiningList"
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</span>
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询
"
@
click=
"getList();resetPageIndex()"
/>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinner()"
>
下载
</button>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')
"
@
click=
"getList();resetPageIndex()"
/>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinner()"
>
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</ul>
</div>
...
...
@@ -40,18 +40,18 @@
:style=
"
{height: boxHeight + 'px'}">
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"bookDinnerStatisticsTalbe"
v-loading=
'loading'
>
<tr>
<th
width=
"110"
>
序号
</th>
<th
width=
"100"
>
出发地
</th>
<th
width=
"120"
>
航班时间
</th>
<th
width=
"140"
>
公司团号
</th>
<th
width=
"120"
>
机位总数/已收客数
</th>
<th
width=
"120"
>
时间
</th>
<th
width=
"130"
>
餐厅名称
</th>
<th
width=
"100"
>
用餐类型
</th>
<th
width=
"100"
>
大
</th>
<th
width=
"100"
>
中
</th>
<th
width=
"100"
>
小
</th>
<th
width=
"100"
>
操作
</th>
<th
width=
"110"
>
{{
$t
(
'active.ad_xuhao'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'sm.chufadi'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'ground.hangbanshijian'
)
}}
</th>
<th
width=
"140"
>
{{
$t
(
'ground.gongsituanhao'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'ground.jiweishokzs'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'adm.adm_time'
)
}}
</th>
<th
width=
"130"
>
{{
$t
(
'restaurant.res_resName'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'ground.yongcanleixing'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'ground.da'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'ground.zhong'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'ground.xiao'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
<template
v-for=
"(outItem,outindex) in DataList"
>
<tbody
:class=
"
{bookDinnerStatisticsSplitTrCss:outindex%2!=0}">
...
...
@@ -73,9 +73,9 @@
<tr
class=
"_color_666"
style=
"text-align:center;"
>
<th
width=
"60"
>
{{
$t
(
'Airticket.Air_segment'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'system.query_flightNum'
)
}}
</th>
<th
width=
"150"
>
起飞时间
</th>
<th
width=
"150"
>
到达时间
</th>
<th
width=
"100"
>
经停城市
</th>
<th
width=
"150"
>
{{
$t
(
'system.ph_flightTime'
)
}}
</th>
<th
width=
"150"
>
{{
$t
(
'system.query_arrivalTime'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'system.query_stopCity'
)
}}
</th>
</tr>
<tr
v-for=
"(ds,din) in item.FlightList"
:key=
"din"
style=
"text-align:center;"
>
<td
class=
"_d_name _color_666"
>
...
...
@@ -100,7 +100,7 @@
</tr>
</table>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
{{
$t
(
'fnc.xiangqing'
)
}}
</el-button>
</el-popover>
</td>
...
...
@@ -142,7 +142,7 @@
</td>
<td
:rowspan=
"item.itemRowSpan"
v-if=
'subIndex==0&&thirdIndex==0'
>
<div
class=
"w80 link"
>
<p
@
click=
"goUrl('bookDinnerStatisticsDetails',item,outItem,'订餐详情')"
>
详情
</p>
<p
@
click=
"goUrl('bookDinnerStatisticsDetails',item,outItem,'订餐详情')"
>
{{$t('fnc.xiangqing')}}
</p>
</div>
</td>
</tr>
...
...
@@ -152,7 +152,7 @@
<div
class=
"link"
>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{item.Titles}}
</p>
<div
v-show=
"outItem.StaticsReportList[0].DMCRemark!=''"
class=
"colorE95252"
>
地接备注
:{{outItem.StaticsReportList[0].DMCRemark}}
</div>
{{$t('Operation.Op_dijieRemark')}}
:{{outItem.StaticsReportList[0].DMCRemark}}
</div>
</div>
</td>
</tr>
...
...
@@ -202,11 +202,11 @@
},
PeopleTypeToWord
(
str
)
{
if
(
str
==
1
)
return
'成人
:'
return
this
.
$t
(
'salesModule.Adult'
)
+
'
:'
if
(
str
==
2
)
return
'小孩
:'
return
this
.
$t
(
'ground.xiaohai'
)
+
'
:'
if
(
str
==
3
)
return
'婴儿
:'
return
this
.
$t
(
'Operation.Op_baby'
)
+
'
:'
},
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
...
...
@@ -325,7 +325,7 @@
queryMsg
:
this
.
msg
,
uid
:
this
.
getLocalStorage
().
EmployeeId
};
let
fileName
=
"餐厅下载"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
let
fileName
=
this
.
$t
(
'ground.cantxiazai'
)
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"dinner_get_downloadDinner"
,
qMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
...
...
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
b0c03269
This diff is collapsed.
Click to expand it.
src/components/Restaurant/restaurantInfoManage.vue
View file @
b0c03269
This diff is collapsed.
Click to expand it.
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