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
26acfe86
Commit
26acfe86
authored
Feb 13, 2019
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ea6071fe
f47b0667
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
311 additions
and
93 deletions
+311
-93
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+232
-64
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+3
-2
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+3
-1
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+4
-1
SalesFinancialDetail.vue
src/components/SalesModule/SalesFinancialDetail.vue
+6
-6
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+1
-0
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+3
-1
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+8
-5
VisaProductEditOrder.vue
src/components/SalesVisa/VisaProductEditOrder.vue
+7
-2
VisaProductOrder.vue
src/components/SalesVisa/VisaProductOrder.vue
+16
-4
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+5
-5
payURL.vue
src/components/commonPage/payURL.vue
+23
-2
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
26acfe86
...
...
@@ -506,19 +506,60 @@
<th
width=
"100px"
>
总金额
</th>
<!-- <th>操作</th> -->
</tr>
<tr
v-for=
"(i,index) in payMsgList"
>
<
template
v-for=
"(i,index) in payMsgList"
>
<tr
v-if=
"!i.show"
@
click=
"payMsgListShow(i, index)"
>
<td>
{{
i
.
AccName
}}
</td>
<td>
{{
i
.
Name
}}
</td>
<td>
{{
i
.
Account
}}
</td>
<!-- <td>{{i
.balance}}</td> -->
<td>
{{i.OriginalMoney
}}
</td>
<!--
<td>
{{
item
.
balance
}}
</td>
-->
<td>
{{
moneyFormat
(
i
.
OriginalMoney
)
}}
</td>
<td>
{{
i
.
CurrenName
}}
</td>
<td>
{{
i
.
Rate
}}
</td>
<!-- <td>{{i
.Fee}}</td> -->
<th>
{{i.allMoney}}
</th
>
<!--
<td>
{{
item
.
Fee
}}
</td>
-->
<td>
{{
moneyFormat
(
i
.
allMoney
)
}}
</td
>
<!--
<td></td>
-->
</tr>
<tr>
<tr
v-else
@
keyup
.
enter=
"addList(2,index)"
>
<td>
<el-select
filterable
v-model=
'i.AccName'
@
change=
"clearAccBank(1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in AccList'
:label=
'a.Name'
:value=
'a.Name'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-select
filterable
v-model=
'i.Type'
@
change=
"getAccountList(i.Type,1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in GetAccountType'
:label=
'a.Name'
:value=
'a.ID'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-select
filterable
v-model=
'i.AccountId'
placeholder=
"请选择账户"
@
change=
"setAccountName(i.AccountId,1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in accountList'
:label=
'a.allName'
:value=
'a.ID'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-input
v-model=
"i.OriginalMoney"
@
change=
"Calculation(1,index)"
@
blur=
"addList(2,index)"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
<p>
{{
i
.
CurrenName
}}
</p>
</td>
<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
.
toFixed
(
2
)
}}
</td>
</tr>
</
template
>
<tr
@
keyup
.
enter=
"addList()"
>
<td>
<el-select
filterable
v-model=
'payMsg.AccName'
@
change=
"clearAccBank()"
class=
" _border_b_1"
>
<el-option
v-for=
'i in AccList'
...
...
@@ -548,18 +589,18 @@
</td>
<!-- <td>{{payMsg.balance}}</td> -->
<td>
<el-input
v-model=
"payMsg.OriginalMoney"
@
change=
"Calculation()"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"payMsg.OriginalMoney"
@
change=
"Calculation()"
@
blur=
"addList()"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
<p>
{{payMsg.CurrenName}}
</p>
</td>
<td>
<el-input
v-model=
"payMsg.Rate"
@
change=
"Calculation()"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"payMsg.Rate"
@
change=
"Calculation()"
@
blur=
"addList()"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<!-- <td>
<el-input v-model="payMsg.Fee" @change="Calculation()" type="number" class=" _border_b_1"></el-input>
</td> -->
<td>
{{
payMsg.allMoney
}}
</td>
<td>
{{
moneyFormat(payMsg.allMoney)
}}
</td>
<!-- <td width="120px">
<span class="_now_pay" @click="payFun()">立即付款</span>
</td> -->
...
...
@@ -662,19 +703,60 @@
<th
width=
"100px"
>
总金额
</th>
<!-- <th>操作</th> -->
</tr>
<tr
v-for=
"(i,index) in payMsgList"
>
<
template
v-for=
"(i,index) in payMsgList"
>
<tr
v-if=
"!i.show"
@
click=
"payMsgListShow(i, index)"
>
<td>
{{
i
.
AccName
}}
</td>
<td>
{{
i
.
Name
}}
</td>
<td>
{{
i
.
Account
}}
</td>
<!--
<td>
{{
item
.
balance
}}
</td>
-->
<td>
{{i.OriginalMoney
}}
</td>
<td>
{{
moneyFormat
(
i
.
OriginalMoney
)
}}
</td>
<td>
{{
i
.
CurrenName
}}
</td>
<td>
{{
i
.
Rate
}}
</td>
<!--
<td>
{{
item
.
Fee
}}
</td>
-->
<th>
{{i.allMoney
}}
</th>
<th>
{{
moneyFormat
(
i
.
allMoney
)
}}
</th>
<!--
<td></td>
-->
</tr>
<tr>
<tr
v-else
@
keyup
.
enter=
"addList(2,index)"
>
<td>
<el-select
filterable
v-model=
'i.AccName'
@
change=
"clearAccBank(1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in AccList'
:label=
'a.Name'
:value=
'a.Name'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-select
filterable
v-model=
'i.Type'
@
change=
"getAccountList(i.Type,1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in GetAccountType'
:label=
'a.Name'
:value=
'a.ID'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-select
filterable
v-model=
'i.AccountId'
placeholder=
"请选择账户"
@
change=
"setAccountName(i.AccountId,1,index)"
class=
" _border_b_1"
>
<el-option
v-for=
'a in accountList'
:label=
'a.allName'
:value=
'a.ID'
:key=
'a.ID'
>
</el-option>
</el-select>
</td>
<td>
<el-input
v-model=
"i.OriginalMoney"
@
change=
"Calculation(1,index)"
@
blur=
"addList(2,index)"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
<p>
{{
i
.
CurrenName
}}
</p>
</td>
<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
.
toFixed
(
2
)
}}
</td>
</tr>
</
template
>
<tr
@
keyup
.
enter=
"addList()"
>
<td>
<el-select
filterable
v-model=
'payMsg.AccName'
@
change=
"clearAccBank()"
class=
" _border_b_1"
>
<el-option
v-for=
'i in AccList'
...
...
@@ -704,18 +786,18 @@
</td>
<!-- <td>{{payMsg.balance}}</td> -->
<td>
<el-input
v-model=
"payMsg.OriginalMoney"
@
change=
"Calculation()"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"payMsg.OriginalMoney"
@
change=
"Calculation()"
@
blur=
"addList()"
placeholder=
"请输入金额"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<td>
<p>
{{payMsg.CurrenName}}
</p>
</td>
<td>
<el-input
v-model=
"payMsg.Rate"
@
change=
"Calculation()"
type=
"number"
class=
" _border_b_1"
></el-input>
<el-input
v-model=
"payMsg.Rate"
@
change=
"Calculation()"
@
blur=
"addList()"
type=
"number"
class=
" _border_b_1"
></el-input>
</td>
<!-- <td>
<el-input v-model="payMsg.Fee" @change="Calculation()" type="number" class=" _border_b_1"></el-input>
</td> -->
<td>
{{
payMsg.allMoney.toFixed(2
)}}
</td>
<td>
{{
moneyFormat(payMsg.allMoney
)}}
</td>
<!-- <td width="120px">
<span class="_now_pay" @click="payFun()">立即付款</span>
</td> -->
...
...
@@ -725,7 +807,7 @@
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
Content
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<!-- <td height="50px"></td> -->
...
...
@@ -974,6 +1056,7 @@ export default {
Account
:
''
,
balance
:
''
,
allMoney
:
0
,
show
:
false
,
},
CurrencyId
:
''
,
importFileUrl
:
this
.
domainManager
().
UploadFileUrl
+
'?cmd=User_post_FileUpload&fileType=1&fileLimit=10'
,
...
...
@@ -1024,6 +1107,61 @@ export default {
'TicketFinace'
:
TicketFinace
,
'my-HB-Bill'
:
myhrBill
,
},
methods
:{
payMsgListShow
:
function
(
type
,
index
)
{
this
.
payMsgList
.
forEach
(
x
=>
{
x
.
show
=
false
})
if
(
type
.
Type
==
1
){
this
.
bankaccount_post_GetList
()
}
if
(
type
.
Type
==
2
){
this
.
BankAccount_post_GetPlatformList
()
}
if
(
type
.
Type
==
3
){
this
.
BankAccount_post_GetCashAccountList
()
}
if
(
type
.
Type
==
4
){
this
.
BankAccount_post_GetCashPoolList
()
}
this
.
payMsgList
[
index
].
show
=
true
},
addList
:
function
(
type
,
index
)
{
if
(
type
)
{
if
(
this
.
payMsgList
[
index
].
AccountId
===
''
)
return
if
(
this
.
payMsgList
[
index
].
Type
===
''
)
return
if
(
this
.
payMsgList
[
index
].
AccName
===
''
)
return
if
(
this
.
payMsgList
[
index
].
Name
===
''
)
return
this
.
payMsgList
[
index
].
show
=
false
}
else
{
if
(
this
.
payMsg
.
AccountId
===
''
)
return
if
(
this
.
payMsg
.
Type
===
''
)
return
if
(
this
.
payMsg
.
AccName
===
''
)
return
if
(
this
.
payMsg
.
Name
===
''
)
return
this
.
payMsgList
.
push
(
this
.
payMsg
);
this
.
payMsg
=
{
ID
:
0
,
FinanceId
:
''
,
Type
:
''
,
AccName
:
''
,
AccountId
:
''
,
OriginalMoney
:
0
,
CurrencyId
:
''
,
Rate
:
0
,
Fee
:
0
,
Name
:
''
,
CurrenName
:
''
,
Account
:
''
,
balance
:
''
,
allMoney
:
0
,
show
:
false
,
}
}
let
allMoney
=
0
this
.
payMsgList
.
forEach
(
x
=>
{
allMoney
+=
x
.
allMoney
})
this
.
allMoney
=
allMoney
},
Financial_post_GetFinancLogList
(){
// 获取单据日志
if
(
this
.
checkboxShow
)
return
this
.
LogLoading
=
true
;
...
...
@@ -1047,11 +1185,7 @@ export default {
if
(
this
.
GetDetail
.
CashierDetail
==
1
){
this
.
AuditOrRefundMsg
.
SpecialNode
=
0
;
}
this
.
AuditOrRefundMsg
.
tradeWays
[
0
].
CurrencyId
=
this
.
payMsg
.
CurrencyId
?
this
.
payMsg
.
CurrencyId
:
0
;
this
.
AuditOrRefundMsg
.
tradeWays
[
0
].
OriginalMoney
=
this
.
payMsg
.
OriginalMoney
?
this
.
payMsg
.
OriginalMoney
:
''
;
this
.
AuditOrRefundMsg
.
tradeWays
[
0
].
Rate
=
this
.
payMsg
.
Rate
?
this
.
payMsg
.
Rate
:
''
;
this
.
AuditOrRefundMsg
.
tradeWays
[
0
].
Type
=
this
.
payMsg
.
Type
?
this
.
payMsg
.
Type
:
0
;
this
.
AuditOrRefundMsg
.
tradeWays
[
0
].
AccountId
=
this
.
payMsg
.
AccountId
?
this
.
payMsg
.
AccountId
:
0
;
this
.
AuditOrRefundMsg
.
tradeWays
=
this
.
payMsgList
this
.
AuditOrRefundMsg
.
WorkFlowId
=
parseInt
(
this
.
ID
)
this
.
AuditOrRefundMsg
.
TemplateType
=
this
.
GetDetail
.
TemplateType
this
.
AuditOrRefundMsg
.
Image
=
JSON
.
stringify
(
imgArr
);
...
...
@@ -1194,11 +1328,25 @@ export default {
}
}
},
clearAccBank
(){
// 选择账户类型清空数据
clearAccBank
(
type
,
index
){
// 选择账户类型清空数据
if
(
type
)
{
this
.
payMsgList
[
index
].
Type
=
''
this
.
payMsgList
[
index
].
AccountId
=
''
;
}
else
{
this
.
payMsg
.
Type
=
''
;
this
.
payMsg
.
AccountId
=
''
;
}
},
Calculation
(){
// 计算价格
Calculation
(
type
,
index
){
// 计算价格
if
(
type
)
{
this
.
payMsgList
[
index
].
Fee
=
isNaN
(
parseFloat
(
this
.
payMsgList
[
index
].
Fee
))?
0
:
parseFloat
(
this
.
payMsgList
[
index
].
Fee
);
this
.
payMsgList
[
index
].
Rate
=
isNaN
(
parseFloat
(
this
.
payMsgList
[
index
].
Rate
))?
0
:
parseFloat
(
this
.
payMsgList
[
index
].
Rate
);
this
.
payMsgList
[
index
].
OriginalMoney
=
isNaN
(
parseFloat
(
this
.
payMsgList
[
index
].
OriginalMoney
))?
0
:
parseFloat
(
this
.
payMsgList
[
index
].
OriginalMoney
);
let
fee
=
this
.
payMsgList
[
index
].
Fee
,
Rate
=
this
.
payMsgList
[
index
].
Rate
==
0
?
1
:
this
.
payMsgList
[
index
].
Rate
,
Money
=
this
.
payMsgList
[
index
].
OriginalMoney
;
this
.
payMsgList
[
index
].
allMoney
=
(
Money
*
Rate
)
+
fee
;
}
else
{
this
.
payMsg
.
Fee
=
isNaN
(
parseFloat
(
this
.
payMsg
.
Fee
))?
0
:
parseFloat
(
this
.
payMsg
.
Fee
);
this
.
payMsg
.
Rate
=
isNaN
(
parseFloat
(
this
.
payMsg
.
Rate
))?
0
:
parseFloat
(
this
.
payMsg
.
Rate
);
this
.
payMsg
.
OriginalMoney
=
isNaN
(
parseFloat
(
this
.
payMsg
.
OriginalMoney
))?
0
:
parseFloat
(
this
.
payMsg
.
OriginalMoney
);
...
...
@@ -1206,18 +1354,29 @@ export default {
Rate
=
this
.
payMsg
.
Rate
==
0
?
1
:
this
.
payMsg
.
Rate
,
Money
=
this
.
payMsg
.
OriginalMoney
;
this
.
payMsg
.
allMoney
=
(
Money
*
Rate
)
+
fee
;
this
.
allMoney
=
this
.
payMsg
.
allMoney
;
}
// console.log(Rate+"+"+fee+"+"+Money)
},
setAccountName
(
i
){
setAccountName
(
i
,
type
,
index
){
this
.
accountList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
i
){
if
(
type
)
{
this
.
payMsgList
[
index
].
Account
=
x
.
allName
;
console
.
log
(
x
)
this
.
payMsgList
[
index
].
CurrenName
=
x
.
CurrencyName
;
this
.
payMsgList
[
index
].
Rate
=
x
.
CurrencyRate
?
x
.
CurrencyRate
:
x
.
CurrentRate
;
this
.
payMsgList
[
index
].
CurrencyId
=
x
.
CurrencyId
;
this
.
payMsgList
[
index
].
balance
=
x
.
Initialbalance
;
this
.
Calculation
(
1
,
index
);
}
else
{
this
.
payMsg
.
Account
=
x
.
allName
;
console
.
log
(
x
)
this
.
payMsg
.
CurrenName
=
x
.
CurrencyName
;
this
.
payMsg
.
Rate
=
x
.
CurrencyRate
?
x
.
CurrencyRate
:
x
.
CurrentRate
;
this
.
payMsg
.
CurrencyId
=
x
.
CurrencyId
;
this
.
payMsg
.
balance
=
x
.
Initialbalance
;
this
.
Calculation
();
}
}
})
},
...
...
@@ -1237,13 +1396,22 @@ export default {
}
},
err
=>
{})
},
getAccountList
(
i
){
getAccountList
(
i
,
type
,
index
){
if
(
type
)
{
this
.
payMsgList
[
index
].
AccountId
=
''
;
this
.
GetAccountType
.
forEach
(
x
=>
{
if
(
x
.
ID
==
i
){
this
.
payMsgList
[
index
].
Name
=
x
.
Name
;
}
})
}
else
{
this
.
payMsg
.
AccountId
=
''
;
this
.
GetAccountType
.
forEach
(
x
=>
{
if
(
x
.
ID
==
i
){
this
.
payMsg
.
Name
=
x
.
Name
;
}
})
}
if
(
i
==
1
){
this
.
bankaccount_post_GetList
()
}
...
...
src/components/FinancialModule/FinancialDocuments.vue
View file @
26acfe86
...
...
@@ -106,6 +106,7 @@
<li
:class=
"active==3?'_active':''"
@
click=
"active=3,msg.Conditon=3,getPageList()"
>
待我审批的
</li>
<li
:class=
"active==2?'_active':''"
@
click=
"active=2,msg.Conditon=2,getPageList()"
>
我审批的
</li>
<li
:class=
"active==6?'_active':''"
@
click=
"active=6,msg.Conditon=6,getPageList()"
>
我作废的
</li>
<li
:class=
"active==7?'_active':''"
@
click=
"active=7,msg.Conditon=7,getPageList()"
>
被驳回的
</li>
<li
:class=
"active==4?'_active':''"
@
click=
"active=4,msg.Conditon=4,getPageList()"
>
抄送给我的
</li>
</ul>
<div
class=
"query-box"
>
...
...
@@ -490,7 +491,7 @@
</td>
<td
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top"
>
<i
v-if=
"(
msg.Conditon==1
&& (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"edit el-icon-edit"
@
click=
"goEit(item.Type==1?'addReceivablesDocuments':'addFinancialDocuments',item.Type,item.FrID,true,active,msg.pageIndex)"
></i>
<i
v-if=
"(
(msg.Conditon==1 ||msg.Conditon==7)
&& (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"edit el-icon-edit"
@
click=
"goEit(item.Type==1?'addReceivablesDocuments':'addFinancialDocuments',item.Type,item.FrID,true,active,msg.pageIndex)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"
></i>
...
...
@@ -502,7 +503,7 @@
<i
v-if=
"msg.Conditon==3"
class=
"iconfont icon-zhuanjiao1"
@
click=
"zhuanBox = true,zhuanMsg.WorkFlowId = item.FrID"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"作废"
placement=
"top"
>
<i
v-if=
"(
msg.Conditon==1
&& (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"iconfont icon-quxiao1"
@
click=
"financeRemove(item.FrID)"
></i>
<i
v-if=
"(
(msg.Conditon==1 ||msg.Conditon==7)
&& (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"iconfont icon-quxiao1"
@
click=
"financeRemove(item.FrID)"
></i>
</el-tooltip>
</td>
</tr>
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
26acfe86
...
...
@@ -580,7 +580,8 @@ export default {
SourceID
:
0
,
TCIDAndTCNUMList
:[],
IsLeader
:
1
,
PayDate
:
''
PayDate
:
''
,
CallType
:
0
},
detailList
:{
ID
:
0
,
...
...
@@ -1181,6 +1182,7 @@ export default {
this
.
msg
.
TCIDList
=
this
.
orderObj
.
TCIDList
?
this
.
orderObj
.
TCIDList
:[];
this
.
msg
.
Obj
=
this
.
orderObj
.
Obj
?
this
.
orderObj
.
Obj
:
''
;
this
.
msg
.
SourceID
=
this
.
orderObj
.
SourceID
?
this
.
orderObj
.
SourceID
:
0
;
this
.
msg
.
CallType
=
this
.
orderObj
.
CallType
?
this
.
orderObj
.
CallType
:
0
;
}
if
(
data
.
VorcherInos
){
data
.
VorcherInos
.
forEach
(
x
=>
{
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
26acfe86
...
...
@@ -516,7 +516,8 @@ export default {
TCIDList
:[],
Obj
:{},
SourceID
:
0
,
TCIDAndTCNUMList
:[]
TCIDAndTCNUMList
:[],
CallType
:
0
},
AccountNumber
:
''
,
queryAccMsg
:{
...
...
@@ -1040,6 +1041,7 @@ export default {
delete
x
.
rate
;
});
this
.
loading
=
true
;
console
.
log
(
this
.
msg
);
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
$router
.
push
({
name
:
'FinancialDocuments'
,
query
:{
'Type'
:
this
.
$route
.
query
.
Type
}})
...
...
@@ -1328,6 +1330,7 @@ export default {
this
.
msg
.
TCIDList
=
this
.
orderObj
.
TCIDList
?
this
.
orderObj
.
TCIDList
:[];
this
.
msg
.
Obj
=
this
.
orderObj
.
Obj
?
this
.
orderObj
.
Obj
:
''
;
this
.
msg
.
SourceID
=
this
.
orderObj
.
SourceID
?
this
.
orderObj
.
SourceID
:
0
;
this
.
msg
.
CallType
=
this
.
orderObj
.
CallType
?
this
.
orderObj
.
CallType
:
0
;
}
if
(
data
.
VorcherInos
){
data
.
VorcherInos
.
forEach
(
x
=>
{
...
...
src/components/SalesModule/SalesFinancialDetail.vue
View file @
26acfe86
...
...
@@ -92,14 +92,14 @@
<li><span>
团队编号:
</span>
{{
tcnum
}}
</li>
<li><span>
订单号:
</span>
{{
orderId
}}
</li>
<li>
</li>
<li><span>
应收
金额:
</span>
{{
moneyFormat
(
allMoney
)
}}
</li>
<li><span>
实收
金额:
</span>
{{
moneyFormat
(
shiMoney
)
}}
</li>
<li><span>
待
收
金额:
</span><span
:class=
"
{color_red:(allMoney-shiMoney)!==allMoney}">
{{
moneyFormat
(
allMoney
-
shiMoney
)
}}
</span></li>
<li><span>
已收总
金额:
</span>
{{
moneyFormat
(
allMoney
)
}}
</li>
<li><span>
已审
金额:
</span>
{{
moneyFormat
(
shiMoney
)
}}
</li>
<li><span>
待
审
金额:
</span><span
:class=
"
{color_red:(allMoney-shiMoney)!==allMoney}">
{{
moneyFormat
(
allMoney
-
shiMoney
)
}}
</span></li>
</ul>
<ul
class=
"clearfix fukuan"
>
<li><span>
应付金额:
</span>
{{
moneyFormat
(
allMoneyP
)
}}
</li>
<li><span>
实付
金额:
</span>
{{
moneyFormat
(
shiMoneyP
)
}}
</li>
<li><span>
待
付
金额:
</span><span
:class=
"
{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">
{{
moneyFormat
(
allMoneyP
-
shiMoneyP
)
}}
</span></li>
<li><span>
应付
总
金额:
</span>
{{
moneyFormat
(
allMoneyP
)
}}
</li>
<li><span>
已审
金额:
</span>
{{
moneyFormat
(
shiMoneyP
)
}}
</li>
<li><span>
待
审
金额:
</span><span
:class=
"
{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">
{{
moneyFormat
(
allMoneyP
-
shiMoneyP
)
}}
</span></li>
</ul>
</div>
<p
class=
"sfd_tit clearfix"
>
收款单
<input
type=
"button"
v-if=
"(item.isOwn ? item.isOwn : item.IsOwn) ===1 && (item.orderState ? item.orderState : item.OrderState) !== '4' && (item.orderState ? item.orderState : item.OrderState) !== '3'"
value=
"新增收款"
class=
"normalBtn"
@
click=
"addFinancialOrder(1)"
></p>
...
...
src/components/SalesModule/enrollTotal.vue
View file @
26acfe86
...
...
@@ -178,6 +178,7 @@
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
createBy
}}
<span
v-if=
"item.leaveStr!=''"
style=
"color:red"
>
(
{{
item
.
leaveStr
}}
)
</span></p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
==
'无'
?
''
:
item
.
commissionSPeopleName
}}
</p>
<p>
发团:
{{
item
.
startDate
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
提成:
{{
item
.
commissionMoney
}}
</p>
</td>
<td>
<p
class=
"over_ellipsis"
style=
"width: 150px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
26acfe86
...
...
@@ -1222,6 +1222,7 @@
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
}}
</p>
<p
style=
"min-width: 180px;"
>
发团:
{{
item
.
startDate
}}
</p>
<p>
下单时间:
{{
item
.
createDate
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
提成:
{{
item
.
commissionMoney
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
...
...
@@ -1377,6 +1378,7 @@
<span
class=
"RL-redType RL-remarkCon"
v-else
>
<span>
暂无名单
</span>
</span>
<span
v-if=
"item.tipMoney"
>
(小费:
{{
item
.
tipMoney
}}
)
</span>
</td>
</tr>
<tr>
...
...
@@ -2899,7 +2901,7 @@ export default {
getOrderDetail
(
obj
)
{
this
.
apipost
(
"Financial_post_GetOrderFinanceList"
,
{
OrderId
:
obj
.
orderId
,
OrderResource
:
8
},
{
OrderId
:
obj
.
orderId
,
OrderResource
:
8
,
IsTravelMoney
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
orderList
=
res
.
data
.
data
;
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
26acfe86
...
...
@@ -1378,7 +1378,7 @@
<!-- 表格 -->
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"
15
0"
>
单号
</th>
<th
width=
"
23
0"
>
单号
</th>
<th
width=
"100"
>
客户信息
</th>
<th
width=
"100"
>
人数/机位数
</th>
<th
width=
"80"
>
单价
</th>
...
...
@@ -1414,6 +1414,7 @@
</div>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
==
'无'
?
''
:
item
.
commissionSPeopleName
}}
</p>
<p>
下单时间:
{{
item
.
createDate
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
提成:
{{
item
.
commissionMoney
}}
</p>
</td>
<td>
<p
v-if=
'item.isOwn==1||userId==1||userId==5||positionId==168 || isUpdateOrder'
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
...
...
@@ -1571,7 +1572,7 @@
<div
v-if=
"item.isOrder=='1'&&item.orderState!='4'"
@
click=
"transfer(item)"
>
订单转团
</div>
<div
v-if=
"isUpdateOrder"
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.orderId'
>
OP备注
</div>
<!-- v-if="item.isUpdateOrderCommission" -->
<div
@
click=
'TCMsg.OrderId = item.orderId, TCMsg.CommissionMinusRate = item.commissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"isUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.orderId, TCMsg.CommissionMinusRate = item.commissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2')"
@
click=
'setChargeLoss(item)'
>
<span
v-if=
"item.isChargeLossOrders==1"
>
恢复收损单
</span>
<span
v-else
>
设为收损单
</span>
...
...
@@ -2009,6 +2010,7 @@ export default {
customerId
:
""
,
createByInfo
:
""
,
isUpdateSharePeople
:
false
,
isUpdateOrderCommission
:
false
,
starTime
:
""
,
endTime
:
""
,
stratPrice
:
""
,
...
...
@@ -3569,6 +3571,7 @@ export default {
this
.
list
=
res
.
data
.
data
.
pageData
.
rtData
;
this
.
isUpdateOrder
=
res
.
data
.
data
.
pageData
.
isUpdateOrder
this
.
IsUpdateOrderMoney
=
res
.
data
.
data
.
pageData
.
isUpdateOrderMoney
this
.
isUpdateOrderCommission
=
res
.
data
.
data
.
pageData
.
isUpdateOrderCommission
this
.
cancelRtData
=
res
.
data
.
data
.
pageData
.
cancelRtData
[
0
].
list
;
this
.
seat
.
YSeat
=
res
.
data
.
data
.
pageData
.
ySeatNum
this
.
seat
.
CSeat
=
res
.
data
.
data
.
pageData
.
eSeatNum
...
...
src/components/SalesVisa/VisaProductEditOrder.vue
View file @
26acfe86
...
...
@@ -47,7 +47,7 @@
margin
:
0
;
font-size
:
14px
!important
;
}
.groupTourOrder_tickets_red
{
.groupTourOrder_tickets_red
{
color
:
#ff0000
;
text-decoration
:
underline
;
}
...
...
@@ -59,6 +59,10 @@
color
:
#008000
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_black
{
color
:
#000000
;
text-decoration
:
underline
;
}
.VD-remarkTitle
{
display
:
inline-block
;
float
:
left
;
...
...
@@ -190,7 +194,8 @@
<span
v-for=
"(item2,index2) in item.financeList"
:key=
"index2"
style=
"margin-right:10px;cursor:pointer;"
>
<span
v-if=
"item2.colorState===1"
class=
"groupTourOrder_tickets_blue"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.frID,'财务单据')"
>
{{
item2
.
frID
}}
</span>
<span
v-else-if=
"item2.colorState===2"
class=
"groupTourOrder_tickets_green"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.frID,'财务单据')"
>
{{
item2
.
frID
}}
</span>
<span
v-else
class=
"groupTourOrder_tickets_red"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.frID,'财务单据')"
>
{{
item2
.
frID
}}
</span>
<span
v-else-if=
"item2.colorState===3"
class=
"groupTourOrder_tickets_red"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.frID,'财务单据')"
>
{{
item2
.
frID
}}
</span>
<span
v-else-if=
"item2.colorState===4"
class=
"groupTourOrder_tickets_black"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.frID,'财务单据')"
>
{{
item2
.
frID
}}
</span>
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
暂无数据
</span>
</div>
...
...
src/components/SalesVisa/VisaProductOrder.vue
View file @
26acfe86
...
...
@@ -61,10 +61,21 @@
.VO-redType
{
color
:
red
;
}
.groupTourOrder_tickets_blue
{
color
:
#0000ff
;
.groupTourOrder_tickets_red
{
color
:
#ff0000
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_blue
{
color
:
#0000ff
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_green
{
color
:
#008000
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_black
{
color
:
#000000
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
<
template
>
...
...
@@ -186,7 +197,8 @@
<span
v-for=
"(item2,index2) in item.FinanceList"
:key=
"index2"
style=
"margin-right:10px;cursor:pointer;"
>
<span
v-if=
"item2.ColorState===1"
class=
"groupTourOrder_tickets_blue"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===2"
class=
"groupTourOrder_tickets_green"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else
class=
"groupTourOrder_tickets_red"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===3"
class=
"groupTourOrder_tickets_red"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===4"
class=
"groupTourOrder_tickets_black"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
</span>
<span
v-if=
"item.FinanceList.length===0"
style=
"cursor: default;"
>
暂无数据
</span>
</div>
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
26acfe86
...
...
@@ -1334,7 +1334,7 @@
<div
style=
"width: 100%; height: auto; overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<table
class=
"RegisTrationTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr>
<th
width=
"2
4
0"
>
单号
</th>
<th
width=
"2
6
0"
>
单号
</th>
<th
width=
"150"
>
客户信息
</th>
<th
width=
"70"
class=
"nowrap"
>
人数/机位数
</th>
<th
width=
"110"
class=
"nowrap"
>
单价
</th>
...
...
@@ -1366,7 +1366,6 @@
<div
class=
"RL_CreatInfo"
>
{{
item
.
CreateBy
}}
<span
v-if=
"item.LeaveStr!=''"
style=
"color:red"
>
(
{{
item
.
LeaveStr
}}
)
</span></div>
<div
class=
"RL_CreatInfo"
>
关联销售:
{{
item
.
CommissionSPeopleName
}}
</div>
<p>
下单时间:
{{
item
.
CreateDate
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 90%;"
>
领队控位
</p>
...
...
@@ -1476,7 +1475,7 @@
<div
@
click=
"toTrip(item)"
>
出团通知书(
{{
SetNoticeMsg
.
OutNotice
==
1
?
'OK'
:
'暂定'
}}
)
</div>
<div
v-if=
"userId==1"
@
click=
"getSalerInfo(item)"
>
修改业务员
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId'
>
OP备注
</div>
<div
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
@
click=
'deleteItem(item)'
>
删除
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
'background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...
...
@@ -1543,6 +1542,7 @@
<div
class=
"RL_CreatInfo"
>
关联销售:
{{
childItem
.
CommissionSPeopleName
}}
</div>
<!--
<p>
发团:
{{
childItem
.
startDate
}}
</p>
-->
<p>
下单时间:
{{
childItem
.
CreateDate
}}
</p>
<p
v-if=
'childItem.CommissionMoney'
style=
"color:red"
>
提成:
{{
childItem
.
CommissionMoney
}}
</p>
</td>
<td>
<p
v-if=
"childItem.IsOwn==1||userId==1||userId==5"
class=
"fz12 over_ellipsis"
style=
"width:90%;"
:title=
"childItem.ContactName"
>
...
...
@@ -1659,7 +1659,7 @@
<div
v-if=
"userId==1"
@
click=
"getSalerInfo(childItem)"
>
修改业务员
</div>
<div
@
click=
"transfer(childItem)"
>
订单转团
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = childItem.OrderId'
>
OP备注
</div>
<div
@
click=
'TCMsg.OrderId = childItem.OrderId, TCMsg.CommissionMinusRate = childItem.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = childItem.OrderId, TCMsg.CommissionMinusRate = childItem.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
@
click=
'deleteItem(childItem)'
>
删除
...
...
@@ -1878,7 +1878,7 @@
<div
@
click=
"toTrip(item)"
>
出团通知书({{SetNoticeMsg.OutNotice==1?'OK':'暂定'}})
</div>
<div
v-if=
"userId==1"
@
click=
"getSalerInfo(item)"
>
修改业务员
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId'
>
OP备注
</div>
<div
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"item.OrderState=='2'||item.OrderState=='3'"
@
click=
'deleteItem(item)'
>
删除
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
'background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...
...
src/components/commonPage/payURL.vue
View file @
26acfe86
...
...
@@ -32,8 +32,9 @@
</div>
<el-select
slot=
"reference"
v-model=
"value"
class=
'w80'
placeholder=
"收款方式"
@
change=
'chanceType(item)'
>
<!--
<el-option
label=
"二维码"
value=
"1"
></el-option>
-->
<el-option
label=
"现金或转账"
value=
"2"
></el-option>
<el-option
v-if=
'item.orderState===1'
label=
"退款"
value=
"3"
></el-option>
<el-option
label=
"团队收款"
value=
"2"
></el-option>
<el-option
v-if=
'item.orderState===1'
label=
"团队退款"
value=
"3"
></el-option>
<el-option
label=
"团队小费"
value=
"4"
></el-option>
</el-select>
</el-popover>
</div>
...
...
@@ -144,6 +145,26 @@
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
}
else
if
(
this
.
value
===
'4'
)
{
this
.
visible
=
false
let
orderObj
=
{
OrderID
:
obj
.
orderId
,
OrderSource
:
8
,
CallType
:
1
,
Obj
:
{},
SourceID
:
obj
.
ID
,
TCIDList
:
TCIDARR
}
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
1
,
"companyID"
:
obj
.
outBranchId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
}
this
.
value
=
''
},
...
...
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