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
7a133a2d
Commit
7a133a2d
authored
Nov 21, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'提代码'
parent
b6ca3923
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+1
-2
financing-details.vue
src/pages/financingTrial/financing-details.vue
+12
-5
No files found.
src/pages/contractSigning/contract-signing.vue
View file @
7a133a2d
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-2
0 17:01:18
* @LastEditTime: 2019-11-2
1 13:40:59
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -131,7 +131,6 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
res
.
lists
)
vm
.
lists
=
res
.
lists
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'SUBMIT'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'APPROVED'
)
...
...
src/pages/financingTrial/financing-details.vue
View file @
7a133a2d
...
...
@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit
* @Author: your name
* @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-11-21 1
0:48:15
* @LastEditTime: 2019-11-21 1
2:39:19
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -21,7 +21,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<
input
slot=
"content"
v-model=
"equip_price"
type=
"number"
placeholder=
"请输入设备总价"
>
<
CurrencyInput
slot=
"content"
:value=
"equip_price"
@
input=
"getVal"
/
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融资金额
</div>
...
...
@@ -117,8 +117,12 @@
</
template
>
<
script
>
import
CurrencyInput
from
'@/components/currencyInput'
export
default
{
name
:
'FinancingDetails'
,
components
:
{
CurrencyInput
,
},
data
()
{
return
{
info
:
{},
...
...
@@ -126,7 +130,7 @@ export default {
insurance_fee
:
''
,
// 保险押金
quotation_id
:
''
,
// 试算成功返回id
trial_flag
:
false
,
// 检测是否通过试算
equip_price
:
null
,
// 设备价格
equip_price
:
''
,
// 设备价格
periodLists
:
[],
// 还款周期
product_num
:
''
,
// 产品数量
price_date_to
:
'请选择时间'
,
// 预计还款日
...
...
@@ -143,7 +147,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'FinancingTrial'
)
{
vm
.
equip_price
=
vm
.
$route
.
params
.
plan_price
// 参考价
vm
.
equip_price
=
Number
(
vm
.
$route
.
params
.
plan_price
)
// 参考价
// if (vm.product_plan_id !== vm.$route.params.product_plan_id) {
// 重置产品id、试算返回id、试算状态、保险押金、gps费用、预计还款日
vm
.
product_plan_id
=
vm
.
$route
.
params
.
product_plan_id
...
...
@@ -162,7 +166,10 @@ export default {
created
()
{},
methods
:
{
// 还款计划
getVal
(
val
)
{
this
.
equip_price
=
val
},
// 还款计划
goRepay
()
{
if
(
this
.
trial_flag
)
{
this
.
$router
.
push
({
...
...
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