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
d4e37966
Commit
d4e37966
authored
Nov 26, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
2ec66694
f1848e91
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
217 additions
and
51 deletions
+217
-51
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+11
-1
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+200
-44
CouponsList.vue
src/components/SalesModule/CouponsList.vue
+2
-2
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+3
-3
RegistrationStatistics.vue
...nents/TravelManager/TravelList/RegistrationStatistics.vue
+1
-1
No files found.
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
d4e37966
...
...
@@ -520,7 +520,7 @@ tr._item_list td:last-child {
<el-option
value=
"3"
v-if=
"isShowType"
label=
"单办签证"
></el-option>
<el-option
value=
"2"
label=
"国际机票"
></el-option>
<el-option
value=
"4"
label=
"国内票务"
></el-option>
<
el-option
value=
"5"
v-if=
"isShowType"
label=
"散卖机票"
></el-option
>
<
!--
<el-option
value=
"5"
v-if=
"isShowType"
label=
"散卖机票"
></el-option>
--
>
<el-option
value=
"6"
v-if=
"isShowType"
label=
"日本地接部专户"
></el-option>
<el-option
value=
"12"
v-if=
"isShowType"
label=
"日本地接部专户(人民币)"
></el-option>
<el-option
value=
"7"
v-if=
"isShowType"
label=
"老挝地接部专户"
></el-option>
...
...
@@ -529,6 +529,7 @@ tr._item_list td:last-child {
<el-option
value=
"10"
v-if=
"isShowType"
label=
"景点门票"
></el-option>
<el-option
value=
"11"
v-if=
"isShowType"
label=
"餐厅美食"
></el-option>
<el-option
value=
"13"
label=
"机票折让收入"
></el-option>
<el-option
value=
"14"
label=
"单机票收入"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -664,6 +665,7 @@ Vue.component("TCIDJump", {
<span style="cursor: pointer" v-if="rowData.DataType===9">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===10">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===11">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===14" @click="goSAirRec('TicketManager',rowData)">{{rowData.TCID}}</span>
</div>
`
,
...
...
@@ -704,6 +706,7 @@ Vue.component("TCNUMJump", {
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===7" @click="goRec('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===12" @click="goRec('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===13" @click="goRec('RecPayQuery',rowData)">机票折让{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===14" @click="goSAirRec('TicketManager',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===8" @click="goAIR('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===9">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===10">{{rowData.TCNUM}}</span>
...
...
@@ -756,6 +759,13 @@ Vue.component("TCNUMJump", {
query
:
{
'air'
:
'air'
,
'StartDate'
:
StartDate
,
"BankID"
:
17
,
blank
:
"y"
}
});
},
goSAirRec
(
path
,
rowData
){
this
.
$router
.
push
({
path
:
"/"
+
path
,
query
:
{
'id'
:
rowData
.
TCID
,
blank
:
"y"
}
});
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
...
...
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
d4e37966
...
...
@@ -23,6 +23,46 @@
.page_CompanyAccDetail
.CAcc_bg_green
{
color
:
#2BB87C
}
._addChuNa_tit
{
color
:
gray
;
margin-bottom
:
10px
;}
._addChuNa_tit
span
{
color
:
#333333
}
.page_CompanyAccDetail
._addUpload_box
{
display
:
block
;
margin-top
:
20px
;
width
:
590px
;
}
.page_CompanyAccDetail
._addUpload_box
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
padding
:
5px
;
margin
:
0
10px
10px
0
;
position
:
relative
;
}
.page_CompanyAccDetail
.el-upload-dragger
{
width
:
126px
!important
;
height
:
80px
!important
;
}
.page_CompanyAccDetail
._addUpload_box
.icon-guanbi1
{
font-size
:
12px
;
color
:
white
;
display
:
inline-block
;
margin-left
:
15px
;
position
:
absolute
;
right
:
-6px
;
top
:
-9px
;
background-color
:
#f56c6c
;
border-radius
:
50%
;
height
:
20px
;
width
:
20px
;
text-align
:
center
;
line-height
:
20px
;
}
.page_CompanyAccDetail
._addUpload_box
.icon-guanbi1
:hover
{
font-size
:
12px
;
color
:
#c94052
;
}
</
style
>
<
template
>
<div
class=
'flexOne page_CompanyAccDetail'
>
...
...
@@ -299,7 +339,6 @@
<td>
{{moneyFormat(payMsg.allMoney)}}
</td>
</tr>
</template>
<tr>
<td
height=
"34px"
>
{{$t('fnc.a_zongjine')}}
</td>
<td
height=
"34px"
colspan=
"7"
>
...
...
@@ -337,12 +376,62 @@
</td>
</tr>
</table>
<el-form
label-width=
"110px"
>
<el-row>
<el-col
:span=
"12"
:gutter=
"35"
>
<el-form-item
label=
"上传凭证"
>
<div
class=
"_addUpload_box clearfix"
>
<
template
v-for=
"(file,fIndex) in saveMsg"
>
<div
v-if=
"file.Type==3"
>
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"file.Url?file.Url:file.Content"
@
click=
"showUpLoadFile(file)"
>
</div>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex)"
></span>
</div>
<div
v-if=
"file.Type==1"
>
<div
class=
"iconfont "
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFile(file)"
>
</div>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex)"
></span>
</div>
<div
v-if=
"file.Type==2"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file)"
>
</div>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex)"
></span>
</div>
</
template
>
<div
class=
"_pic_upload"
>
<el-upload
drag
:http-request=
"uploadFileBtn"
:multiple=
"true"
:show-file-list=
"false"
action=
""
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<div
class=
"el-upload__text"
>
{{$t('active.ld_djscwj')}}
</div>
</el-upload>
</div>
</div>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitAddChuNa"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"initAddChuNa"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<div
v-if=
'picIsShow'
class=
"_show_img_box"
@
click=
"picIsShow=false,picObj=[]"
>
<div
style=
"position: absolute; width: 800px; height: 600px; left: 50%; top: 50%; margin-left: -400px; margin-top: -300px;"
>
<el-carousel
:initial-index=
initialIndex
height=
"600px"
:interval=
"5000"
trigger=
"click"
>
<el-carousel-item
style=
"height: 600px;overflow:auto;"
v-for=
"(item,index) in picObj"
:key=
"index"
>
<img
:src=
"item"
style=
""
/>
</el-carousel-item>
</el-carousel>
</div>
</div>
</div>
</template>
<
script
>
...
...
@@ -408,6 +497,7 @@ export default {
RemitterName
:
''
,
TradeDate
:
''
,
BankList
:[],
vorcherInos
:[]
},
AccListT
:[],
accountListT
:[],
...
...
@@ -421,6 +511,13 @@ export default {
isCheckAll
:
false
,
//是否显示全选框
isShowCheckAll
:
false
,
picIsShow
:
false
,
picObj
:[],
imgList
:[],
//上传数组
saveMsg
:[],
TradeDate
:
''
,
initialIndex
:
0
,
}
},
created
(){
...
...
@@ -628,9 +725,10 @@ export default {
},
initAddChuNa
(){
this
.
payMsgList
=
[];
this
.
saveMsg
=
[];
this
.
listAllMoney
=
0
;
this
.
huikuanren
=
''
;
this
.
TradeDate
=
''
;
this
.
TradeDate
=
''
;
this
.
addChuNa
=
false
;
this
.
payMsg
=
{
ID
:
0
,
...
...
@@ -803,7 +901,8 @@ export default {
this
.
allLoading
=
true
this
.
apipost
(
'Financial_post_MergeFinance'
,
this
.
addMsg
,
r
=>
{
if
(
r
.
data
.
resultCode
===
1
)
{
this
.
addChuNa
=
false
this
.
addChuNa
=
false
;
this
.
saveMsg
=
[];
this
.
getList
()
}
else
{
this
.
$message
.
error
(
r
.
data
.
message
)
...
...
@@ -905,50 +1004,107 @@ export default {
this
.
$message
.
error
(
this
.
$t
(
'fnc.a_qxzdanju'
))
}
},
addList
(){
if
(
this
.
payMsg
.
AccountId
===
''
)
return
;
if
(
this
.
payMsg
.
OriginalMoney
===
0
||
this
.
payMsg
.
OriginalMoney
===
''
)
return
;
if
(
this
.
payMsg
.
AccountId
===
''
)
return
;
this
.
payMsgList
.
push
(
this
.
payMsg
);
this
.
payMsg
=
{
ID
:
0
,
FinanceId
:
''
,
Type
:
''
,
AccountId
:
''
,
OriginalMoney
:
0
,
CurrencyId
:
''
,
Rate
:
0
,
Fee
:
0
,
Name
:
''
,
CurrenName
:
''
,
Account
:
''
,
balance
:
''
,
allMoney
:
0
,
show
:
false
,
};
this
.
CalculationMoney
();
},
CalculationMoney
(){
// this.listAllMoney = 0;
// this.payMsgList.forEach(x=>{
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
},
financeinfo_post_GetCostTypeList
(){
// 费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,{
Name
:
''
,
type
:
0
,
DepartIDs
:
this
.
DepartIDs
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
GetCostTypeList
=
res
.
data
.
data
;
addList
(){
if
(
this
.
payMsg
.
AccountId
===
''
)
return
;
if
(
this
.
payMsg
.
OriginalMoney
===
0
||
this
.
payMsg
.
OriginalMoney
===
''
)
return
;
if
(
this
.
payMsg
.
AccountId
===
''
)
return
;
this
.
payMsgList
.
push
(
this
.
payMsg
);
this
.
payMsg
=
{
ID
:
0
,
FinanceId
:
''
,
Type
:
''
,
AccountId
:
''
,
OriginalMoney
:
0
,
CurrencyId
:
''
,
Rate
:
0
,
Fee
:
0
,
Name
:
''
,
CurrenName
:
''
,
Account
:
''
,
balance
:
''
,
allMoney
:
0
,
show
:
false
,
};
this
.
CalculationMoney
();
},
CalculationMoney
(){
// this.listAllMoney = 0;
// this.payMsgList.forEach(x=>{
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
},
financeinfo_post_GetCostTypeList
(){
// 费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,{
Name
:
''
,
type
:
0
,
DepartIDs
:
this
.
DepartIDs
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
GetCostTypeList
=
res
.
data
.
data
;
}
else
{
}
},
err
=>
{})
},
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
showUpLoadFile
(
i
){
// 预览上传文件
if
(
i
.
Type
==
3
){
this
.
picObj
.
push
(
i
.
Url
);
this
.
imgList
.
push
(
i
.
Url
);
this
.
picIsShow
=
false
;
// this.hideFlashMan = true;
}
else
{
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
){
this
.
previewPDF
(
i
.
Url
)
}
else
{
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Url
)
}
}
},
deleteUploadFile
(
i
){
// 删除上传文件
this
.
saveMsg
.
splice
(
i
,
1
);
this
.
addMsg
.
vorcherInos
=
this
.
saveMsg
;
},
uploadFileBtn
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
10
)
{
this
.
Error
(
'文件大小不能超过10M!'
)
return
}
// 1 文档 2 数据 3 图片
let
typeArr
=
[
{
stringArr
:
'GIF|JPG|JPEG|PNG|BMP'
,
type
:
3
},
{
stringArr
:
'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF'
,
type
:
1
},
]
let
ft
=
file
.
file
.
name
.
substring
(
file
.
file
.
name
.
lastIndexOf
(
'.'
)
+
1
,
file
.
file
.
name
.
length
).
toUpperCase
();
let
fileTypeNumber
=
2
;
let
typeOk
=
false
;
typeArr
.
forEach
(
x
=>
{
if
(
x
.
stringArr
.
indexOf
(
ft
)
!=
'-1'
)
{
fileTypeNumber
=
x
.
type
typeOk
=
true
;
}
},
err
=>
{})
},
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
})
if
(
!
typeOk
)
return
this
.
Error
(
'请上传图片、word、excel类型的文件!'
);
let
newArr
=
[];
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
saveMsg
.
push
({
Content
:
x
.
data
.
FilePath
,
ID
:
0
,
Type
:
fileTypeNumber
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
})
this
.
addMsg
.
vorcherInos
=
this
.
saveMsg
;
this
.
Success
(
'上传成功'
);
});
},
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
...
...
src/components/SalesModule/CouponsList.vue
View file @
d4e37966
...
...
@@ -125,9 +125,9 @@
font-size
:
12px
;
color
:
#333333
;
font-weight
:
bold
;
margin-bottom
:
13px
;
margin-bottom
:
5px
!important
;
}
.MyCoupon
._item
._bottom
p
._bottom_info
{
.MyCoupon
._item
._bottom
p
._bottom_info
{
color
:
#666666
;
font-weight
:
300
;
}
...
...
src/components/SalesModule/MyCustomer.vue
View file @
d4e37966
...
...
@@ -52,7 +52,7 @@
background
:
#fff
;
padding-top
:
20px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow
:
hidden
!important
;
}
...
...
@@ -378,7 +378,7 @@
<th>
操作
</th>
</tr>
<tr
v-for=
"(item,i) in dataList"
:key=
"i"
>
<tr
@
click=
"goUrl(type,item.customerId)"
v-for=
"(item,i) in dataList"
:key=
"i"
>
<td>
{{
item
.
contact
}}
</td>
<td>
{{
item
.
contactNumber
}}
</td>
<td>
{{
item
.
customerName
}}
</td>
...
...
@@ -409,7 +409,7 @@
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"12"
align=
"
center"
>
暂无数据
</td>
<td
colspan=
"12"
style=
"text-align:
center"
>
暂无数据
</td>
</tr>
</table>
<!--
<ul
class=
"clearfix"
>
...
...
src/components/TravelManager/TravelList/RegistrationStatistics.vue
View file @
d4e37966
...
...
@@ -188,7 +188,7 @@
</td>
<td>
{{
item
.
InOut
}}
</td>
<td>
{{
item
.
InOutTime
}}
</td>
<td>
{{
item
.
B2
C
MemberPrice
}}
</td>
<td>
{{
item
.
B2
B
MemberPrice
}}
</td>
<td>
{{
item
.
TotalSeat
}}
</td>
<td>
<span
title=
"点击跳转到报名清单"
class=
"Order_RS"
:class=
"
{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID,'设置领队')">
{{
item
.
OrderTotalNum
-
item
.
OrderLeaderGuestNum
}}
...
...
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