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
350d0ce0
Commit
350d0ce0
authored
Apr 02, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
01f9825a
56237748
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
16 deletions
+26
-16
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+26
-16
No files found.
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
350d0ce0
...
@@ -5,9 +5,11 @@
...
@@ -5,9 +5,11 @@
<li>
<li>
<span>
<span>
<em>
所属线路
</em>
<em>
所属线路
</em>
<el-select
class=
"w150"
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId)"
>
<el-select
class=
"w150"
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
></el-option>
<el-option
v-for=
"item in LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"item.LineID"
></el-option>
<el-option
v-for=
"item in LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"item.LineID"
>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
...
@@ -40,8 +42,8 @@
...
@@ -40,8 +42,8 @@
</ul>
</ul>
</div>
</div>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsTalbe"
style=
"border: 1px solid rgb(230, 230, 230);background: #ccc;min-width: 1600px"
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsTalbe"
v-loading=
"loading"
>
style=
"border: 1px solid rgb(230, 230, 230);background: #ccc;min-width: 1600px"
v-loading=
"loading"
>
<tr>
<tr>
<th
colspan=
"5"
>
公司通用信息
</th>
<th
colspan=
"5"
>
公司通用信息
</th>
<th
colspan=
"8"
>
导游操作
</th>
<th
colspan=
"8"
>
导游操作
</th>
...
@@ -129,7 +131,8 @@
...
@@ -129,7 +131,8 @@
</td>
</td>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<!--凭证上传-->
<!--凭证上传-->
<div
v-for=
"subItem in item.CommonReport.PriceShopList"
v-if=
"subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0"
>
<div
v-for=
"subItem in item.CommonReport.PriceShopList"
v-if=
"subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0"
>
<p
v-for=
"(img, imgIndex) in subItem.ShopDetailsList[0].imgList"
title=
"点击下载"
@
click=
"downLoadPZ(img)"
<p
v-for=
"(img, imgIndex) in subItem.ShopDetailsList[0].imgList"
title=
"点击下载"
@
click=
"downLoadPZ(img)"
v-if=
"img !== ''"
style=
"cursor: pointer;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
v-if=
"img !== ''"
style=
"cursor: pointer;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
</div>
</div>
...
@@ -168,30 +171,36 @@
...
@@ -168,30 +171,36 @@
</td>
</td>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<!--地接OP凭证-->
<!--地接OP凭证-->
<div
v-for=
"subItem in item.CommonReport.PriceShopList"
v-if=
"subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0"
>
<div
v-for=
"subItem in item.CommonReport.PriceShopList"
<p
v-for=
"(img, imgIndex) in subItem.ShopDetailsList[0].dmcImageList"
title=
"点击下载"
@
click=
"downLoadPZ(img)"
v-if=
"subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0"
>
v-if=
"img !== ''"
style=
"cursor: pointer;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
<p
v-for=
"(img, imgIndex) in subItem.ShopDetailsList[0].dmcImageList"
title=
"点击下载"
@
click=
"downLoadPZ(img)"
v-if=
"img !== ''"
style=
"cursor: pointer;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
</div>
</div>
</td>
</td>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
class=
"more_td"
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<
template
v-for=
"subItem in item.CommonReport.PriceShopList"
>
<
template
v-for=
"subItem in item.CommonReport.PriceShopList"
>
<div>
<div>
<!--subItem.ShopDetailsList-->
<!--subItem.ShopDetailsList-->
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)"
>
生成单据
</p>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)"
>
生成单据
</p>
</div>
</div>
</
template
>
</
template
>
</td>
</td>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
选择购物店
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
<p
style=
"cursor: pointer;color:blue;margin-top:10px"
@
click=
"goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')"
>
操作
</p>
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
选择购物店
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:10px"
@
click=
"goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')"
>
操作
</p>
</td>
</td>
</tr>
</tr>
</template>
</template>
</tbody>
</tbody>
</table>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
:page-size=
"msg.pageSize"
:total=
"msg.total"
></el-pagination>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
></el-pagination>
</div>
</div>
<a
id=
'blankLink1'
target=
"_blank"
style=
"display:none"
>
1
</a>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -211,6 +220,7 @@
...
@@ -211,6 +220,7 @@
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
},
},
hrefStr
:
""
,
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
thLengthTitle
:
[],
thLengthTitle
:
[],
...
@@ -221,9 +231,9 @@
...
@@ -221,9 +231,9 @@
methods
:
{
methods
:
{
downLoadPZ
:
function
(
src
)
{
downLoadPZ
:
function
(
src
)
{
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
dom
=
document
.
querySelector
(
"#blankLink
1
"
)
dom
.
href
=
src
dom
.
href
=
src
;
dom
.
click
()
dom
.
click
()
;
},
},
stringToArr
(
str
)
{
stringToArr
(
str
)
{
return
str
.
split
(
','
)
return
str
.
split
(
','
)
...
...
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