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
7d953326
Commit
7d953326
authored
Sep 17, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
340567cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
46 deletions
+45
-46
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+2
-0
ShoppingReimbursement2.vue
src/components/ShoppingStore/ShoppingReimbursement2.vue
+2
-2
PriceHotelWorkList.vue
...omponents/TravelManager/TravelList/PriceHotelWorkList.vue
+25
-14
commonPriceHotelWork.vue
src/components/commonPage/commonPriceHotelWork.vue
+16
-30
No files found.
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
7d953326
...
@@ -448,6 +448,8 @@
...
@@ -448,6 +448,8 @@
"-"
+
"-"
+
myDate
.
getDate
();
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
this
.
msg
.
StartDate
=
nowDate
;
// this.msg.StartDate='';
// this.msg.TCNUM='NRTCA08190613A';
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
},
},
...
...
src/components/ShoppingStore/ShoppingReimbursement2.vue
View file @
7d953326
...
@@ -371,8 +371,8 @@
...
@@ -371,8 +371,8 @@
parseInt
(
myDate
.
getMonth
()
+
1
)
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
"-"
+
myDate
.
getDate
();
myDate
.
getDate
();
//
this.msg.StartDate = nowDate;
this
.
msg
.
StartDate
=
nowDate
;
this
.
msg
.
TCNUM
=
"NRTMU07190702A"
;
//
this.msg.TCNUM="NRTMU07190702A";
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
},
},
...
...
src/components/TravelManager/TravelList/PriceHotelWorkList.vue
View file @
7d953326
...
@@ -175,7 +175,8 @@
...
@@ -175,7 +175,8 @@
<td>
<td>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
v-model=
"subItem.isShowPop"
>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
v-model=
"subItem.isShowPop"
>
<commonPriceHotelWork
:ref=
"'commonPriceHotelWork_'+index+'_'+subIndex+'_'+childIndex+''"
<commonPriceHotelWork
:ref=
"'commonPriceHotelWork_'+index+'_'+subIndex+'_'+childIndex+''"
:DateStr=
"childItem.JourneyDate"
:TCID=
"item.TCID"
:DayNum=
"subItem.DayNum"
>
:DateStr=
"childItem.JourneyDate"
:TCID=
"item.TCID"
:DayNum=
"subItem.DayNum"
v-on:childPriceHotel=
"priceHotelList"
>
</commonPriceHotelWork>
</commonPriceHotelWork>
<el-button
size=
"small"
type=
"danger"
<el-button
size=
"small"
type=
"danger"
:data-index=
"'commonPriceHotelWork_'+index+'_'+subIndex+'_'+childIndex+''"
slot=
"reference"
:data-index=
"'commonPriceHotelWork_'+index+'_'+subIndex+'_'+childIndex+''"
slot=
"reference"
...
@@ -290,10 +291,30 @@
...
@@ -290,10 +291,30 @@
methods
:
{
methods
:
{
//点击酒店
//点击酒店
getPriceHotel
(
index
,
subIndex
,
childIndex
)
{
getPriceHotel
(
index
,
subIndex
,
childIndex
)
{
console
.
log
(
index
,
subIndex
,
childIndex
);
let
str
=
`commonPriceHotelWork_
${
index
}
_
${
subIndex
}
_
${
childIndex
}
`
;
let
str
=
`commonPriceHotelWork_
${
index
}
_
${
subIndex
}
_
${
childIndex
}
`
;
console
.
log
(
"str"
,
str
);
this
.
$refs
[
str
][
0
].
getPriceHotelCheck
();
//this.$refs[str].getCheckHotel();
},
//父页面方法
priceHotelList
(
obj
)
{
this
.
DataList
.
forEach
(
x
=>
{
x
.
HotelOrderListReports
.
forEach
(
y
=>
{
y
.
isShowPop
=
false
;
})
});
//console.log("obj", obj);
var
nMsg
=
{
TCID
:
obj
.
TCID
,
DayNum
:
obj
.
DayNum
,
HotelId
:
obj
.
ID
};
console
.
log
(
"nMsg"
,
nMsg
);
this
.
apipost
(
"travel_post_SavePriceHotelService"
,
nMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
},
},
goUrlR
(
path
,
obj
,
title
)
{
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -361,7 +382,6 @@
...
@@ -361,7 +382,6 @@
});
});
}
}
this
.
DataList
=
sourceData
;
this
.
DataList
=
sourceData
;
console
.
log
(
"this.dataList"
,
this
.
DataList
);
this
.
$forceUpdate
()
this
.
$forceUpdate
()
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
...
@@ -379,14 +399,6 @@
...
@@ -379,14 +399,6 @@
}
}
});
});
},
},
getChildHotel
(
index
,
subIndex
)
{
this
.
findex
=
index
;
this
.
childIndex
=
subIndex
;
let
str
=
`comCheckHotel
${
index
}${
subIndex
}
`
this
.
$refs
[
str
][
0
].
getCheckHotel
();
},
//获取目的地列表
//获取目的地列表
getLinePlaceList
()
{
getLinePlaceList
()
{
this
.
msg
.
PlaceID
=
0
;
this
.
msg
.
PlaceID
=
0
;
...
@@ -476,7 +488,6 @@
...
@@ -476,7 +488,6 @@
parseInt
(
myDate
.
getMonth
()
+
1
)
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
"-"
+
myDate
.
getDate
();
myDate
.
getDate
();
this
.
msg
.
StartGroupDate
=
nowDate
;
this
.
msg
.
StartGroupDate
=
nowDate
;
let
width
=
window
.
innerWidth
-
50
;
let
width
=
window
.
innerWidth
-
50
;
let
height
=
window
.
innerHeight
-
65
-
164
;
let
height
=
window
.
innerHeight
-
65
-
164
;
...
...
src/components/commonPage/commonPriceHotelWork.vue
View file @
7d953326
<
style
>
<
style
>
.com
CheckHotel
.comCheckHotel
{
.com
monPriceHotelWork
.comCheckHotel
{
width
:
100%
;
width
:
100%
;
height
:
150px
;
height
:
150px
;
overflow
:
auto
overflow
:
auto
}
}
.com
CheckHotel
.comCk_list
{
.com
monPriceHotelWork
.comCk_list
{
padding
:
0
20px
;
padding
:
0
20px
;
margin
:
0
15px
5px
0
;
margin
:
0
15px
5px
0
;
}
}
.com
CheckHotel
.cm_Inventory
{
.com
monPriceHotelWork
.cm_Inventory
{
margin-left
:
20px
;
margin-left
:
20px
;
color
:
red
;
color
:
red
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.com
CheckHotel
.cm_hotelTitle
{
.com
monPriceHotelWork
.cm_hotelTitle
{
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
@@ -25,15 +25,15 @@
...
@@ -25,15 +25,15 @@
padding
:
0
20px
10px
20px
;
padding
:
0
20px
10px
20px
;
}
}
.com
CheckHotel
.com_SaveBtn
{
.com
monPriceHotelWork
.com_SaveBtn
{
margin
:
10px
20px
0
45%
;
margin
:
10px
20px
0
45%
;
}
}
.com
CheckHotel
.ckedList
{
.com
monPriceHotelWork
.ckedList
{
background-color
:
#E95252
;
background-color
:
#E95252
;
color
:
#fff
;
color
:
#fff
;
}
}
.com
CheckHotel
.Ck_hotelInfo
{
.com
monPriceHotelWork
.Ck_hotelInfo
{
width
:
100%
;
width
:
100%
;
height
:
40px
;
height
:
40px
;
background-color
:
#F6F8FB
;
background-color
:
#F6F8FB
;
...
@@ -41,15 +41,11 @@
...
@@ -41,15 +41,11 @@
line-height
:
40px
;
line-height
:
40px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.comCheckHotel
.ck_goUrl
{
color
:
blue
;
cursor
:
pointer
;
margin-left
:
10px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"com
CheckHotel
"
>
<div
class=
"com
monPriceHotelWork
"
>
<div
class=
"Ck_hotelInfo"
>
<div
class=
"Ck_hotelInfo"
>
<span
style=
"color:red"
>
{{
DateStr
}}
</span>
酒店库存信息
<span
style=
"color:red"
>
{{
DateStr
}}
</span>
酒店库存信息
</div>
</div>
...
@@ -77,7 +73,7 @@
...
@@ -77,7 +73,7 @@
<label
:for=
"'H'+index+'_'+subIndex"
style=
"cursor: pointer"
>
{{
subItem
.
Name
}}
</label>
<label
:for=
"'H'+index+'_'+subIndex"
style=
"cursor: pointer"
>
{{
subItem
.
Name
}}
</label>
<span
class=
"cm_Inventory"
>
{{
subItem
.
Inventory
}}
</span>
<span
class=
"cm_Inventory"
>
{{
subItem
.
Inventory
}}
</span>
<span
class=
"cm_Inventory"
>
剩余:
{{
subItem
.
RemainingInventory
}}
</span>
<span
class=
"cm_Inventory"
>
剩余:
{{
subItem
.
RemainingInventory
}}
</span>
<span
class=
"c
k_goUrl"
@
click=
"goUrl(subItem.ID)"
>
新增库存
</span>
<span
class=
"c
m_Inventory"
>
价格:
{{
subItem
.
CostPrice
}}
</span>
</div>
</div>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
...
@@ -103,7 +99,7 @@
...
@@ -103,7 +99,7 @@
};
};
},
},
methods
:
{
methods
:
{
get
CheckHotel
()
{
get
PriceHotelCheck
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
IsShow
=
false
;
this
.
IsShow
=
false
;
this
.
dataList
=
[];
this
.
dataList
=
[];
...
@@ -115,7 +111,7 @@
...
@@ -115,7 +111,7 @@
IsAllHotel
:
1
,
IsAllHotel
:
1
,
Province
:
this
.
qMsg
.
ProvinceId
,
Province
:
this
.
qMsg
.
ProvinceId
,
Name
:
this
.
qMsg
.
Name
,
Name
:
this
.
qMsg
.
Name
,
sDate
:
this
.
UseDate
sDate
:
this
.
DateStr
},
res
=>
{
},
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
IsShow
=
true
;
this
.
IsShow
=
true
;
...
@@ -155,8 +151,11 @@
...
@@ -155,8 +151,11 @@
ckHotelObj
.
RebateRatio
=
this
.
ckedHotel
.
RebateRatio
;
ckHotelObj
.
RebateRatio
=
this
.
ckedHotel
.
RebateRatio
;
ckHotelObj
.
RebateCount
=
this
.
ckedHotel
.
RebateCount
;
ckHotelObj
.
RebateCount
=
this
.
ckedHotel
.
RebateCount
;
ckHotelObj
.
CostPrice
=
this
.
ckedHotel
.
CostPrice
;
ckHotelObj
.
CostPrice
=
this
.
ckedHotel
.
CostPrice
;
ckHotelObj
.
TCID
=
this
.
TCID
;
ckHotelObj
.
DateStr
=
this
.
DateStr
;
ckHotelObj
.
DayNum
=
this
.
DayNum
;
}
}
this
.
$emit
(
"childHotel"
,
ckHotelObj
);
this
.
$emit
(
"child
Price
Hotel"
,
ckHotelObj
);
},
},
//获取日本下面的市->下拉框用
//获取日本下面的市->下拉框用
getProvinceList
()
{
getProvinceList
()
{
...
@@ -172,19 +171,6 @@
...
@@ -172,19 +171,6 @@
},
},
err
=>
{}
err
=>
{}
);
);
},
goUrl
(
ID
){
this
.
$router
.
push
({
path
:
'HotelProductManage2'
,
query
:
{
id
:
ID
,
Country
:
651
,
IsSelfBook
:
1
,
blank
:
'y'
,
tab
:
'报价详情'
}
});
}
}
},
},
mounted
()
{
mounted
()
{
...
...
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