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
79f2b274
Commit
79f2b274
authored
May 25, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
835f34bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
480 additions
and
1214 deletions
+480
-1214
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+3
-3
signedClientList.vue
src/components/SalesModule/Common/signedClientList.vue
+0
-364
signedClient.vue
src/components/SalesModule/signedClient.vue
+0
-231
signedFinance.vue
src/components/SalesModule/signedFinance.vue
+27
-19
signedFinanceALL.vue
src/components/SalesModule/signedFinanceALL.vue
+450
-597
No files found.
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
79f2b274
...
...
@@ -1854,11 +1854,11 @@
},
err
=>
{})
},
getCustomerIdList
()
{
this
.
apipost
(
"
customer_post_GetSigningCustomerPage
"
,
"
app_today_visit_GetMySigningCustomerList
"
,
{
pageIndex
:
1
,
pageSize
:
1000
,
CustomerStatus
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CustomerIdList
=
res
.
data
.
data
.
pageData
;
this
.
CustomerIdList
=
res
.
data
.
data
;
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -1955,7 +1955,7 @@
}
},
mounted
()
{
this
.
getCustomerIdList
();
//
this.getCustomerIdList();
let
userInfo
=
this
.
getLocalStorage
();
this
.
department
=
userInfo
.
DepartName
;
this
.
emplyeeName
=
userInfo
.
emName
;
...
...
src/components/SalesModule/Common/signedClientList.vue
View file @
79f2b274
This diff is collapsed.
Click to expand it.
src/components/SalesModule/signedClient.vue
View file @
79f2b274
...
...
@@ -234,86 +234,6 @@
</
style
>
<
template
>
<div
class=
"flexOne"
>
<div
class=
"productQuerySearch"
v-if=
"!TCIDList"
>
<ul>
<li>
<span><em>
{{
$t
(
"scen.sc_cp"
)
}}
</em>
<el-select
class=
"w150"
v-model=
"msg.BranchId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in companyList"
:label=
"item.BName"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
</el-select>
</span>
</li>
<li>
<span><em>
{{
$t
(
"advmanager.v_line"
)
}}
</em>
<el-select
class=
"w150"
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"
getLineTeamList(msg.LineId), getAimPlaceList(msg.LineId, '')
"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
"-1"
></el-option>
<el-option
v-for=
"(item,index) in LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"index"
>
</el-option>
</el-select>
</span>
</li>
<li>
<span><em>
{{
$t
(
"advmanager.v_xilie"
)
}}
</em>
<el-select
class=
"w150"
v-model=
"msg.LineTeamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getAimPlaceList('', msg.LineTeamId)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
"-1"
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
"item.LtName"
:value=
"item.LtID"
:key=
"item.LtID"
>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
"visa.v_tuanhao"
)
}}
</em>
<el-input
v-model=
"msg.TCID"
class=
"w150"
></el-input>
</span>
</li>
<li>
<span>
<em>
团名
</em>
<el-input
v-model=
"msg.Title"
class=
"w150"
clearable
></el-input>
</span>
</li>
<li>
<span><em>
{{
$t
(
"hotel.hotel_StarDate"
)
}}
</em>
<el-date-picker
v-model=
"msg.StartTime"
@
change=
"dataDui()"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
<el-date-picker
v-model=
"msg.EndTime"
@
change=
"dataDui()"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</li>
<li>
<span
style=
"margin: 0 0 0 24px"
><em>
未维护OP
</em>
<el-select
class=
"w150"
v-model=
"msg.SelectOP"
filterable
placeholder=
"未维护OP"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
v-if=
"!isVisa"
label=
"主团"
:value=
"1"
></el-option>
<el-option
label=
"签证"
:value=
"2"
></el-option>
</el-select>
</span>
</li>
<li>
<div
style=
"margin: 8px 0 0 24px"
>
<span><em>
只查询有签证的团
</em>
<el-switch
v-model=
"msg.visaNum"
:active-value=
"1"
:inactive-value=
"0"
></el-switch>
</span></div>
</li>
<li>
<input
style=
"margin-top: 10px"
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
getList();
resetPageIndex();
"
/>
</li>
</ul>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
...
...
@@ -341,27 +261,10 @@
currentPage
:
1
,
total
:
0
,
msg
:
{
SelectOP
:
0
,
pageIndex
:
1
,
pageSize
:
10
,
LineId
:
"-1"
,
LineTeamId
:
"-1"
,
tCID
:
""
,
TCIDList
:
""
,
StartTime
:
""
,
EndTime
:
""
,
BranchId
:
"-1"
,
Title
:
""
,
//团名
visaNum
:
0
,
},
list
:
[],
LineList
:
[],
LineTeamList
:
[],
AimPlaceList
:
[],
airlineList
:
[],
companyList
:
[],
startCityList
:
[],
startCityList1
:
[],
TCIDList
:
null
,
userInfo
:
{},
crmOrderObj
:
null
,
...
...
@@ -406,114 +309,6 @@
(
err
)
=>
{}
);
},
// 线路
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList_V2"
,
{
LineDirection
:
0
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
}
});
},
//获取系列列表
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[];
this
.
apipost
(
"team_post_GetList"
,
{
lineID
:
lineId
,
isTOOP
:
1
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
LineTeamId
=
"-1"
;
this
.
LineTeamList
=
res
.
data
.
data
;
}
}
);
},
//获取目的地列表
getAimPlaceList
(
lineId
,
lineTeamId
)
{
let
myLineId
=
lineId
===
""
?
this
.
msg
.
LineId
:
lineId
;
let
myLineTeamId
=
lineTeamId
===
""
?
this
.
msg
.
LineTeamId
:
lineTeamId
;
this
.
AimPlaceList
=
[];
this
.
apipost
(
"team_post_GetListForCascading"
,
{
LineID
:
myLineId
,
LtID
:
myLineTeamId
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
AimPlaceList
=
res
.
data
.
data
;
}
}
);
},
// 出发城市、目的地
getStartList
()
{
this
.
apipost
(
"sellorder_get_GetAllStartCity"
,
{},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList
=
res
.
data
.
data
;
}
else
{}
});
},
getStartList1
()
{
this
.
apipost
(
"city_post_GetList"
,
{
isDefault
:
-
1
,
priceType
:
-
1
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{}
}
);
},
// 公司
getCompanyList
()
{
let
RB_Group_id
=
this
.
CurrentUserInfo
.
RB_Group_id
;
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
,
};
this
.
apipost
(
"admin_get_BranchGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
[{
Id
:
"-1"
,
BName
:
"不限"
,
},
];
res
.
data
.
data
.
forEach
((
x
)
=>
{
var
obj
=
{
Id
:
""
,
BName
:
""
,
};
obj
.
Id
=
x
.
Id
.
toString
();
obj
.
BName
=
x
.
BName
;
this
.
companyList
.
push
(
obj
);
});
}
},
(
err
)
=>
{}
);
},
getAirlineList
()
{
//获取航空公司*
let
msg
=
{};
this
.
apipost
(
"airline_post_GetList"
,
msg
,
(
res
)
=>
{
this
.
airlineList
=
res
.
data
.
data
;
},
(
err
)
=>
{}
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
...
...
@@ -525,33 +320,7 @@
},
},
mounted
()
{
if
(
this
.
$route
.
path
===
'/productOrderList'
)
{
this
.
isVisa
=
false
}
else
{
this
.
isVisa
=
true
this
.
msg
.
visaNum
=
1
}
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
this
.
msg
.
BranchId
=
this
.
userInfo
.
RB_Branch_id
.
toString
();
if
(
this
.
$route
.
query
.
id
)
{
this
.
msg
.
BranchId
=
"-1"
;
this
.
msg
.
TCID
=
this
.
$route
.
query
.
id
;
}
if
(
this
.
$route
.
query
.
TCIDList
)
{
this
.
msg
.
TCIDList
=
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
}
if
(
this
.
msg
.
StartTime
===
""
)
{
let
nowDay
=
this
.
FormartDate
(
new
Date
());
this
.
msg
.
StartTime
=
nowDay
;
}
this
.
getCompanyList
();
//公司
this
.
getList
();
//产品列表
this
.
getLineList
();
//线路
this
.
getAirlineList
();
//获取航空公司
this
.
getStartList
();
//出发城市
this
.
getStartList1
();
//目的地
},
};
...
...
src/components/SalesModule/signedFinance.vue
View file @
79f2b274
...
...
@@ -400,12 +400,7 @@
</el-tooltip>
</td>
<td>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"预付款退款"
placement=
"top-start"
>
<button
class=
"normalBtn"
@
click=
"goUrlZD(item)"
>
<i
class=
"el-icon-right"
></i>
</button>
</el-tooltip>
-->
<el-button
@
click=
"checkFinance(item)"
>
审核
</el-button>
<el-button
@
click=
"checkFinance(item)"
>
结算
</el-button>
</td>
</tr>
<tr
v-if=
"czList.length==0"
>
...
...
@@ -415,13 +410,13 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
<el-dialog
custom-class=
'addCompany'
:title=
"$t('fnc.xzzjiaoren')
"
width=
"400px"
:visible
.
sync=
"showCheck"
center
>
<el-dialog
custom-class=
'addCompany'
title=
"结算
"
width=
"400px"
:visible
.
sync=
"showCheck"
center
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"
签约资料
"
prop=
"SigningFile"
>
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
<el-form-item
label=
"
凭证
"
prop=
"SigningFile"
>
<
!--
<
el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadFileBtn"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
签约材料
</el-button>
<el-button
size=
"small"
type=
"primary"
>
凭证
</el-button>
</el-upload>
<template
v-if=
"saveMsg&& saveMsg.length>0"
>
<template
v-for=
"(subItem,subIndex) in saveMsg"
>
...
...
@@ -431,7 +426,12 @@
<a
:key=
"subIndex+1000"
style=
"margin-left:20px;color:blue;cursor:pointer;"
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
</
template
>
</template>
</template>
-->
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
<el-input
type=
"textarea"
v-model=
"addMsg.Notes"
class=
"w216"
></el-input>
...
...
@@ -502,22 +502,30 @@
},
methods
:
{
checkSubmit
()
{
if
(
!
this
.
saveMsg
||
!
this
.
saveMsg
.
length
)
{
if
(
!
this
.
BusinessCardPhotos
)
{
this
.
$message
.
error
(
'请上传凭证'
)
return
}
this
.
addMsg
.
Voucher
=
this
.
saveMsg
[
0
].
Path
;
this
.
addMsg
.
Voucher
=
this
.
BusinessCardPhotos
;
this
.
addMsg
.
FinanceIds
=
this
.
checkObj
.
FrID
;
this
.
addMsg
.
SigningCustomerId
=
this
.
$route
.
query
.
id
;
this
.
apipost
(
'customer_post_GetSigningFinance'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
0
)
{
this
.
loading
=
false
;
this
.
czList
=
[]
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showCheck
=
false
}
else
{
this
.
czList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
||
'发生异常,请重试'
)
}
},
err
=>
{})
},
uploadImg
(
file
)
{
//上传
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
BusinessCardPhotos
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
});
},
uploadFileBtn
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
100
)
{
this
.
$message
.
warning
(
'文件大小不能超过100M!'
)
...
...
src/components/SalesModule/signedFinanceALL.vue
View file @
79f2b274
This diff is collapsed.
Click to expand it.
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