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
1b2c7b7a
Commit
1b2c7b7a
authored
Dec 18, 2023
by
wjc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
融租方案新增
parent
0744c914
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1831 additions
and
59 deletions
+1831
-59
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+23
-56
contract-new.vue
src/pages/contractSigning/contract-new.vue
+1795
-0
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+11
-3
index.js
src/router/index.js
+2
-0
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
1b2c7b7a
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
是否征信授权
</div>
<div
slot=
"name"
class=
"font-color"
>
是否征信授权
</div>
<h-switch
slot=
"content"
v-model=
"baseInfo.
auth
_flag"
/>
<h-switch
slot=
"content"
v-model=
"baseInfo.
credit
_flag"
/>
</item>
</item>
</list-item>
</list-item>
<div
class=
"equipment-list"
>
法定代表人
</div>
<div
class=
"equipment-list"
>
法定代表人
</div>
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
联系地址
</div>
<div
slot=
"name"
class=
"font-color"
>
联系地址
</div>
<
span
slot=
"content"
>
{{
baseInfo
.
living_address
}}
</span
>
<
textarea
slot=
"content"
v-model=
"baseInfo.living_address"
></textarea
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"equipment-list"
>
<div
class=
"equipment-list"
>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<div
slot=
"name"
class=
"font-color"
>
纳税人类型
</div>
<div
slot=
"name"
class=
"font-color"
>
纳税人类型
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"
invoic
eInfo.taxpayer_type_n"
v-model=
"
bas
eInfo.taxpayer_type_n"
type=
"text"
type=
"text"
readonly
readonly
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
<div
slot=
"name"
class=
"font-color"
>
发票类型
</div>
<div
slot=
"name"
class=
"font-color"
>
发票类型
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"
invoic
eInfo.invoice_kind_n"
v-model=
"
bas
eInfo.invoice_kind_n"
type=
"text"
type=
"text"
readonly
readonly
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -194,43 +194,43 @@
...
@@ -194,43 +194,43 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票抬头
</div>
<div
slot=
"name"
class=
"font-color"
>
发票抬头
</div>
<input
slot=
"content"
v-model=
"
invoic
eInfo.invoice_title"
type=
"text"
placeholder=
"请输入发票抬头"
>
<input
slot=
"content"
v-model=
"
bas
eInfo.invoice_title"
type=
"text"
placeholder=
"请输入发票抬头"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票地址
</div>
<div
slot=
"name"
class=
"font-color"
>
发票地址
</div>
<textarea
<textarea
slot=
"content"
ref=
"myTestarea"
v-model=
"
invoic
eInfo.invoice_adds"
cols=
"22"
slot=
"content"
ref=
"myTestarea"
v-model=
"
bas
eInfo.invoice_adds"
cols=
"22"
rows=
"1"
rows=
"1"
type=
"text"
placeholder=
"请输入发票地址"
@
input=
"addRows(
invoic
eInfo.invoice_adds)"
/>
type=
"text"
placeholder=
"请输入发票地址"
@
input=
"addRows(
bas
eInfo.invoice_adds)"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
开户电话
</div>
<div
slot=
"name"
class=
"font-color"
>
开户电话
</div>
<input
slot=
"content"
v-model=
"
invoic
eInfo.invoice_tel"
type=
"text"
placeholder=
"请输入开户电话"
>
<input
slot=
"content"
v-model=
"
bas
eInfo.invoice_tel"
type=
"text"
placeholder=
"请输入开户电话"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票开户行
</div>
<div
slot=
"name"
class=
"font-color"
>
发票开户行
</div>
<textarea
<textarea
slot=
"content"
slot=
"content"
ref=
"myTestareaLive"
ref=
"myTestareaLive"
v-model=
"
invoic
eInfo.open_bank"
v-model=
"
bas
eInfo.open_bank"
cols=
"22"
cols=
"22"
rows=
"1"
rows=
"1"
type=
"text"
type=
"text"
placeholder=
"请输入发票开户行"
placeholder=
"请输入发票开户行"
@
input=
"addRowsLive(
invoic
eInfo.open_bank)"
@
input=
"addRowsLive(
bas
eInfo.open_bank)"
/>
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
开户行账号
</div>
<div
slot=
"name"
class=
"font-color"
>
开户行账号
</div>
<input
slot=
"content"
v-model=
"
invoic
eInfo.open_account"
type=
"text"
placeholder=
"请输入开户行账号"
>
<input
slot=
"content"
v-model=
"
bas
eInfo.open_account"
type=
"text"
placeholder=
"请输入开户行账号"
>
</item>
</item>
<item>
<
!--
<
item>
<div
slot=
"name"
class=
"font-color"
>
纳税人识别号
</div>
<div
slot=
"name"
class=
"font-color"
>
纳税人识别号
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"invoiceInfo.organization_code"
placeholder=
"纳税人识别号"
type=
"text"
readonly
v-model=
"invoiceInfo.organization_code"
placeholder=
"纳税人识别号"
type=
"text"
readonly
>
>
</item>
</item>
-->
</list-item>
</list-item>
<div
class=
"equipment-list"
>
<div
class=
"equipment-list"
>
基本账户信息
基本账户信息
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<!--
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
currency
}}
</span>
-->
<!--
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"quotationInfo.down_payment"
:readonly=
"true"
placeholder=
"请输入首付款"
/>
<CurrencyInput
slot=
"content"
v-model=
"quotationInfo.down_payment"
placeholder=
"请输入首付款"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
...
@@ -481,7 +481,7 @@ export default {
...
@@ -481,7 +481,7 @@ export default {
bp_class
:
this
.
$route
.
params
.
item
.
bp_class
,
// 承租人性质(自然人,企业)
bp_class
:
this
.
$route
.
params
.
item
.
bp_class
,
// 承租人性质(自然人,企业)
info
:
{},
// 租赁信息
info
:
{},
// 租赁信息
baseInfo
:
{
baseInfo
:
{
auth
_flag
:
true
,
credit
_flag
:
true
,
},
// 基本信息
},
// 基本信息
project_id
:
''
,
project_id
:
''
,
bank_flag
:
false
,
bank_flag
:
false
,
...
@@ -511,18 +511,7 @@ export default {
...
@@ -511,18 +511,7 @@ export default {
legalPic
:
''
,
// 法人授权书图片
legalPic
:
''
,
// 法人授权书图片
abc_deduction_flag
:
'N'
,
// 代扣授权书状态
abc_deduction_flag
:
'N'
,
// 代扣授权书状态
signCheckFlag
:
false
,
// 签约校验,为true已认证通过可进行签约,否则不可签约
signCheckFlag
:
false
,
// 签约校验,为true已认证通过可进行签约,否则不可签约
invoiceInfo
:
{
invoice_kind
:
''
,
invoice_kind_n
:
''
,
taxpayer_type
:
''
,
invoice_title
:
''
,
taxpayer_type_n
:
''
,
organization_code
:
''
,
invoice_adds
:
''
,
invoice_tel
:
''
,
open_bank
:
''
,
open_account
:
''
,
},
bank_lists
:
{
bank_lists
:
{
bank_account_num
:
''
,
// 卡号
bank_account_num
:
''
,
// 卡号
bank_account_name
:
''
,
// 账户姓名
bank_account_name
:
''
,
// 账户姓名
...
@@ -699,25 +688,7 @@ export default {
...
@@ -699,25 +688,7 @@ export default {
}
}
})
})
},
},
invoiceQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_query'
let
param
=
{
bp_id
:
vm
.
bp_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
'invoiceInfo'
,
res
.
info
)
vm
.
invoiceInfo
=
res
.
info
vm
.
invoiceInfo
.
invoice_title
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'handleUser'
)).
bp_name
// Object.assign(vm.invoiceInfo, res.info)
vm
.
addRows
(
vm
.
invoiceInfo
.
invoice_adds
)
vm
.
addRowsLive
(
vm
.
invoiceInfo
.
open_bank
)
}
})
},
addRows
(
e
)
{
addRows
(
e
)
{
if
(
e
)
{
if
(
e
)
{
...
@@ -834,15 +805,11 @@ export default {
...
@@ -834,15 +805,11 @@ export default {
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
debugger
debugger
console
.
log
(
vm
.
bpTenantList
[
index
])
//
console.log(vm.bpTenantList[index])
vm
.
baseInfo
=
{
vm
.
baseInfo
=
{
...
vm
.
baseInfo
,
...
vm
.
baseInfo
,
...
vm
.
bpTenantList
[
index
],
...
vm
.
bpTenantList
[
index
],
}
}
vm
.
invoiceInfo
=
{
...
vm
.
invoiceInfo
,
...
vm
.
bpTenantList
[
index
],
}
},
},
})
})
},
},
...
@@ -915,9 +882,9 @@ export default {
...
@@ -915,9 +882,9 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
$set
(
vm
.
invoic
eInfo
,
'taxpayer_type'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
bas
eInfo
,
'taxpayer_type'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
invoic
eInfo
,
'taxpayer_type_n'
,
obj
.
bp_type_n
)
vm
.
$set
(
vm
.
bas
eInfo
,
'taxpayer_type_n'
,
obj
.
bp_type_n
)
console
.
log
(
'obj'
,
vm
.
invoic
eInfo
)
console
.
log
(
'obj'
,
vm
.
bas
eInfo
)
},
},
})
})
},
},
...
@@ -928,8 +895,8 @@ export default {
...
@@ -928,8 +895,8 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
$set
(
vm
.
invoic
eInfo
,
'invoice_kind'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
bas
eInfo
,
'invoice_kind'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
invoic
eInfo
,
'invoice_kind_n'
,
obj
.
bp_type_n
)
vm
.
$set
(
vm
.
bas
eInfo
,
'invoice_kind_n'
,
obj
.
bp_type_n
)
},
},
})
})
},
},
...
...
src/pages/contractSigning/contract-new.vue
0 → 100755
View file @
1b2c7b7a
This diff is collapsed.
Click to expand it.
src/pages/contractSigning/contract-signing.vue
View file @
1b2c7b7a
<
template
>
<
template
>
<h-view
id=
"contract-signing"
>
<h-view
id=
"contract-signing"
>
<h-header
:proportion=
"[5, 1,
1
]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5, 1,
3
]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
融租方案确认
</span>
<span>
融租方案确认
</span>
</div>
</div>
<div
slot=
"right"
class=
"h-header-btn"
@
click=
"addNew()"
><span>
新增
</span></div>
</h-header>
</h-header>
<!--
<div
class=
"tab-style has-header"
>
<!--
<div
class=
"tab-style has-header"
>
<div
:class=
"
{ 'done': num === 1, 'undone': num !== 1 }" @click="num = 1; isRadio = false">
<div
:class=
"
{ 'done': num === 1, 'undone': num !== 1 }" @click="num = 1; isRadio = false">
...
@@ -284,7 +286,7 @@ export default {
...
@@ -284,7 +286,7 @@ export default {
let
vm
=
this
let
vm
=
this
if
(
vm
.
num
===
1
)
{
if
(
vm
.
num
===
1
)
{
vm
.
submitPagenum
++
vm
.
submitPagenum
++
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
let
param
=
{
// user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
...
@@ -322,7 +324,7 @@ export default {
...
@@ -322,7 +324,7 @@ export default {
})
})
}
else
if
(
vm
.
num
===
2
)
{
}
else
if
(
vm
.
num
===
2
)
{
vm
.
approvedPagenum
++
vm
.
approvedPagenum
++
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
let
param
=
{
// user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
...
@@ -441,6 +443,12 @@ export default {
...
@@ -441,6 +443,12 @@ export default {
},
},
})
})
},
},
addNew
()
{
this
.
$router
.
push
({
name
:
'ContractNew'
,
})
},
},
},
}
}
</
script
>
</
script
>
...
...
src/router/index.js
View file @
1b2c7b7a
...
@@ -68,6 +68,7 @@ const EntryInfo = resolve => require.ensure([], () => { resolve(require('@/pages
...
@@ -68,6 +68,7 @@ const EntryInfo = resolve => require.ensure([], () => { resolve(require('@/pages
const
ElectronicSign
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/electronic-sign'
))
},
'contractSigning'
)
const
ElectronicSign
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/electronic-sign'
))
},
'contractSigning'
)
/* const BodyCheck = resolve=>require.ensure([],()=>{resolve(require(@/pages/ContractSigning/body-check')) }, 'contractSigning') */
/* const BodyCheck = resolve=>require.ensure([],()=>{resolve(require(@/pages/ContractSigning/body-check')) }, 'contractSigning') */
const
ContractRepayPlan
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-repay-plan'
))
},
'contractSigning'
)
const
ContractRepayPlan
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-repay-plan'
))
},
'contractSigning'
)
const
ContractNew
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-new'
))
},
'contractSigning'
)
// 首付款支付
// 首付款支付
const
FirstPay
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/firstPay/first-pay'
))
},
'firstPay'
)
const
FirstPay
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/firstPay/first-pay'
))
},
'firstPay'
)
...
@@ -275,6 +276,7 @@ export default new Router({
...
@@ -275,6 +276,7 @@ export default new Router({
{
path
:
'/entry-info'
,
component
:
EntryInfo
,
name
:
'EntryInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/entry-info'
,
component
:
EntryInfo
,
name
:
'EntryInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/contract-repay-plan'
,
component
:
ContractRepayPlan
,
name
:
'ContractRepayPlan'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/contract-repay-plan'
,
component
:
ContractRepayPlan
,
name
:
'ContractRepayPlan'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/electronic-sign'
,
component
:
ElectronicSign
,
name
:
'ElectronicSign'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/electronic-sign'
,
component
:
ElectronicSign
,
name
:
'ElectronicSign'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/contract-new'
,
component
:
ContractNew
,
name
:
'ContractNew'
,
meta
:
{
keepAlive
:
false
}},
// 首付款支付
// 首付款支付
{
path
:
'/first-pay'
,
component
:
FirstPay
,
name
:
'FirstPay'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/first-pay'
,
component
:
FirstPay
,
name
:
'FirstPay'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/pay-entry'
,
component
:
PayEntry
,
name
:
'PayEntry'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/pay-entry'
,
component
:
PayEntry
,
name
:
'PayEntry'
,
meta
:
{
keepAlive
:
true
}},
...
...
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