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
e0c32196
Commit
e0c32196
authored
Jul 03, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增权限控制
parent
edb13774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+18
-14
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
e0c32196
...
...
@@ -192,7 +192,7 @@
<!-- 单价/每人 -->
<td>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
>
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
:disabled=
"IsEditHotel==0?true:false"
>
</el-input>
</td>
<!-- 免减人数 -->
...
...
@@ -209,7 +209,7 @@
<td>
<p
class=
"pHouseStyle link"
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"calculationPrice(subItem)"
></el-input>
%
v-model=
'childItem.RebateRatio'
@
input=
"calculationPrice(subItem)"
:disabled=
"IsEditHotel==0?true:false"
></el-input>
%
<span
style=
"display:none;"
class=
"spanlink"
@
click=
"goUrl('HotelInfo',childItem,'酒店管理')"
>
设置
</span>
</p>
</td>
...
...
@@ -223,7 +223,7 @@
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
订房状态:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCState'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCState'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsEditHotel==0?true:false"
>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'确定'
:value=
'1'
></el-option>
<el-option
label=
'暂定'
:value=
'2'
></el-option>
...
...
@@ -236,16 +236,16 @@
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
确认时间:
</td>
<td>
<el-date-picker
v-model=
'subItem.SureTime'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'subItem.SureTime'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
:disabled=
"IsEditHotel==0?true:false"
></el-date-picker>
</td>
</tr>
<tr>
<td
colspan=
"2"
style=
"height:5px;"
></td>
</tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
税入/税别
</td>
<td
width=
"70"
style=
"text-align:right;"
>
税入/税别
:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.TaxType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"calculationPrice(subItem)"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.TaxType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"calculationPrice(subItem)"
:disabled=
"IsEditHotel==0?true:false"
>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'税入'
:value=
'1'
></el-option>
<el-option
label=
'税别'
:value=
'2'
></el-option>
...
...
@@ -256,9 +256,9 @@
<td
colspan=
"2"
style=
"height:5px;"
></td>
</tr>
<tr>
<td
width=
"70"
style=
"text-align:right;color:red"
>
地接
付款方式:
</td>
<td
width=
"70"
style=
"text-align:right;color:red"
>
付款方式:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCPayType'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCPayType'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsEditHotel==0?true:false"
>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'现付'
:value=
'1'
></el-option>
<el-option
label=
'签单'
:value=
'2'
></el-option>
...
...
@@ -268,13 +268,13 @@
</el-select>
</td>
</tr>
<tr>
<tr
style=
"display:none;"
>
<td
colspan=
"2"
style=
"height:5px;"
></td>
</tr>
<tr>
<tr
style=
"display:none;"
>
<td
width=
"70"
style=
"text-align:right;"
>
报账付款方式:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsEditHotel==0?true:false"
>
<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>
...
...
@@ -291,7 +291,7 @@
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"70"
style=
"text-align:right;"
>
付款团号:
</td>
<td>
<el-input
class=
'w135'
v-model=
'subItem.PayTypeTCNUM'
></el-input>
<el-input
class=
'w135'
v-model=
'subItem.PayTypeTCNUM'
:disabled=
"IsEditHotel==0?true:false"
></el-input>
</td>
</tr>
<tr>
...
...
@@ -394,7 +394,7 @@
checkedsubIndex
:
''
,
loading
:
false
,
boxHeight
:
0
,
IsOperation
:
''
,
//供应商列表
SupplierList
:
[],
ckedHotelId
:
0
,
...
...
@@ -402,6 +402,10 @@
showHotelList
:
false
,
findex
:
0
,
childIndex
:
0
,
//修改酒店价格,付款方式权限[0-不能修改,1-有权限修改]
IsEditHotel
:
0
,
//0-可以操作,1-已制单,不能操作
IsOperation
:
1
,
}
},
components
:
{
...
...
@@ -555,8 +559,8 @@
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsOperation
=
res
.
data
.
data
.
IsOperation
;
this
.
IsEditHotel
=
res
.
data
.
data
.
IsEditHotel
;
let
list
=
res
.
data
.
data
.
HotelOrderListReport
;
this
.
CreateBy
=
res
.
data
.
data
.
CreateBy
;
this
.
CreateByPhoto
=
res
.
data
.
data
.
CreateByPhoto
;
this
.
CreateByAccount
=
res
.
data
.
data
.
CreateByAccount
;
...
...
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