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
966977f2
Commit
966977f2
authored
Dec 18, 2023
by
王建文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
融资方案确认
parent
acf90b99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
137 additions
and
32 deletions
+137
-32
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+4
-5
contract-new.vue
src/pages/contractSigning/contract-new.vue
+133
-27
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
966977f2
...
...
@@ -238,13 +238,13 @@
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
>
账户名称
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_account_name"
placeholder=
"请输入账户名称"
>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_account_name"
placeholder=
"请输入账户名称"
>
</item>
<item>
<div
slot=
"name"
>
开户行
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_full_name"
v-model=
"ba
seInfo
.bank_full_name"
placeholder=
"请输入开户行"
>
</item>
...
...
@@ -252,13 +252,13 @@
<div
slot=
"name"
>
银行账号
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_account_num"
v-model=
"ba
seInfo
.bank_account_num"
placeholder=
"请输入银行账号"
>
</item>
<item>
<div
slot=
"name"
>
联行号
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_branch_name"
placeholder=
"请输入联行号"
>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_branch_name"
placeholder=
"请输入联行号"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
...
...
@@ -1213,7 +1213,6 @@ export default {
// 方案信息保存&更新接口
calculationSave
()
{
let
vm
=
this
<<<<<<<
HEAD
if
(
!
vm
.
quotationInfo
.
equip_price
)
{
hlsPopup
.
showLongCenter
(
'请输入设备总价'
)
}
else
if
(
!
vm
.
quotationInfo
.
gps_fee
)
{
...
...
src/pages/contractSigning/contract-new.vue
View file @
966977f2
<
template
>
<h-view
id=
"contract-details"
class=
"public-style"
>
<transition
name=
"trans"
>
<div
v-show=
"downNum"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
录入产品信息
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum = false"
>
</div>
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"itemInfo.ref_v02"
placeholder=
"请输入产品名称"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"itemInfo.quantity"
placeholder=
"请输入产品数量"
>
</item>
</list-item>
</div>
<button
@
click=
"prjLeaseItemSave"
>
保存
</button>
</div>
</div>
</transition>
<h-header
:proportion=
"[5, 1, 1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
...
...
@@ -28,10 +62,10 @@
<input
slot=
"content"
v-model=
"baseInfo.bp_name"
type=
"text"
readonly
placeholder=
"请
选择
"
@
click=
"selectBpTenant"
placeholder=
"请
输入
"
>
</item>
<item>
...
...
@@ -57,25 +91,27 @@
<item>
<div
slot=
"name"
class=
"font-color"
>
是否授权
</div>
<h-switch
slot=
"content"
v-model=
"baseInfo.auth_flag"
/>
<!--
<h-switch
slot=
"content"
v-model=
"baseInfo.auth_flag"
/>
-->
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
是否征信授权
</div>
<h-switch
slot=
"content"
v-model=
"baseInfo.credit_flag"
/>
<!--
<h-switch
slot=
"content"
v-model=
"baseInfo.credit_flag"
/>
-->
</item>
</list-item>
<div
class=
"equipment-list"
>
法定代表人
</div>
<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>
...
...
@@ -273,52 +309,53 @@
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<
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>
<
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>
<
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>
<
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>
<
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>
<
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>
<
currency-
input
slot=
"content"
v-model=
"quotationInfo.lease_charge"
placeholder=
"请输入手续费"
/>
<input
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>
<
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>
<
CurrencyI
nput
slot=
"content"
v-model=
"quotationInfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
<
i
nput
slot=
"content"
v-model=
"quotationInfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
</item>
<item
:show-arrow=
"true"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"content"
class=
"autoColor"
>
{{
quotationInfo
.
lease_start_date
}}
</div>
</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>
<!--
<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>
...
...
@@ -326,7 +363,26 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
年利率
</div>
<RateInput
slot=
"content"
v-model=
"quotationInfo.int_rate_n"
placeholder=
"请输入年利率"
/>
<input
slot=
"content"
v-model=
"quotationInfo.int_rate"
placeholder=
"请输入年利率"
/>
</item>
</list-item>
<div
class=
"equipment-list-fund"
>
<span/>
<p>
设备清单
</p>
<div
style=
"width: 75%;text-align: right;"
@
click=
"downNum=true"
>
新增
</div>
</div>
<list-item
v-for=
"(item, index) in leaseList"
:item-height=
"44"
:key=
"index"
class=
"second-part"
>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
设备识别号
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.product_code"
readonly
/>
-->
<!--
</item>
-->
<item>
<div
slot=
"name"
class=
"font-color"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"item.ref_v02"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"item.quantity"
readonly
>
</item>
</list-item>
</h-content>
...
...
@@ -362,11 +418,11 @@ export default {
data
()
{
return
{
info
:
{},
// 租赁信息
num
:
1
,
num
:
0
,
downNum
:
false
,
leaseList
:
[],
baseInfo
:
{
credit_flag
:
true
,
},
// 基本信息
project_id
:
''
,
check1
:
Check1
,
...
...
@@ -779,16 +835,59 @@ export default {
prjBaseInfoSave
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_base_info_save'
let
master
=
{
...
vm
.
baseInfo
,
...
vm
.
bank_lists
,...
vm
.
invoiceInfo
}
master
.
user_phone
=
window
.
localStorage
.
user_phone
// master.phone= window.localStorage.user_phone
// 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
.
project_id
=
res
.
project_id
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 设备信息
getLease
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_lease_item_query'
let
param
=
{
'project_id'
:
vm
.
project_id
,
'operator_id'
:
''
,
...
vm
.
baseInfo
,
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
leaseList
=
res
.
lists
vm
.
downNum
=
false
}
})
},
// 保存设备
prjLeaseItemSave
()
{
debugger
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_lease_item_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
itemInfo
,
}],
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
getLease
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -798,9 +897,15 @@ export default {
// 方案信息保存&更新接口
calculationSave
()
{
let
vm
=
this
if
(
!
vm
.
project_id
){
hlsPopup
.
showLongCenter
(
'请先保存基本信息'
)
return
}
let
url
=
$config
.
basePath
+
'zm_prj_quotation_save'
let
param
=
{
let
master
=
{
'project_id'
:
vm
.
project_id
,
'user_phone'
:
window
.
localStorage
.
user_phone
,
// 'phone': window.localStorage.user_phone,
'quotation_id'
:
vm
.
quotationInfo
.
quotation_id
,
'equip_price'
:
vm
.
quotationInfo
.
equip_price
,
'down_payment'
:
vm
.
quotationInfo
.
down_payment
,
...
...
@@ -817,6 +922,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
()
...
...
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