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
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
...
...
@@ -4,12 +4,12 @@
<ul>
<li>
<template
v-if=
"IsOperation != 1"
>
<input
v-if=
"IsEditDinner==1"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存
"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==0"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿
"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==1"
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')
"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==0"
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('ground.baocuncaogao')
"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
</
template
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改
!
</span>
<input
v-if=
"CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存
"
<span
style=
"color:red;font-size:14px;"
>
{{
$t
(
'ground.yizhidbnxg'
)
}}
!
</span>
<input
v-if=
"CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')
"
@
click=
"saveList(1)"
/>
</
template
>
</li>
...
...
@@ -19,28 +19,28 @@
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"bookDinnerStatisticsTalbe"
v-loading=
"loading"
>
<tr>
<th>
公司团号
{{$t('salesModule.CompanyNum')}}
</th>
<th
colspan=
"17"
style=
"text-align:left;"
>
<p
class=
"link"
@
click=
"goUrlT('productQuery',TCNUM,'产品查询')"
>
{{TCNUM}}
</p>
</th>
</tr>
<tr>
<th
width=
"100"
>
用餐时间
</th>
<th
width=
"200"
>
餐厅名称
</th>
<th
width=
"150"
>
修改餐厅
</th>
<th
width=
"80"
>
类别
</th>
<th
width=
"200"
style=
"display:none;"
>
餐饮类型
</th>
<th
width=
"70"
>
总人数
</th>
<th
width=
"70"
>
用餐人
<br
/>
类型
</th>
<th
width=
"70"
>
用餐
<br
/>
人数
</th>
<th
width=
"90"
>
价格
</th>
<th
width=
"90"
>
免人数
</th>
<th
width=
"80"
>
金额小计
</th>
<th
width=
"90"
>
返佣
</th>
<th
width=
"100"
>
总金额
</th>
<th
width=
"210"
>
付款方式/订餐方式/订团号
</th>
<th
width=
"170"
>
备注
</th>
<th
width=
"100"
>
{{$t('restaurant.res_etTime')}}
</th>
<th
width=
"200"
>
{{$t('restaurant.res_resName')}}
</th>
<th
width=
"150"
>
{{$t('ground.xiugaict')}}
</th>
<th
width=
"80"
>
{{$t('ground.leibie')}}
</th>
<th
width=
"200"
style=
"display:none;"
>
{{$t('ground.cayinlexing')}}
</th>
<th
width=
"70"
>
{{$t('ground.zongrenshu')}}
</th>
<th
width=
"70"
>
{{$t('ground.yongcanren')}}
<br
/>
{{$t('advmanager.v_type')}}
</th>
<th
width=
"70"
>
{{$t('commonPickUp.Pick_Ding')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"90"
>
{{$t('Operation.Op_price')}}
</th>
<th
width=
"90"
>
{{$t('ground.mianrenshu')}}
</th>
<th
width=
"80"
>
{{$t('ground.jinexiaoji')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"100"
>
{{$t('fnc.a_zongjine')}}
</th>
<th
width=
"210"
>
{{$t('ground.fkfsdcfsdth')}}
</th>
<th
width=
"170"
>
{{$t('pub.pubRemark')}}
</th>
</tr>
<
template
v-for=
"(item,index) in list"
>
<template
v-for=
"(subItem,subIndex) in item.DiningSummaryList"
>
...
...
@@ -55,13 +55,13 @@
<span
style=
"padding-left:5px;"
class=
"link"
@
click=
"goUrlR('restaurantList',subItem.DiningID,'餐厅列表')"
>
{{
subItem
.
DiningName
}}
<br/>
真实名称
:
{{
subItem
.
DiningRealName
}}
{{
$t
(
'ground.zhenshimingcheng'
)
}}
:
{{
subItem
.
DiningRealName
}}
</span>
</td>
</tr>
<tr>
<td
width=
"40"
>
电话
:
{{
$t
(
'hotel.table_tel'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Tel
}}
...
...
@@ -69,7 +69,7 @@
</tr>
<tr>
<td
width=
"40"
>
地址
:
{{
$t
(
'hotel.table_address'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Address
}}
...
...
@@ -92,7 +92,7 @@
<el-button
size=
"small"
type=
"danger"
:data-index=
"'comCheckDinner'+index+subIndex+''"
slot=
"reference"
style=
"cursor:pointer;"
@
click=
"getChildDinner(index,subIndex),subItem.isShowPop=true"
>
餐厅选择
{{
$t
(
'ground.cantingxuanz'
)
}}
</el-button>
</el-popover>
</td>
...
...
@@ -113,7 +113,7 @@
</td>
<td>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
设置
</span>
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<template
v-else
>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice(subItem)'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkInteger(childItem,'PeoplePrice')"
></el-input>
...
...
@@ -139,9 +139,9 @@
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
币种
:
</td>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}
:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
placeholder=
"请选择
"
class=
'w135 sel'
<el-select
v-model=
"subItem.CurrencyId"
:placeholder=
"$t('pub.pleaseSel')
"
class=
'w135 sel'
@
change=
"calculationPrice(subItem)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
...
...
@@ -152,38 +152,38 @@
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
付款方式
:
{{$t('ground.fkfangshi')}}
:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'现付
'
:value=
'1'
v-if=
"subItem.PayStyleExt==1"
></el-option>
<el-option
label=
'签单
'
:value=
'2'
v-if=
"subItem.PayStyleExt==2"
></el-option>
<el-option
label=
'实物抵扣
'
:value=
'3'
v-if=
"subItem.PayStyleExt==3"
></el-option>
<el-option
label=
'预付
'
:value=
'4'
v-if=
"subItem.PayStyleExt==4"
></el-option>
<el-option
label=
'预付款抵扣
'
:value=
'5'
v-if=
"subItem.PayStyleExt==5"
></el-option>
<el-option
label=
'领队导游垫付
'
:value=
'10'
></el-option>
<el-option
label=
'公司合团支付
'
:value=
'6'
></el-option>
<el-option
label=
'刷卡
'
:value=
'11'
></el-option>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
'$t("ground.xianfu")
'
:value=
'1'
v-if=
"subItem.PayStyleExt==1"
></el-option>
<el-option
:label=
'$t("ground.qiandan")
'
:value=
'2'
v-if=
"subItem.PayStyleExt==2"
></el-option>
<el-option
:label=
'$t("ground.shiwudk")
'
:value=
'3'
v-if=
"subItem.PayStyleExt==3"
></el-option>
<el-option
:label=
'$t("ground.yufu")
'
:value=
'4'
v-if=
"subItem.PayStyleExt==4"
></el-option>
<el-option
:label=
'$t("ground.yufukuandk")
'
:value=
'5'
v-if=
"subItem.PayStyleExt==5"
></el-option>
<el-option
:label=
'$t('
ground
.
lingduidydf
')
'
:value=
'10'
></el-option>
<el-option
:label=
'$t("ground.gongsihetzf")
'
:value=
'6'
></el-option>
<el-option
:label=
'$t("ground.shuaka")
'
:value=
'11'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
订餐方式
:
{{$t('ground.dingcanfangs')}}
:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.DiningReserveType'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'公司预订
'
value=
'1'
></el-option>
<el-option
label=
'导游预订
'
value=
'2'
></el-option>
<el-option
:label=
"$t('pub.pleaseSel')"
value=
'0'
></el-option>
<el-option
:label=
'$t("ground.gongsiyuding")
'
value=
'1'
></el-option>
<el-option
:label=
'$t("ground.daoyouyuding")
'
value=
'2'
></el-option>
</el-select>
</td>
</tr>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
付款团号
:
{{$t('ground.fukuanth')}}
:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.PayTypeTCNUM'
type=
"text"
></el-input>
...
...
@@ -191,7 +191,7 @@
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
订团号:
{{$t('ground.dingtuanhao')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135 tcenter'
v-model=
'subItem.ReserveNo'
></el-input>
...
...
@@ -202,14 +202,14 @@
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"80"
style=
"text-align:right;"
>
备注
:
</td>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('pub.pubRemark')}}
:
</td>
<td>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<tr>
<td
width=
"80"
style=
"text-align:right;"
>
餐配备注
:
{{$t('ground.canpeibz')}}
:
</td>
<td
style=
"text-align:left;"
>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.DinnerRemark'
></el-input>
...
...
src/components/Restaurant/restaurantInfoManage.vue
View file @
b0c03269
...
...
@@ -687,7 +687,7 @@
<el-form-item
:label=
"$t('ground.cantdwmc')"
prop=
"Name"
>
<el-input
type=
"text"
v-model=
"addMsg.Name"
maxlength=
"100"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
label=
"餐厅真实名称
"
prop=
"RealName"
>
<el-form-item
:label=
"$t('ground.cantzsmc')
"
prop=
"RealName"
>
<el-input
type=
"text"
v-model=
"addMsg.RealName"
maxlength=
"100"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
...
...
@@ -698,29 +698,29 @@
</span>
</div>
</el-form-item>
<el-form-item
label=
"国家
"
>
<el-select
placeholder=
"请选择国家
"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w300'
@
change=
"GetSubAreaList(addMsg.Country,1)"
>
<el-form-item
:label=
"$t('system.table_country')
"
>
<el-select
:placeholder=
"$t('visaT.qxzguojia')
"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w300'
@
change=
"GetSubAreaList(addMsg.Country,1)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in CountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"省
"
>
<el-select
placeholder=
"请选择省
"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-form-item
:label=
"$t('hotel.hotel_province')
"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')
"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in ProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"市
"
>
<el-select
placeholder=
"请选择市
"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
>
<el-form-item
:label=
"$t('hotel.hotel_city')
"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')
"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in CityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
prop=
"Address"
>
<el-input
placeholder=
"请输入内容
"
class=
"w300 addAddress"
v-model=
"addMsg.Address"
>
<el-input
:placeholder=
"$t('fnc.qsrneirong')
"
class=
"w300 addAddress"
v-model=
"addMsg.Address"
>
<el-button
slot=
"append"
@
click=
"selectAddress = true"
icon=
"iconfont icon-img_dw"
></el-button>
</el-input>
</el-form-item>
...
...
@@ -730,7 +730,7 @@
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"Tel"
>
<el-input
type=
"text"
maxlength=
"20"
v-model=
"addMsg.Tel"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
label=
"传真
"
prop=
"Fax"
>
<el-form-item
:label=
"$t('hotel.hotel_fax')
"
prop=
"Fax"
>
<el-input
type=
"text"
maxlength=
"20"
v-model=
"addMsg.Fax"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_parkDetail')"
prop=
"ParkInfo"
>
...
...
@@ -753,31 +753,31 @@
<div
class=
"percentCon"
>
{{
$t
(
'hotel.hotel_day'
)
}}
</div>
</div>
</div>
<el-form-item
label=
"是否预约
"
>
<el-form-item
:label=
"$t('ground.shifouyuyue')
"
>
<el-switch
v-model=
"addMsg.AppointmentStyle"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
</el-form-item>
<el-form-item
label=
"支付方式
"
>
<el-form-item
:label=
"$t('ground.zhifufangshi')
"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsHaveAuth==1?false:true"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in PayList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"餐厅类型
"
>
<el-form-item
:label=
"$t('ground.cantingleixing')
"
>
<el-select
v-model=
"addMsg.DiningType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in DiningTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"价格
"
>
<el-form-item
:label=
"$t('Operation.Op_price')
"
>
<el-select
v-model=
"addMsg.DiningPriceType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in DiningPriceTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"合作方式
"
>
<el-form-item
:label=
"$t('ground.hezuofangshi')
"
>
<el-select
v-model=
"addMsg.CooperationType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in CooperationTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
...
...
@@ -832,7 +832,7 @@
<el-form-item
:label=
"$t('restaurant.res_special')"
>
<el-input
type=
"textarea"
class=
"w300"
v-model=
"addMsg.Feature"
></el-input>
</el-form-item>
<el-form-item
label=
"温馨提示
"
prop=
"About"
>
<el-form-item
:label=
"$t('Operation.Op_Warmprompt')
"
prop=
"About"
>
<el-input
type=
"textarea"
maxlength=
"1000"
v-model=
"addMsg.About"
class=
"w300"
></el-input>
</el-form-item>
...
...
@@ -843,12 +843,12 @@
<el-switch
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
</el-form-item>
<el-form-item>
<el-switch
v-model=
"isBook"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
active-text=
"供应商
"
inactive-text=
"自订
"
></el-switch>
<el-switch
v-model=
"isBook"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:active-text=
"$t('hotel.hotel_Supplier')
"
:inactive-text=
"$t('ground.ziding')
"
></el-switch>
</el-form-item>
<el-form-item>
<el-switch
v-model=
"isRecommend"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
active-text=
"推荐
"
inactive-text=
"不推荐
"
></el-switch>
<el-switch
v-model=
"isRecommend"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:active-text=
"$t('visaT.Recommend')
"
:inactive-text=
"$t('ground.butuijian')
"
></el-switch>
</el-form-item>
</div>
<span
class=
"resource-lititle"
>
{{
$t
(
'hotel.hotel_imgintroduce'
)
}}
</span>
...
...
@@ -888,10 +888,10 @@
</div>
</el-form>
</div>
<el-dialog
custom-class=
"resourceImgAdd"
title=
"添加图片
"
center
:visible
.
sync=
"addimg"
>
<el-dialog
custom-class=
"resourceImgAdd"
:title=
"$t('pub.addImg')
"
center
:visible
.
sync=
"addimg"
>
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:imgType=
"2"
></DMCchooseImg>
</el-dialog>
<el-dialog
custom-class=
"mapList"
title=
"地图选址
"
center
:visible
.
sync=
"selectAddress"
>
<el-dialog
custom-class=
"mapList"
:title=
"$t('hotel.hotel_mapLocation')
"
center
:visible
.
sync=
"selectAddress"
>
<googleMap
@
refList=
"googleMap"
v-on:headCallBack=
"headCall"
v-bind:address=
"addMsg.Address"
></googleMap>
</el-dialog>
...
...
@@ -1010,40 +1010,40 @@
//表单必填验证
Name
:
[{
required
:
true
,
message
:
"请填写名称"
,
message
:
this
.
$t
(
'ground.qingtianxiemc'
)
,
trigger
:
"change"
}],
RealName
:
[{
required
:
true
,
message
:
"请填写真实名称"
,
message
:
this
.
$t
(
'ground.qingtxzsxm'
)
,
trigger
:
"change"
}],
Address
:
[{
required
:
true
,
message
:
"请选择地址"
,
message
:
this
.
$t
(
'ground.qingxuanzedz'
)
,
trigger
:
"change"
}],
Descriptions
:
[{
required
:
true
,
message
:
"请输入文字描述"
,
message
:
this
.
$t
(
'ground.qingshuruwzms'
)
,
trigger
:
"change"
}],
DieLine
:
[{
pattern
:
this
.
$commonUtils
.
Regex
.
el_isInteger
,
message
:
"请输入正确的数字"
message
:
this
.
$t
(
'ground.qingshuruzqdsz'
)
}],
RebateCount
:
[{
pattern
:
this
.
$commonUtils
.
Regex
.
el_isInteger
,
message
:
"请输入正确的数字"
message
:
this
.
$t
(
'ground.qingshuruzqdsz'
)
}],
RebateRatio
:
[{
pattern
:
this
.
$commonUtils
.
Regex
.
el_isInteger
,
message
:
"请输入正确的数字"
message
:
this
.
$t
(
'ground.qingshuruzqdsz'
)
}],
SupportCount
:
[{
required
:
true
,
message
:
"请填写可预订人数"
,
message
:
this
.
$t
(
'ground.qingtxkydrs'
)
,
trigger
:
"change"
}]
}
...
...
@@ -1142,7 +1142,7 @@
res
=>
{
//修改添加接口
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tips
(
"保存成功!"
,
"success"
);
this
.
tips
(
this
.
$t
(
'tips.baocunchenggong'
)
,
"success"
);
this
.
goUrl
(
"restaurantList"
);
}
else
{
this
.
tips
(
res
.
data
.
message
,
"error"
);
...
...
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