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
a9ebe053
Commit
a9ebe053
authored
Dec 26, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
9569775f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
15 deletions
+55
-15
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+13
-3
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+21
-6
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+19
-5
sales-info.vue
src/pages/contractCreate/sales-info.vue
+1
-0
financing-details.vue
src/pages/financingTrial/financing-details.vue
+1
-1
No files found.
src/pages/contractCreate/contract-create-list.vue
View file @
a9ebe053
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
</div>
</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;">
<img
:src=
"num === 1?check1:uncheck1"
><span>
待
签约
</span></div>
<div
:class=
"
{'done':num === 1,'undone':num !== 1}" @click="num = 1;">
<img
:src=
"num === 1?check1:uncheck1"
><span>
待
提交
</span></div>
<div
:class=
"
{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<img
:src=
"num === 2?check2:uncheck2"
><span>
已
签约
</span></div>
<div
:class=
"
{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<img
:src=
"num === 2?check2:uncheck2"
><span>
已
提交
</span></div>
</div>
</div>
<!-- 搜索 -->
<!-- 搜索 -->
<div
class=
"search"
>
<div
class=
"search"
>
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
>
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
v-for=
"(item,index) in showLists"
:key=
"index"
class=
"contract-lists"
>
<div
v-for=
"(item,index) in showLists"
:key=
"index"
class=
"contract-lists"
>
<div
class=
"pro-code"
@
click=
"
goDetails(item)
"
>
<div
class=
"pro-code"
@
click=
"
changeBase
"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<p>
<p>
<span>
合同号
</span>
<span>
合同号
</span>
...
@@ -113,6 +113,16 @@ export default {
...
@@ -113,6 +113,16 @@ export default {
}
}
})
})
},
},
changeBase
()
{
if
(
this
.
num
===
1
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
}
else
if
(
this
.
num
===
2
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
true
)
}
this
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
})
},
goDetails
()
{
goDetails
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'SalesInfo'
,
name
:
'SalesInfo'
,
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
a9ebe053
...
@@ -304,14 +304,28 @@ export default {
...
@@ -304,14 +304,28 @@ export default {
vm
.
pagenumSearch
=
1
vm
.
pagenumSearch
=
1
vm
.
pagenumSearchPolicy
=
1
vm
.
pagenumSearchPolicy
=
1
vm
.
policyKeyWord
=
''
vm
.
policyKeyWord
=
''
vm
.
keyWordProduct
=
''
vm
.
businessLists
=
[]
vm
.
divisionLists
=
[]
vm
.
pagenum
=
1
vm
.
pagenumPolicy
=
1
if
(
from
.
name
===
'CreateBaseInfo'
)
{
if
(
from
.
name
===
'CreateBaseInfo'
)
{
vm
.
businessLists
=
[]
vm
.
pagenum
=
1
vm
.
pagenumPolicy
=
1
vm
.
isComputed
=
false
vm
.
isComputed
=
false
vm
.
getProductLine
()
// 产品线查询
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
vm
.
repayPeriod
()
// 还款周期查询
if
(
i
!==
'project_id'
)
{
vm
.
getPayWay
()
// 支付方式查询
vm
.
saveInfo
[
i
]
=
''
}
})
Object
.
keys
(
vm
.
productInfo
).
forEach
(
i
=>
{
if
(
i
!==
'project_id'
)
{
vm
.
saveInfo
[
i
]
=
''
}
})
setTimeout
(()
=>
{
vm
.
getProductLine
()
// 产品线查询
vm
.
repayPeriod
()
// 还款周期查询
vm
.
getPayWay
()
// 支付方式查询
},
0
)
}
}
})
})
},
},
...
@@ -336,6 +350,7 @@ export default {
...
@@ -336,6 +350,7 @@ export default {
vm
.
saveInfo
.
int_rate
=
e
.
int_rate
vm
.
saveInfo
.
int_rate
=
e
.
int_rate
vm
.
saveInfo
.
int_rate_n
=
e
.
int_rate_n
vm
.
saveInfo
.
int_rate_n
=
e
.
int_rate_n
vm
.
saveInfo
.
penalty_rate_n
=
e
.
penalty_rate_n
vm
.
saveInfo
.
penalty_rate_n
=
e
.
penalty_rate_n
vm
.
saveInfo
.
penalty_rate
=
e
.
penalty_rate
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
src/pages/contractCreate/create-base-info.vue
View file @
a9ebe053
...
@@ -281,6 +281,7 @@ export default {
...
@@ -281,6 +281,7 @@ export default {
bp_agent_id
:
''
,
bp_agent_id
:
''
,
pageNum
:
1
,
pageNum
:
1
,
pageNumSearch
:
1
,
pageNumSearch
:
1
,
status
:
window
.
localStorage
.
contractReadonly
,
BussinessSituationList
:
[],
// 行业情况
BussinessSituationList
:
[],
// 行业情况
jobSituationList
:
[],
// 职业情况
jobSituationList
:
[],
// 职业情况
houseInfonList
:
[],
// 房产信息
houseInfonList
:
[],
// 房产信息
...
@@ -293,7 +294,7 @@ export default {
...
@@ -293,7 +294,7 @@ export default {
ORGBaseInfo
:
{},
// 企业基本信息
ORGBaseInfo
:
{},
// 企业基本信息
saveInfo
:
{
// 需要保存的信息
saveInfo
:
{
// 需要保存的信息
project_id
:
window
.
localStorage
.
project_id
,
project_id
:
window
.
localStorage
.
project_id
,
bp_id
:
window
.
localStorage
.
bp_id
,
bp_id
:
window
.
localStorage
.
bp_id
_tenant
,
bp_class
:
window
.
localStorage
.
bp_class
,
bp_class
:
window
.
localStorage
.
bp_class
,
equip_num
:
''
,
equip_num
:
''
,
equip_num_n
:
''
,
equip_num_n
:
''
,
...
@@ -344,8 +345,21 @@ export default {
...
@@ -344,8 +345,21 @@ export default {
vm
.
showModalValue
=
false
vm
.
showModalValue
=
false
vm
.
pageNum
=
1
vm
.
pageNum
=
1
vm
.
pageNumSearch
=
1
vm
.
pageNumSearch
=
1
vm
.
undertakeList
=
[]
vm
.
bp_class
=
window
.
localStorage
.
bp_class
vm
.
bp_class
=
window
.
localStorage
.
bp_class
if
(
from
.
name
===
'SalesInfo'
)
{
if
(
from
.
name
===
'SalesInfo'
)
{
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
if
(
i
!==
'project_id'
&&
i
!==
'bp_id'
&&
i
!==
'bp_class'
&&
i
!==
'abc_deduction_flag'
&&
i
!==
'special_flag'
)
{
vm
.
saveInfo
[
i
]
=
''
}
else
if
(
i
===
'abc_deduction_flag'
&&
i
===
'special_flag'
)
{
vm
.
saveInfo
[
i
]
=
'N'
}
})
vm
.
selectUdertake
=
[]
setTimeout
(()
=>
{
vm
.
getBaseInfo
()
},
0
)
}
else
if
(
from
.
name
===
'SalesInfo'
&&
!
this
.
status
)
{
vm
.
getBaseInfo
()
vm
.
getBaseInfo
()
}
}
})
})
...
@@ -447,7 +461,7 @@ export default {
...
@@ -447,7 +461,7 @@ export default {
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
let
url
=
process
.
env
.
basePath
+
process
.
env
.
basePath
+
'
car_confirm_list
_query'
+
'
prj_bp_guta
_query'
+
'&index'
+
'&index'
+
`'
${
randomString
}
'`
`'
${
randomString
}
'`
let
param
=
{
let
param
=
{
...
@@ -487,7 +501,7 @@ export default {
...
@@ -487,7 +501,7 @@ export default {
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
let
url
=
process
.
env
.
basePath
+
process
.
env
.
basePath
+
'
car_confirm_list
_query'
+
'
prj_bp_guta
_query'
+
'&index'
+
'&index'
+
`'
${
randomString
}
'`
`'
${
randomString
}
'`
let
param
=
{
let
param
=
{
...
@@ -526,7 +540,7 @@ export default {
...
@@ -526,7 +540,7 @@ export default {
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_np_info_query'
let
url
=
process
.
env
.
basePath
+
'bp_np_info_query'
let
param
=
{
let
param
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id
_tenant
'
),
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
...
@@ -542,7 +556,7 @@ export default {
...
@@ -542,7 +556,7 @@ export default {
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_org_info_query'
let
url
=
process
.
env
.
basePath
+
'bp_org_info_query'
let
param
=
{
let
param
=
{
bp_id
:
window
.
localStorage
.
bp_id
,
bp_id
:
window
.
localStorage
.
bp_id
_tenant
,
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/contractCreate/sales-info.vue
View file @
a9ebe053
...
@@ -420,6 +420,7 @@ export default {
...
@@ -420,6 +420,7 @@ export default {
this
.
lessee
=
item
.
bp_name
this
.
lessee
=
item
.
bp_name
this
.
salesInfo
.
bp_id_tenant
=
item
.
bp_id
this
.
salesInfo
.
bp_id_tenant
=
item
.
bp_id
this
.
showModal
=
false
this
.
showModal
=
false
window
.
localStorage
.
setItem
(
'bp_id_tenant'
,
this
.
salesInfo
.
bp_id_tenant
)
},
},
hideModal
()
{
hideModal
()
{
this
.
showModal
=
false
this
.
showModal
=
false
...
...
src/pages/financingTrial/financing-details.vue
View file @
a9ebe053
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<span
v-if=
"equip_price"
slot=
"content"
>
{{
parseFloat
(
equip_price
*
info
.
down_payment_ratio_n
.
replace
(
"%"
,
""
)
/
100
+
equip_price
*
info
.
deposit_ratio_n
.
replace
(
"%"
,
""
)
/
100
+
(
equip_price
-
equip_price
*
info
.
down_payment_ratio_n
.
replace
(
"%"
,
""
)
/
100
)
*
(
info
.
lease_charge_ratio_n
.
replace
(
"%"
,
""
)
/
100
)
+
Number
(
gps_fee
)
+
Number
(
insurance_fee
)).
toFixed
(
2
)
|
currency
}}
</span>
<span
v-if=
"equip_price"
slot=
"content"
>
{{
parseFloat
(
equip_price
*
info
.
down_payment_ratio_n
.
replace
(
"%"
,
""
)
/
100
+
equip_price
*
info
.
deposit_ratio_n
.
replace
(
"%"
,
""
)
/
100
+
(
equip_price
-
equip_price
*
info
.
down_payment_ratio_n
.
replace
(
"%"
,
""
)
/
100
)
*
(
info
.
lease_charge_ratio_n
.
replace
(
"%"
,
""
)
/
100
)
+
Number
(
gps_fee
)
+
Number
(
insurance_fee
)).
toFixed
(
2
)
|
currency
}}
</span>
</item>
</item>
<item
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<item
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"name"
class=
"fo
nt-color"
>
预计付款日
</div>
<div
slot=
"content"
class=
"autoColor"
>
{{
price_date_to
}}
</div>
<div
slot=
"content"
class=
"autoColor"
>
{{
price_date_to
}}
</div>
<img
src=
"@/assets/trial/date.png"
alt=
""
class=
"date-pic"
>
<img
src=
"@/assets/trial/date.png"
alt=
""
class=
"date-pic"
>
</item>
</item>
...
...
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