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
ec6ff276
Commit
ec6ff276
authored
Jun 06, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3dd36320
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
12 deletions
+42
-12
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+41
-11
customerApprovalFor.vue
src/components/SalesModule/customerApprovalFor.vue
+1
-1
No files found.
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
ec6ff276
...
...
@@ -589,13 +589,34 @@
</div>
<div>
<p>
签约客户:
<span>
<el-select
clearable
filterable
v-model=
'msg.SigningCustomerId'
class=
"w135 _border_b_1"
>
<el-select
clearable
filterable
v-model=
'msg.SigningCustomerId'
class=
"w135 _border_b_1"
@
change=
"getSigningCustomerId"
>
<el-option
v-for=
'item in CustomerIdList'
:label=
'item.customerName'
:value=
'item.customerId'
:key=
'item.customerId'
>
</el-option>
</el-select>
</span></p>
</span>
</p>
</div>
<table
v-if=
"ContractCustomer"
class=
"Receipt_table"
border=
"1"
bordercolor=
"#c94052"
style=
"border-collapse:collapse;margin-top: 10px;"
>
<tr>
<th>
客户名称
</th>
<th>
联系人
</th>
<th>
手机号
</th>
<th>
签约到期时间
</th>
<th>
签约金额
</th>
<th>
待结算金额
</th>
</tr>
<tr
class=
"_color_b"
>
<td
height=
"26px"
>
{{ContractCustomer.customerName?ContractCustomer.customerName:'-'}}
</td>
<td
height=
"26px"
>
{{ContractCustomer.contact?ContractCustomer.contact:'-'}}
</td>
<td
height=
"26px"
>
{{ContractCustomer.contactNumber?ContractCustomer.contactNumber:'-'}}
</td>
<td
height=
"26px"
>
{{ContractCustomer.signingEndTimet?ContractCustomer.signingEndTimet:'-'}}
</td>
<td
height=
"26px"
>
{{ContractCustomer.signingPrice?ContractCustomer.signingPrice:'-'}}
</td>
<td
height=
"26px"
>
{{ContractCustomer.signingUnsettledPrice?ContractCustomer.signingUnsettledPrice:'-'}}
</td>
</tr>
</table>
</div>
<div
class=
"_remark"
>
<p>
{{$t('system.label_info')}}
</p>
...
...
@@ -681,6 +702,7 @@
export
default
{
data
()
{
return
{
ContractCustomer
:
null
,
Description
:
''
,
msg
:
{
ReFinanceId
:
''
,
...
...
@@ -831,7 +853,7 @@
this
.
getcommission
()
this
.
countFee
();
}
this
.
$forceUpdate
();
},
jumpPage
(
path
,
id
,
type
)
{
//生成单据时连带信息跳转
...
...
@@ -1469,8 +1491,8 @@
this
.
Calculation
(
1
);
})
}
if
(
list
.
CostTypeId
==
''
)
return
if
(
list
.
Number
==
''
)
return
if
(
list
.
UnitPrice
==
''
)
return
...
...
@@ -1515,7 +1537,7 @@
this
.
getcommission
()
}
this
.
countFee
();
},
getcommission
(){
//计算手续费 满足平台账户 而且是结算方式为百分比 SettlementType=1
let
obj
=
null
...
...
@@ -1534,11 +1556,11 @@
if
(
this
.
msg
.
detailList
&&
this
.
msg
.
detailList
.
length
>
0
){
this
.
msg
.
detailList
.
forEach
(
x
=>
{
if
(
Number
(
x
.
yTotalPrice
)
>
0
){
price
=
price
+
Number
(
x
.
yTotalPrice
)
price
=
price
+
Number
(
x
.
yTotalPrice
)
}
})
}
this
.
msg
.
OriginalFee
=
Math
.
round
((
price
*
obj
.
Commission
)
)
/
100
;
this
.
msg
.
OriginalFee
=
Math
.
round
((
price
*
obj
.
Commission
)
)
/
100
;
}
else
{
this
.
msg
.
OriginalFee
=
0
this
.
msg
.
Fee
=
0
...
...
@@ -1585,7 +1607,7 @@
}
}
})
}
}
if
(
!
isNaN
(
rate
))
{
let
num
=
(
numberC
*
price
)
*
rate
;
num
=
Math
.
round
(
num
*
100
)
/
100
;
...
...
@@ -1647,7 +1669,7 @@
chages
(){
this
.
$forceUpdate
()
},
shouxufeiJiSuan
:
function
()
{
let
price
=
0
;
this
.
msg
.
detailList
.
forEach
(
y
=>
{
...
...
@@ -1853,12 +1875,20 @@
}
},
err
=>
{})
},
getSigningCustomerId
(){
this
.
CustomerIdList
.
forEach
(
item
=>
{
if
(
item
.
customerId
==
this
.
msg
.
SigningCustomerId
){
this
.
ContractCustomer
=
item
}
})
},
getCustomerIdList
()
{
this
.
apipost
(
"app_today_visit_GetMySigningCustomerList"
,
{
pageIndex
:
1
,
pageSize
:
1000
,
CustomerStatus
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CustomerIdList
=
res
.
data
.
data
;
console
.
log
(
this
.
CustomerIdList
,
'------'
)
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -1938,7 +1968,7 @@
this
.
detailList
.
UnitPrice
=
this
.
orderObj
.
Money
}
}
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
this
.
TCID
=
TCID
...
...
src/components/SalesModule/customerApprovalFor.vue
View file @
ec6ff276
...
...
@@ -358,7 +358,7 @@
<!--
<a
v-if=
"detailList.signingFile"
style=
"margin-left:20px;color:blue;cursor:pointer;font-size: 14px;"
target=
"_blank"
@
click=
"downloadFile(detailList.signingFile)"
>
签约客户附件
</a>
-->
<div
v-if=
"detailList&&detailList.signingFile"
style=
"display: flex;"
>
<
span
style=
"color:blue;font-size: 12px; padding: 5px 0;"
>
签约附件:
</span
>
<
!--
<span
style=
"color:blue;font-size: 12px; padding: 5px 0;"
>
签约附件:
</span>
--
>
<div>
<template
v-if=
"verificationFile(detailList.signingFile)==3"
>
<el-image
:src=
"domainManager().ViittoFileUrl+detailList.signingFile"
...
...
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