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
b265fb99
Commit
b265fb99
authored
Dec 24, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add租赁信息
parent
008dc514
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
321 additions
and
132 deletions
+321
-132
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+14
-2
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+269
-105
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+18
-18
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+8
-5
pay-page.vue
src/pages/pay/pay-page.vue
+4
-2
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+8
-0
No files found.
src/pages/contractCreate/contract-create-list.vue
View file @
b265fb99
...
@@ -94,9 +94,21 @@ export default {
...
@@ -94,9 +94,21 @@ export default {
})
})
},
},
changePage
()
{
changePage
()
{
this
.
$router
.
push
({
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_project_id'
let
param
=
{}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
window
.
localStorage
.
setItem
(
'project_id'
,
res
.
info
.
project_id
)
vm
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
name
:
'CreateBaseInfo'
,
})
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
},
loadMore
()
{},
loadMore
()
{},
},
},
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
b265fb99
This diff is collapsed.
Click to expand it.
src/pages/contractCreate/create-base-info.vue
View file @
b265fb99
...
@@ -300,7 +300,7 @@ export default {
...
@@ -300,7 +300,7 @@ export default {
NPBaseInfo
:
{},
// 自然人基本信息
NPBaseInfo
:
{},
// 自然人基本信息
ORGBaseInfo
:
{},
// 企业基本信息
ORGBaseInfo
:
{},
// 企业基本信息
saveInfo
:
{
// 需要保存的信息
saveInfo
:
{
// 需要保存的信息
project_id
:
''
,
project_id
:
window
.
localStorage
.
project_id
,
bp_id
:
window
.
localStorage
.
bp_id
,
bp_id
:
window
.
localStorage
.
bp_id
,
bp_class
:
window
.
localStorage
.
bp_class
,
bp_class
:
window
.
localStorage
.
bp_class
,
equip_num
:
''
,
equip_num
:
''
,
...
@@ -403,24 +403,24 @@ export default {
...
@@ -403,24 +403,24 @@ export default {
},
},
save
()
{
save
()
{
let
vm
=
this
let
vm
=
this
//
let url = process.env.basePath + 'prj_base_info_save'
let
url
=
process
.
env
.
basePath
+
'prj_base_info_save'
//
let param = {
let
param
=
{
//
master: {...vm.saveInfo, ...vm.makeData()},
master
:
{...
vm
.
saveInfo
,
...
vm
.
makeData
()},
//
}
}
//
hlsPopup.showLoading('请稍候')
hlsPopup
.
showLoading
(
'请稍候'
)
//
vm.$post(url, param).then(function (res) {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
//
if (res.result === 'S') {
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'CreateRentInfo'
,
name
:
'CreateRentInfo'
,
params
:
{
params
:
{
bp_agent_id
:
vm
.
bp_agent_id
,
bp_agent_id
:
vm
.
bp_agent_id
,
},
},
})
})
//
} else {
}
else
{
//
hlsPopup.showLongCenter(res.message)
hlsPopup
.
showLongCenter
(
res
.
message
)
//
}
}
//
})
})
},
},
getBaseInfo
()
{
getBaseInfo
()
{
this
.
getEquipInfo
()
this
.
getEquipInfo
()
...
...
src/pages/pay/firstPay/pay-entry.vue
View file @
b265fb99
...
@@ -174,7 +174,6 @@ import zg from '@/assets/payment/zg.png'
...
@@ -174,7 +174,6 @@ import zg from '@/assets/payment/zg.png'
import
zs
from
'@/assets/payment/zs.png'
import
zs
from
'@/assets/payment/zs.png'
import
zx
from
'@/assets/payment/zx.png'
import
zx
from
'@/assets/payment/zx.png'
import
bank
from
'@/assets/payment/bank.png'
import
bank
from
'@/assets/payment/bank.png'
import
yinlian
from
'@/assets/payment/bind.png'
export
default
{
export
default
{
name
:
'PayEntry'
,
name
:
'PayEntry'
,
components
:
{},
components
:
{},
...
@@ -194,10 +193,6 @@ export default {
...
@@ -194,10 +193,6 @@ export default {
bank_full_name
:
''
,
bank_full_name
:
''
,
bank_account_num
:
''
,
bank_account_num
:
''
,
},
},
checkPayWay
:
{
img
:
''
,
pay_type_name
:
''
,
},
confirm
:
false
,
confirm
:
false
,
show
:
false
,
show
:
false
,
showOutside
:
false
,
showOutside
:
false
,
...
@@ -219,6 +214,13 @@ export default {
...
@@ -219,6 +214,13 @@ export default {
return
'确认订单'
return
'确认订单'
}
}
},
},
text
()
{
if
(
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
return
'K码/K令支付'
}
else
if
(
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
===
-
1
)
{
return
'银联支付'
}
},
serviceCharge
()
{
serviceCharge
()
{
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
},
},
...
@@ -369,6 +371,7 @@ export default {
...
@@ -369,6 +371,7 @@ export default {
params
:
{
params
:
{
url
:
res
.
paymentURL
,
url
:
res
.
paymentURL
,
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
text
:
vm
.
text
,
},
},
})
})
}
}
...
...
src/pages/pay/pay-page.vue
View file @
b265fb99
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div
v-if=
"!isSuccess||!isFaild"
>
<div
class=
"box-top"
>
<div
class=
"box-top"
>
<img
src=
"@/assets/payment/bank-title.png"
>
<img
src=
"@/assets/payment/bank-title.png"
>
</div>
</div>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
支付方式
</div>
<div
slot=
"name"
class=
"name"
>
支付方式
</div>
<div
slot=
"content"
>
K码/K令支付
</div>
<div
slot=
"content"
>
{{
text
}}
</div>
</item>
</item>
</list-item>
</list-item>
<div
class=
"description"
>
<div
class=
"description"
>
...
@@ -114,6 +114,7 @@ export default {
...
@@ -114,6 +114,7 @@ export default {
return
{
return
{
name
:
''
,
name
:
''
,
url
:
''
,
url
:
''
,
text
:
this
.
$route
.
params
.
text
,
info
:
{
info
:
{
order_number
:
''
,
order_number
:
''
,
pay_amount_name
:
''
,
pay_amount_name
:
''
,
...
@@ -138,6 +139,7 @@ export default {
...
@@ -138,6 +139,7 @@ export default {
vm
.
isGo
=
false
vm
.
isGo
=
false
vm
.
name
=
from
.
name
vm
.
name
=
from
.
name
vm
.
url
=
vm
.
$route
.
params
.
url
vm
.
url
=
vm
.
$route
.
params
.
url
vm
.
text
=
vm
.
$route
.
params
.
text
vm
.
getInfo
()
vm
.
getInfo
()
})
})
},
},
...
...
src/pages/pay/payment/pay-entry.vue
View file @
b265fb99
...
@@ -210,6 +210,13 @@ export default {
...
@@ -210,6 +210,13 @@ export default {
return
'确认订单'
return
'确认订单'
}
}
},
},
text
()
{
if
(
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
return
'K码/K令支付'
}
else
if
(
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
===
-
1
)
{
return
'银联支付'
}
},
serviceCharge
()
{
serviceCharge
()
{
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
},
},
...
@@ -302,6 +309,7 @@ export default {
...
@@ -302,6 +309,7 @@ export default {
params
:
{
params
:
{
url
:
res
.
paymentURL
,
url
:
res
.
paymentURL
,
order_id
:
vm
.
$route
.
params
.
order_id
,
order_id
:
vm
.
$route
.
params
.
order_id
,
text
:
vm
.
text
,
},
},
})
})
}
}
...
...
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