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
8ef67977
Commit
8ef67977
authored
May 30, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付方式修改
parent
cdc8e5b5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
29 deletions
+42
-29
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+11
-9
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+9
-1
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+13
-16
scenicSpotInfoManage.vue
src/components/scenicSpot/scenicSpotInfoManage.vue
+9
-3
No files found.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
8ef67977
...
...
@@ -116,12 +116,13 @@
</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'
></el-option>
<el-option
label=
'签单'
value=
'2'
></el-option>
<el-option
label=
'实物抵扣'
value=
'3'
></el-option>
<el-option
label=
'预付'
value=
'4'
></el-option>
<el-option
label=
'公司合团支付'
value=
'6'
></el-option>
<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=
'6'
></el-option>
</el-select>
</td>
</tr>
...
...
@@ -138,8 +139,8 @@
</el-select>
</td>
</tr>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
付款团号:
</td>
<td
style=
"text-align:left;"
>
...
...
@@ -234,7 +235,6 @@
this
.
list
.
forEach
(
item
=>
{
item
.
DinnerList
=
[];
item
.
DiningSummaryList
.
forEach
(
x
=>
{
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
x
.
DiningReserveType
=
x
.
DiningReserveType
.
toString
();
this
.
calculationPrice
(
x
);
item
.
DinnerList
.
push
({
...
...
@@ -318,6 +318,8 @@
if
(
subItem
.
NewDiningID
==
x
.
ID
)
{
subItem
.
Address
=
x
.
Address
;
subItem
.
Tel
=
x
.
Tel
;
subItem
.
PayStyle
=
x
.
PayStyle
;
subItem
.
PayStyleExt
=
x
.
PayStyle
;
}
})
},
...
...
src/components/Restaurant/restaurantInfoManage.vue
View file @
8ef67977
...
...
@@ -757,7 +757,7 @@
<el-switch
v-model=
"addMsg.AppointmentStyle"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
</el-form-item>
<el-form-item
label=
"支付方式"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<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>
...
...
@@ -916,6 +916,8 @@
navbar
:
false
,
title
:
false
},
//是否有权限操作支付方式
IsHaveAuth
:
0
,
images
:
[],
selectAddress
:
false
,
addimg
:
false
,
...
...
@@ -1460,6 +1462,12 @@
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
()
//有权限操作的部门
if
(
userInfo
.
RB_Department_Id
==
240
||
userInfo
.
RB_Department_Id
==
1
||
userInfo
.
RB_Department_Id
==
3
||
userInfo
.
RB_Branch_id
==
49
)
{
this
.
IsHaveAuth
=
1
;
}
this
.
GetPayList
();
this
.
GetDiningTypeList
();
this
.
GetDiningPriceTypeList
();
...
...
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
8ef67977
...
...
@@ -105,17 +105,18 @@
</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'
></el-option>
<el-option
label=
'签单'
value=
'2'
></el-option>
<el-option
label=
'实物抵扣'
value=
'5'
></el-option>
<el-option
label=
'预付'
value=
'4'
></el-option>
<el-option
label=
'公司合团支付'
value=
'6'
></el-option>
<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=
'6'
></el-option>
</el-select>
</td>
</tr>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
付款团号:
</td>
<td
style=
"text-align:left;"
>
...
...
@@ -130,7 +131,6 @@
<el-input
class=
'w135'
v-model=
'subItem.CombinationNum'
type=
"text"
></el-input>
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
...
...
@@ -192,7 +192,6 @@
this
.
DataList
=
res
.
data
.
data
;
this
.
DataList
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
x
=>
{
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
this
.
calculationPrice
(
x
);
if
(
x
.
CombinationNum
==
''
||
x
.
CombinationNum
==
null
)
{
x
.
CombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
...
...
@@ -213,9 +212,8 @@
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
}
if
(
!
subItem
.
UsePeopleNum
)
{
subItem
.
UsePeopleNum
=
0
;
if
(
!
subItem
.
UsePeopleNum
)
{
subItem
.
UsePeopleNum
=
0
;
}
});
})
...
...
@@ -229,9 +227,8 @@
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
}
if
(
!
subItem
.
UsePeopleNum
)
{
subItem
.
UsePeopleNum
=
0
;
if
(
!
subItem
.
UsePeopleNum
)
{
subItem
.
UsePeopleNum
=
0
;
}
});
})
...
...
src/components/scenicSpot/scenicSpotInfoManage.vue
View file @
8ef67977
...
...
@@ -658,7 +658,7 @@
<el-switch
v-model=
"addMsg.AppointmentStyle"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
</el-form-item>
<el-form-item
label=
"支付方式"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<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>
...
...
@@ -804,11 +804,11 @@
navbar
:
false
,
title
:
false
},
//是否有权限操作支付方式
IsHaveAuth
:
0
,
images
:
[],
selectAddress
:
false
,
addimg
:
false
,
// imgArray: [],
// PicPathArray: [],
imgKeyword
:
""
,
imglistArry
:
[],
openplatform
:
""
,
...
...
@@ -1322,6 +1322,12 @@
},
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
()
//有权限操作的部门
if
(
userInfo
.
RB_Department_Id
==
240
||
userInfo
.
RB_Department_Id
==
1
||
userInfo
.
RB_Department_Id
==
3
||
userInfo
.
RB_Branch_id
==
49
)
{
this
.
IsHaveAuth
=
1
;
}
this
.
GetPayList
();
this
.
ID
=
this
.
$route
.
query
.
id
;
var
jsArray
=
document
.
getElementsByTagName
(
"script"
);
...
...
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