Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
xugong
hls-xcmg-vue-app
Commits
a2bb55d3
Commit
a2bb55d3
authored
Dec 18, 2023
by
王建文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
融资方案列表和明细
parent
0054a797
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
65 deletions
+87
-65
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+76
-54
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+11
-11
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
a2bb55d3
...
...
@@ -30,7 +30,7 @@
</item>
</list-item>
</div>
<button
@
click
.
native
=
"prjLeaseItemSave"
>
保存
</button>
<button
@
click=
"prjLeaseItemSave"
>
保存
</button>
</div>
</div>
</transition>
...
...
@@ -62,10 +62,10 @@
<input
slot=
"content"
v-model=
"baseInfo.bp_name"
type=
"text"
readonly
placeholder=
"请选择"
@
click=
"selectBpTenant"
>
</item>
<item>
...
...
@@ -78,7 +78,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
注册地址
</div>
<
span
slot=
"content"
>
{{
baseInfo
.
registered_place
}}
</span
>
<
input
slot=
"content"
v-model=
"baseInfo.registered_place"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
经营地址
</div>
...
...
@@ -101,19 +101,20 @@
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"font-color"
>
姓名
</div>
<input
slot=
"content"
v-model=
"baseInfo.legal_person"
readonly
>
<input
slot=
"content"
v-model=
"baseInfo.legal_person"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
证件号
</div>
<input
slot=
"content"
v-model=
"baseInfo.id_card_no"
readonly
>
<input
slot=
"content"
v-model=
"baseInfo.id_card_no"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手机号码
</div>
<input
slot=
"content"
v-model=
"baseInfo.cell_phone"
readonly
>
<input
slot=
"content"
v-model=
"baseInfo.cell_phone"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
联系地址
</div>
<span
slot=
"content"
>
{{
baseInfo
.
living_address
}}
</span>
<input
slot=
"content"
v-model=
"baseInfo.living_address"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
...
...
@@ -228,7 +229,7 @@
<div
slot=
"name"
class=
"font-color"
>
纳税人识别号
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.organization_code"
placeholder=
"纳税人识别号"
type=
"text"
readonly
v-model=
"invoiceInfo.organization_code"
placeholder=
"纳税人识别号"
type=
"text"
>
</item>
</list-item>
...
...
@@ -238,13 +239,13 @@
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
>
账户名称
</div>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_account_name"
placeholder=
"请输入账户名称"
>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_account_name"
placeholder=
"请输入账户名称"
>
</item>
<item>
<div
slot=
"name"
>
开户行
</div>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_full_name"
v-model=
"ba
nk_lists
.bank_full_name"
placeholder=
"请输入开户行"
>
</item>
...
...
@@ -252,13 +253,13 @@
<div
slot=
"name"
>
银行账号
</div>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_account_num"
v-model=
"ba
nk_lists
.bank_account_num"
placeholder=
"请输入银行账号"
>
</item>
<item>
<div
slot=
"name"
>
联行号
</div>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_branch_name"
placeholder=
"请输入联行号"
>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_branch_name"
placeholder=
"请输入联行号"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
...
...
@@ -331,52 +332,52 @@
<item>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<!--
<span
slot=
"content"
>
{{
info
.
equip_price
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.equip_price"
placeholder=
"请输入设备总价"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.equip_price"
placeholder=
"请输入设备总价"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融资金额
</div>
<!--
<span
slot=
"content"
>
{{
info
.
finance_amount
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.finance_amount"
placeholder=
"请输入融资金额"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.finance_amount"
placeholder=
"请输入融资金额"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<!--
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.down_payment"
placeholder=
"请输入首付款"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.down_payment"
placeholder=
"请输入首付款"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
<!--
<span
slot=
"content"
>
{{
info
.
deposit_ratio_n
}}
</span>
-->
<
RateInput
slot=
"content"
v-model=
"quotationInfo.deposit_ratio_n
"
placeholder=
"请输入保证金比例"
/>
<
input
slot=
"content"
v-model=
"quotationInfo.deposit_ratio
"
placeholder=
"请输入保证金比例"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<!--
<span
slot=
"content"
>
{{
info
.
deposit
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.deposit"
placeholder=
"请输入保证金"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.deposit"
placeholder=
"请输入保证金"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
<!--
<input
slot=
"content"
v-model=
"info.lease_charge_ratio_n"
readonly
/>
-->
<
RateInput
slot=
"content"
v-model=
"quotationInfo.lease_charge_ratio_n
"
placeholder=
"请输入手续费比例"
/>
<
input
slot=
"content"
v-model=
"quotationInfo.lease_charge_ratio
"
placeholder=
"请输入手续费比例"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
lease_charge
*
info
.
product_num
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.lease_charge"
placeholder=
"请输入手续费"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.lease_charge"
placeholder=
"请输入手续费"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保险押金
</div>
<!--
<span
slot=
"content"
>
{{
info
.
insurance_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.insurance_fee"
placeholder=
"请输入保险押金"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.insurance_fee"
placeholder=
"请输入保险押金"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
GPS费用
</div>
<!--
<span
slot=
"content"
>
{{
info
.
gps_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.gps_fee"
placeholder=
"请输入GPS费用"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.gps_fee"
placeholder=
"请输入GPS费用"
/>
</item>
<item>
<div
slot=
"name"
>
首次付款合计
</div>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
first_pay
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
</item>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
-->
...
...
@@ -390,10 +391,10 @@
<!--
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.annual_pay_times_n"
readonly
/>
-->
<!--
</item>
-->
<item
:show-arrow=
"true"
@
click
.
native=
"periodPull"
>
<item
:show-arrow=
"true"
>
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
<
span
slot=
"content"
>
{{
quotationInfo
.
annual_pay_times_n
}}
</span
>
<
!--
<input
slot=
"content"
v-model=
"info.annual_pay_times_n"
placeholder=
"月"
>
--
>
<
!--
<span
slot=
"content"
>
{{
quotationInfo
.
annual_pay_times_n
}}
</span>
--
>
<
input
slot=
"content"
v-model=
"quotationInfo.annual_pay_times"
placeholder=
"月"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
租赁期数
</div>
...
...
@@ -403,7 +404,7 @@
<item>
<div
slot=
"name"
class=
"font-color"
>
年利率
</div>
<!--
<span
slot=
"content"
>
{{
info
.
int_rate_n
}}
</span>
-->
<
RateInput
slot=
"content"
v-model=
"quotationInfo.int_rate_n
"
placeholder=
"请输入年利率"
/>
<
input
slot=
"content"
v-model=
"quotationInfo.int_rate
"
placeholder=
"请输入年利率"
/>
</item>
</list-item>
<!--
<div
class=
"repay-plan"
>
-->
...
...
@@ -430,8 +431,8 @@
</list-item>
</h-content>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"next"
>
<img
src=
"@/assets/intoApproval/approve.png"
@
click
.
native=
""
>
保存
<tab-button
class=
"next"
@
click
.
native=
"saveData"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
保存
</tab-button>
</bottom-tab>
</h-view>
...
...
@@ -601,6 +602,26 @@ export default {
this
.
repayPeriod
()
},
methods
:
{
saveData
(){
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_base_info_save'
let
master
=
{
...
vm
.
baseInfo
,
...
vm
.
bank_lists
,...
vm
.
invoiceInfo
}
master
.
project_id
=
vm
.
project_id
let
param
=
{
master
}
vm
.
hlsPopup
.
showLoading
(
'数据保存中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
}
})
vm
.
calculationSave
()
},
_renderPage
(
num
)
{
this
.
pdfDoc
.
getPage
(
num
).
then
((
page
)
=>
{
let
canvas
=
document
.
getElementById
(
'the-canvas'
+
num
)
...
...
@@ -669,7 +690,8 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
leaseList
=
res
.
info
vm
.
leaseList
=
res
.
lists
vm
.
downNum
=
false
}
})
},
...
...
@@ -823,26 +845,26 @@ export default {
}
})
},
selectBpTenant
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
bpTenantList
,
code
:
'bp_id'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
debugger
console
.
log
(
vm
.
bpTenantList
[
index
])
vm
.
baseInfo
=
{
...
vm
.
baseInfo
,
...
vm
.
bpTenantList
[
index
],
}
vm
.
invoiceInfo
=
{
...
vm
.
invoiceInfo
,
...
vm
.
bpTenantList
[
index
],
}
},
})
},
//
selectBpTenant (e) {
//
let vm = this
//
vm.hlsPopup.selectList({
//
list: vm.bpTenantList,
//
code: 'bp_id',
//
object: {},
//
returnItem: function (index, obj) {
//
debugger
//
console.log(vm.bpTenantList[index])
//
vm.baseInfo = {
//
...vm.baseInfo,
//
...vm.bpTenantList[index],
//
}
//
vm.invoiceInfo = {
//
...vm.invoiceInfo,
//
...vm.bpTenantList[index],
//
}
//
},
//
})
//
},
getAttachmentList
(
checkId
,
code
)
{
let
vm
=
this
let
url
=
...
...
@@ -1174,6 +1196,7 @@ export default {
},
// 保存设备
prjLeaseItemSave
()
{
debugger
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_lease_item_save'
let
param
=
{
...
...
@@ -1199,15 +1222,13 @@ export default {
let
vm
=
this
if
(
!
vm
.
quotationInfo
.
equip_price
)
{
hlsPopup
.
showLongCenter
(
'请输入设备总价'
)
}
else
if
(
!
vm
.
quotationInfo
.
price_date_to
)
{
hlsPopup
.
showLongCenter
(
'请选择时间'
)
}
else
if
(
!
vm
.
quotationInfo
.
gps_fee
)
{
hlsPopup
.
showLongCenter
(
'请输入GPS费用'
)
}
else
if
(
!
vm
.
quotationInfo
.
insurance_fee
)
{
hlsPopup
.
showLongCenter
(
'请输入保险押金费用'
)
}
else
{
let
url
=
$config
.
basePath
+
'zm_prj_quotation_save'
let
param
=
{
let
master
=
{
'project_id'
:
vm
.
project_id
,
'quotation_id'
:
vm
.
quotationInfo
.
quotation_id
,
'equip_price'
:
vm
.
quotationInfo
.
equip_price
,
...
...
@@ -1225,6 +1246,7 @@ export default {
'lease_start_date'
:
vm
.
quotationInfo
.
lease_start_date
,
'int_rate'
:
vm
.
quotationInfo
.
int_rate
,
}
let
param
=
{
master
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
...
...
src/pages/contractSigning/contract-signing.vue
View file @
a2bb55d3
...
...
@@ -27,7 +27,7 @@
<div
class=
"pro-code"
@
click=
"goDetails(item)"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt
class=
"file-icon"
/>
<p>
<span>
项目
编号
</span>
<span>
合同
编号
</span>
<span>
{{
item
.
project_number
}}
</span>
</p>
<img
v-if=
"item.read_check === 'N'"
src=
"@/assets/constractSigning/unread.png"
alt
class=
"unread"
/>
...
...
@@ -53,15 +53,15 @@
<p>
承租人
</p>
<p>
{{
item
.
bp_name
}}
</p>
</div>
<!--
<div>
--
>
<!--
<p>
合同名称
</p>
--
>
<!--
<p>
{{
item
.
project_name
}}
</p>
--
>
<!--
</div>
--
>
<div
>
<p>
合同名称
</p
>
<p>
{{
item
.
project_name
}}
</p
>
</div
>
<div>
<p>
设备总价
</p>
<p>
合同租金
</p>
<p
class=
"money"
>
{{
item
.
equip_price
|
currency
}}
</p>
</div>
<!--
<div>
-->
<!--
<div>
<!--
<p>
产品名称
</p>
-->
<!--
<p>
{{
item
.
division_n
}}
</p>
-->
<!--
</div>
-->
...
...
@@ -284,7 +284,7 @@ export default {
let
vm
=
this
if
(
vm
.
num
===
1
)
{
vm
.
submitPagenum
++
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
// user_phone: window.localStorage.user_phone,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
...
...
@@ -322,7 +322,7 @@ export default {
})
}
else
if
(
vm
.
num
===
2
)
{
vm
.
approvedPagenum
++
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
// user_phone: window.localStorage.user_phone,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
...
...
@@ -361,7 +361,7 @@ export default {
async
submitSearch
()
{
let
vm
=
this
vm
.
submitPagenum
=
1
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
// user_phone: window.localStorage.user_phone,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
...
...
@@ -396,7 +396,7 @@ export default {
},
approvedearch
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
vm
.
approvedPagenum
=
1
let
param
=
{
// user_phone: window.localStorage.user_phone,
...
...
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