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
43655f71
Commit
43655f71
authored
May 07, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改申请书下载验证
parent
97a78851
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
158 additions
and
22 deletions
+158
-22
Application.vue
src/components/FinancialModule/Application.vue
+10
-5
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+3
-2
SalesTravelCoupomList.vue
...onents/TravelManager/TravelList/SalesTravelCoupomList.vue
+116
-5
SalesTravelCoupomPlanList.vue
...ts/TravelManager/TravelList/SalesTravelCoupomPlanList.vue
+29
-10
No files found.
src/components/FinancialModule/Application.vue
View file @
43655f71
...
...
@@ -30,7 +30,7 @@
<td>
{{
data
.
GetDate
}}
</td>
<td>
{{
data
.
LeaderName
}}
</td>
<td>
<el-select
:disabled=
"disabled
"
v-model=
"formdata.GetAddress"
placeholder=
"请选择"
>
<el-select
clearable
:disabled=
"disabled1
"
v-model=
"formdata.GetAddress"
placeholder=
"请选择"
>
<el-option
v-if=
"id=='' || id==item.CashId"
v-for=
"item in StoreList"
:key=
"item.Name"
...
...
@@ -47,7 +47,8 @@
<span>
{{
data
.
JapNowTime
}}
</span>
</div>
<div
style=
"margin:50px 0"
>
{{
data
.
CityName
}}{{
data
.
TCNUM
}}
编号:
{{
data
.
FrId
}}
<p>
{{
data
.
CityName
}}
<span
style=
"padding-left:6px;"
>
</span>
{{
data
.
TCNUM
}}
编号:
{{
data
.
FrId
}}
</p>
</div>
</div>
...
...
@@ -64,6 +65,7 @@ export default {
StoreList
:[],
id
:
""
,
disabled
:
false
,
disabled1
:
false
,
}
},
created
(){
...
...
@@ -79,9 +81,9 @@ export default {
this
.
Error
(
"请选择旅行社"
)
return
;
}
if
(
this
.
formdata
.
GetAddress
==
""
){
this
.
Error
(
"请选择受取店铺"
)
return
;
console
.
log
(
this
.
formdata
.
GetAddress
)
if
(
!
this
.
formdata
.
GetAddress
){
this
.
formdata
.
GetAddress
=
""
;
}
this
.
apipost
(
'Financial_get_FinanceCashWithDrawalsDownLoad'
,
this
.
formdata
,
res
=>
{
// console.log(res);
...
...
@@ -121,6 +123,9 @@ export default {
}
})
}
if
(
this
.
data
.
GetAddress
!=
""
){
this
.
disabled1
=
true
;
}
this
.
StoreList
=
res
.
data
.
data
.
StoreList
;
}
...
...
src/components/FinancialModule/BasicDocuments.vue
View file @
43655f71
...
...
@@ -629,7 +629,7 @@
<td>
<el-input
v-model=
"i.Rate"
@
change=
"Calculation(1,index)"
@
blur=
"addList(2,index)"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
{{
i
.
allMoney
}}
</td>
<td>
{{
i
.
allMoney
.
toFixed
(
2
)
}}
</td>
</tr>
</
template
>
<tr
@
keyup
.
enter=
"addList()"
v-if=
"choiceMsg.Status=='1'"
>
...
...
@@ -864,7 +864,7 @@
<td>
<el-input
v-model=
"i.Rate"
@
change=
"Calculation(1,index)"
@
blur=
"addList(2,index)"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
{{
i
.
allMoney
}}
</td>
<td>
{{
i
.
allMoney
.
toFixed
(
2
)
}}
</td>
</tr>
</
template
>
<tr
@
keyup
.
enter=
"addList()"
v-if=
"choiceMsg.Status=='1'"
>
...
...
@@ -1268,6 +1268,7 @@ export default {
}
},
addList
:
function
(
type
,
index
)
{
console
.
log
(
this
.
payMsgList
[
index
])
if
(
type
)
{
if
(
this
.
payMsgList
[
index
].
AccountId
===
''
)
return
if
(
this
.
payMsgList
[
index
].
Type
===
''
)
return
...
...
src/components/TravelManager/TravelList/SalesTravelCoupomList.vue
View file @
43655f71
...
...
@@ -17,6 +17,32 @@
.TravelInfoList
.info_details
p
{
padding
:
4px
0
;
}
.TravelInfoList
.ht_span
{
display
:
inline-block
;
width
:
26px
;
height
:
26px
;
border-radius
:
50%
;
background
:
#E95252
;
line-height
:
26px
;
text-align
:
center
;
color
:
#ffffff
;
cursor
:
pointer
;
}
.TravelInfoList
.el-upload
{
display
:
inline-block
;
width
:
45px
;
height
:
45px
;
border-radius
:
50%
;
background
:
cornflowerblue
;
color
:
#fff
;
}
.TravelInfoList
.el-icon-plus
{
position
:
relative
;
top
:
5px
;
font-size
:
20px
;
}
</
style
>
<
template
>
<div
class=
"TravelInfoList flexOne"
>
...
...
@@ -106,8 +132,24 @@
<td>
{{
item
.
startDate
|
YearMD
}}
</td>
<td>
{{
item
.
backDate
|
YearMD
}}
</td>
<td>
<el-popover
placement=
"bottom"
width=
"400"
trigger=
"click"
>
<el-table
:data=
"item.contractFile"
>
<el-table-column
property=
"name"
label=
"名字"
></el-table-column>
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
>
<a
:href=
"scope.row.url"
>
下载
</a>
</
template
>
</el-table-column>
</el-table>
<span
v-if=
"item.contractFile&&item.contractFile.length>0"
class=
"ht_span"
slot=
"reference"
>
{{item.contractFile.length}}
</span>
</el-popover>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"上传合同"
placement=
"top"
>
<el-button
v-if=
"item.chooseSalesId&&item.chooseSalesId==EmployeeId"
type=
"primary"
icon=
"el-icon-upload2"
circle
></el-button>
<el-button
@
click=
"StHt(item)"
v-if=
"item.chooseSalesId&&item.chooseSalesId==EmployeeId"
type=
"primary"
icon=
"el-icon-upload2"
circle
></el-button>
</el-tooltip>
</td>
<td>
{{item.planCount}}
</td>
...
...
@@ -147,8 +189,30 @@
<button
class=
"hollowFixedBtn"
@
click=
"Visible=false"
>
取消
</button>
<button
class=
"normalBtn"
@
click=
"submitForm1"
>
确定
</button>
</div>
</el-dialog>
</el-dialog>
<!-- 上传合同 -->
<el-dialog
title=
"上传合同"
:visible
.
sync=
"DownHt"
width=
"400px"
>
<el-form
ref=
"htmsg"
:model=
"htmsg"
label-width=
"80px"
>
<!-- <el-form-item label="名称">
<el-input v-model="obj.name"></el-input>
</el-form-item> -->
<el-form-item
label=
"上传"
>
<el-upload
calss=
"htupload"
:file-list=
"fileList2"
:on-remove=
"Remove"
:http-request=
"uploadTest"
:multiple=
"true"
:show-file-list=
"true"
action=
""
>
<i
class=
"el-icon-plus"
></i>
</el-upload>
</el-form-item>
<el-form-item>
<el-button
@
click=
"UploadContract"
type=
"danger"
size=
"small"
>
确定
</el-button>
</el-form-item>
</el-form>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -156,6 +220,7 @@ import moment from "moment"
export
default
{
data
()
{
return
{
fileList2
:[],
provideItem
:[],
form
:{
orderStatus
:
-
1
,
...
...
@@ -194,13 +259,20 @@ import moment from "moment"
}
},
EmployeeId
:
-
1
,
DownHt
:
false
,
htmsg
:{
contractFile
:[],
},
obj
:{
name
:
""
,
url
:
""
,
},
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
console
.
log
(
this
.
EmployeeId
)
this
.
getList
();
},
filters
:{
...
...
@@ -214,6 +286,46 @@ import moment from "moment"
},
methods
:
{
Remove
(
file
,
fileList
){
this
.
htmsg
.
contractFile
.
forEach
(
item
=>
{
if
(
item
.
name
==
file
.
name
){
this
.
htmsg
.
contractFile
.
splice
(
item
,
1
);
}
})
},
UploadContract
(){
this
.
apiJavaPost
(
"/api/dmc/travelCoupom/salesUploadContract"
,
this
.
htmsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
DownHt
=
false
;
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
null
);
},
uploadTest
(
file
){
let
obj
=
{};
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/DMC/Icon/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
obj
.
url
=
url
;
obj
.
name
=
x
.
data
.
SourceFileName
;
this
.
htmsg
.
contractFile
.
push
(
obj
);
});
},
StHt
(
item
){
this
.
DownHt
=
true
;
this
.
htmsg
.
customId
=
item
.
customId
;
this
.
htmsg
.
customId
=
item
.
customId
;
this
.
htmsg
.
contractFile
=
item
.
contractFile
;
this
.
fileList2
=
item
.
contractFile
;
this
.
obj
=
{};
},
ProvideChange
(
val
){
this
.
form
.
provideItem
=
val
.
join
(
','
);
},
...
...
@@ -251,7 +363,6 @@ import moment from "moment"
getList
()
{
//获取数据
this
.
loading
=
true
,
this
.
apiJavaPost
(
"/api/dmc/travelCoupom/getSalesTravelCoupomList"
,
this
.
form
,
res
=>
{
console
.
log
(
"res"
,
res
);
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
DataList
=
res
.
data
.
data
.
pageData
;
...
...
src/components/TravelManager/TravelList/SalesTravelCoupomPlanList.vue
View file @
43655f71
...
...
@@ -31,29 +31,29 @@
<!--
<div
style=
"margin: 10px 0;"
class=
"fz14 color333"
>
{{
$t
(
'adm.adm_Validaccount'
)
}}
:
<span
class=
"colorE95252"
>
{{
UseNum
}}
</span>
账号限额:
<span
class=
"colorE95252"
>
{{
TotalNum
}}
</span></div>
-->
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
团期ID
</th>
<th
width=
"130"
>
团期ID
</th>
<th>
行程简介
</th>
<th>
团期标题
</th>
<th>
部门名称
</th>
<th>
销售姓名
</th>
<th>
公司名称
</th>
<th>
团期标题
</th>
<th>
采用状态
</th>
<th>
方案价格
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
v-loading=
'loading'
>
<td>
{{
item
.
tc
num
}}
(
{{
item
.
tcid
}}
)
</td>
<td>
{{
item
.
tc
id
}}
(
{{
item
.
tcnum
}}
)
</td>
<td>
{{
item
.
planIntroduce
}}
</td>
<td>
{{
item
.
travelTitle
}}
</td>
<td>
{{
item
.
departmentName
}}
</td>
<td>
{{
item
.
salseName
}}
</td>
<td>
{{
item
.
companyName
}}
</td>
<td>
{{
item
.
travelTitle
}}
</td>
<td>
<span
v-if=
"item.planUseStatus==1"
>
未采用
</span>
<span
v-if=
"item.planUseStatus==2"
>
采用
</span>
<span
v-if=
"item.planUseStatus==3"
>
不合适
</span>
</td>
<td>
{{
item
.
planPrice
}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<el-button
@
click=
"Delete(item)"
type=
"danger"
class=
'zidingyiFz'
icon=
"el-icon-delete"
circle
></el-button>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -96,6 +96,25 @@ import moment from "moment"
},
methods
:
{
Delete
(
item
){
this
.
$confirm
(
'是否删除该条行程定制信息?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apiJavaPost
(
"/api/dmc/travelCoupom/salesDeleteTravelCoupomPlan"
,{
planId
:
item
.
planId
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
null
);
}).
catch
(()
=>
{
});
},
Gourl
(){
this
.
$router
.
push
({
name
:
"TravelManager5"
,
...
...
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