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
f0d7a7c6
Commit
f0d7a7c6
authored
Jan 02, 2020
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
''
parents
1b6e7c34
cb11b843
Pipeline
#4430
canceled with stages
Changes
22
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
589 additions
and
269 deletions
+589
-269
prod.env.js
config/prod.env.js
+1
-1
uat.env.js
config/uat.env.js
+1
-1
currencyInput.vue
src/components/currencyInput.vue
+7
-9
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+1
-1
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+1
-0
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+14
-12
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+59
-23
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+18
-5
sales-info.vue
src/pages/contractCreate/sales-info.vue
+16
-2
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+3
-3
add-car.vue
src/pages/contractStart/add-car.vue
+2
-2
contract-details.vue
src/pages/distributorSign/contract-details.vue
+1
-1
first-pay.vue
src/pages/pay/marginPay/first-pay.vue
+29
-14
pay-entry.vue
src/pages/pay/marginPay/pay-entry.vue
+324
-120
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+1
-1
base-info.vue
src/pages/userBindNew/np/base-info.vue
+29
-28
invoice-info.vue
src/pages/userBindNew/np/invoice-info.vue
+8
-4
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+42
-30
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+3
-2
invoice.vue
src/pages/userBindNew/org/invoice.vue
+25
-7
index.js
src/router/index.js
+2
-2
index.html
www/index.html
+2
-1
No files found.
config/prod.env.js
View file @
f0d7a7c6
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.0.
2
"'
currentVersion
:
'"1.0.
3
"'
}
}
config/uat.env.js
View file @
f0d7a7c6
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.
2.9
"'
currentVersion
:
'"1.
3.2
"'
}
}
src/components/currencyInput.vue
View file @
f0d7a7c6
...
@@ -19,6 +19,10 @@ export default {
...
@@ -19,6 +19,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
content
:
{
type
:
String
,
default
:
''
,
},
},
},
data
()
{
data
()
{
...
@@ -36,7 +40,9 @@ export default {
...
@@ -36,7 +40,9 @@ export default {
formatValue
()
{
formatValue
()
{
let
currency
=
this
.
$options
.
filters
[
'currency'
]
let
currency
=
this
.
$options
.
filters
[
'currency'
]
if
(
!
this
.
focused
)
{
if
(
!
this
.
focused
)
{
if
(
this
.
value
!==
'0.00'
&&
this
.
value
!==
''
&&
this
.
value
!==
null
)
{
return
`¥
${
currency
(
this
.
value
)}
`
return
`¥
${
currency
(
this
.
value
)}
`
}
}
else
{
}
else
{
return
this
.
value
return
this
.
value
}
}
...
@@ -55,14 +61,6 @@ export default {
...
@@ -55,14 +61,6 @@ export default {
let
value
=
event
.
target
.
value
let
value
=
event
.
target
.
value
event
.
target
.
value
=
''
event
.
target
.
value
=
''
event
.
target
.
value
=
value
event
.
target
.
value
=
value
/* if (document.selection) {
var sel = value.createTextRange()
sel.moveStart('character', value.length)
sel.collapse()
sel.select()
} else if (typeof value.selectionStart === 'number' && typeof value.selectionEnd === 'number') {
value.selectionStart = value.selectionEnd = value.length
}*/
setTimeout
(
function
()
{
setTimeout
(
function
()
{
event
.
target
.
type
=
'number'
event
.
target
.
type
=
'number'
event
.
target
.
focus
()
event
.
target
.
focus
()
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
f0d7a7c6
...
@@ -262,7 +262,7 @@ export default {
...
@@ -262,7 +262,7 @@ export default {
data_class
:
'LEASE_ITEM'
,
data_class
:
'LEASE_ITEM'
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍后!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍后!'
)
let
res
=
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
return
true
return
true
...
...
src/pages/contractCreate/contract-create-list.vue
View file @
f0d7a7c6
...
@@ -321,6 +321,7 @@ export default {
...
@@ -321,6 +321,7 @@ export default {
})
})
},
},
changeBase
(
item
)
{
changeBase
(
item
)
{
window
.
localStorage
.
setItem
(
'bp_name_tenant'
,
item
.
bp_name
)
if
(
this
.
num
===
1
)
{
if
(
this
.
num
===
1
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'fromPage'
,
'list'
)
window
.
localStorage
.
setItem
(
'fromPage'
,
'list'
)
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
f0d7a7c6
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"saveInfo.product_num"
:readonly=
"isReadOnly"
placeholder=
"请
填写
产品数量"
>
<input
slot=
"content"
v-model=
"saveInfo.product_num"
:readonly=
"isReadOnly"
placeholder=
"请
输入
产品数量"
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"userInfo"
>
融资信息
</div>
<div
class=
"userInfo"
>
融资信息
</div>
...
@@ -61,11 +61,11 @@
...
@@ -61,11 +61,11 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
设备单价
</div>
<div
slot=
"name"
>
设备单价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
:readonly=
"isReadOnly"
placeholder=
"
0
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.equip_price"
:readonly=
"isReadOnly"
placeholder=
"
请输入设备单价
"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<div
slot=
"name"
>
融资金额
</div>
<CurrencyInput
slot=
"content"
v-model=
"finance_amount"
:readonly=
"isReadOnly"
placeholder=
"
0
"
/>
<CurrencyInput
slot=
"content"
v-model=
"finance_amount"
:readonly=
"isReadOnly"
placeholder=
"
请输入融资信息
"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
首付比例
</div>
<div
slot=
"name"
>
首付比例
</div>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<item>
<item>
<div
slot=
"name"
>
首付款
</div>
<div
slot=
"name"
>
首付款
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.down_payment"
:readonly=
"isReadOnly"
placeholder=
"
0
"
slot=
"content"
v-model=
"saveInfo.down_payment"
:readonly=
"isReadOnly"
placeholder=
"
请输入首付款
"
@
input=
"changeRatio"
/>
@
input=
"changeRatio"
/>
</item>
</item>
<item>
<item>
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<item>
<item>
<div
slot=
"name"
>
保证金
</div>
<div
slot=
"name"
>
保证金
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.deposit"
:readonly=
"isReadOnly"
placeholder=
"
0
"
slot=
"content"
v-model=
"saveInfo.deposit"
:readonly=
"isReadOnly"
placeholder=
"
请输入保证金
"
@
input=
"changeDeposit"
/>
@
input=
"changeDeposit"
/>
</item>
</item>
<item>
<item>
...
@@ -94,16 +94,16 @@
...
@@ -94,16 +94,16 @@
<item>
<item>
<div
slot=
"name"
>
手续费
</div>
<div
slot=
"name"
>
手续费
</div>
<CurrencyInput
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.lease_charge"
:readonly=
"isReadOnly"
placeholder=
"
0
"
slot=
"content"
v-model=
"saveInfo.lease_charge"
:readonly=
"isReadOnly"
placeholder=
"
请输入手续费
"
@
input=
"changeLeaseCharge"
/>
@
input=
"changeLeaseCharge"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
GPS费用
</div>
<div
slot=
"name"
>
GPS费用
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
:readonly=
"isReadOnly"
placeholder=
"
0
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.gps_fee"
:readonly=
"isReadOnly"
placeholder=
"
请输入GPS费用
"
/>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保险押金
</div>
<div
slot=
"name"
>
保险押金
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
:readonly=
"isReadOnly"
placeholder=
"
0
"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.insurance_fee"
:readonly=
"isReadOnly"
placeholder=
"
请输入保险押金
"
/>
</item>
</item>
<item
v-if=
"!isReadOnly"
class=
"date-check"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<item
v-if=
"!isReadOnly"
class=
"date-check"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
>
预计付款日
</div>
<div
slot=
"name"
>
预计付款日
</div>
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
租赁期数
</div>
<div
slot=
"name"
>
租赁期数
</div>
<input
slot=
"content"
v-model=
"saveInfo.lease_times"
:readonly=
"isReadOnly"
placeholder=
"请
填写
租赁期数"
>
<input
slot=
"content"
v-model=
"saveInfo.lease_times"
:readonly=
"isReadOnly"
placeholder=
"请
输入
租赁期数"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
年利率
</div>
<div
slot=
"name"
>
年利率
</div>
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
留购价
</div>
<div
slot=
"name"
>
留购价
</div>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
:readonly=
"isReadOnly"
placeholder=
"请
填写
留购价"
/>
<CurrencyInput
slot=
"content"
v-model=
"saveInfo.residual_value"
:readonly=
"isReadOnly"
placeholder=
"请
输入
留购价"
/>
</item>
</item>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<item
:showArrow=
"true"
@
click
.
native=
"goPlan"
>
<div
slot=
"name"
>
查看还款计划
</div>
<div
slot=
"name"
>
查看还款计划
</div>
...
@@ -281,6 +281,7 @@ export default {
...
@@ -281,6 +281,7 @@ export default {
}, */
}, */
saveInfo
:
{
saveInfo
:
{
project_id
:
window
.
localStorage
.
project_id
,
project_id
:
window
.
localStorage
.
project_id
,
bp_name
:
''
,
product_id
:
''
,
product_id
:
''
,
product_id_n
:
''
,
product_id_n
:
''
,
product_num
:
''
,
product_num
:
''
,
...
@@ -367,6 +368,7 @@ export default {
...
@@ -367,6 +368,7 @@ export default {
vm
.
calculeFlag
=
false
vm
.
calculeFlag
=
false
vm
.
salesEnter
=
vm
.
$route
.
params
.
salesEnter
vm
.
salesEnter
=
vm
.
$route
.
params
.
salesEnter
vm
.
bp_agent_id
=
vm
.
$route
.
params
.
bp_agent_id
vm
.
bp_agent_id
=
vm
.
$route
.
params
.
bp_agent_id
vm
.
saveInfo
.
bp_name
=
window
.
localStorage
.
bp_name_tenant
vm
.
saveTed
=
false
vm
.
saveTed
=
false
if
(
vm
.
fromPage
===
'sale'
)
{
if
(
vm
.
fromPage
===
'sale'
)
{
vm
.
fromList
=
false
vm
.
fromList
=
false
...
@@ -375,7 +377,7 @@ export default {
...
@@ -375,7 +377,7 @@ export default {
vm
.
rentInfoQuery
()
vm
.
rentInfoQuery
()
}
}
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
// 置空saveInfo
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
// 置空saveInfo
if
(
i
!==
'project_id'
)
{
if
(
i
!==
'project_id'
&&
i
!==
'bp_name'
)
{
vm
.
saveInfo
[
i
]
=
''
vm
.
saveInfo
[
i
]
=
''
}
}
})
})
...
@@ -534,6 +536,7 @@ export default {
...
@@ -534,6 +536,7 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
isComputed
=
true
vm
.
isComputed
=
true
vm
.
calculeFlag
=
true
vm
.
calculeFlag
=
true
vm
.
saveTed
=
true
hlsPopup
.
showLongCenter
(
'计算成功'
)
hlsPopup
.
showLongCenter
(
'计算成功'
)
vm
.
goPlan
()
vm
.
goPlan
()
}
else
{
}
else
{
...
@@ -571,7 +574,6 @@ export default {
...
@@ -571,7 +574,6 @@ export default {
})
})
}
else
{
}
else
{
if
(
vm
.
isComputed
)
{
if
(
vm
.
isComputed
)
{
vm
.
saveTed
=
true
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
name
:
'CreateEnclosureInfo'
,
})
})
...
...
src/pages/contractCreate/create-base-info.vue
View file @
f0d7a7c6
...
@@ -276,6 +276,7 @@
...
@@ -276,6 +276,7 @@
<img
v-if=
"!fromPutted"
src=
"@/assets/contractCreate/add.png"
@
click=
"addPerson"
>
<img
v-if=
"!fromPutted"
src=
"@/assets/contractCreate/add.png"
@
click=
"addPerson"
>
</div>
</div>
</div>
</div>
<div
v-if=
"!fromPutted"
>
<item-option
v-for=
"(item,index) in selectUdertake"
:key=
"index"
class=
"mySlider"
>
<item-option
v-for=
"(item,index) in selectUdertake"
:key=
"index"
class=
"mySlider"
>
<list-item
:item-height=
"68"
>
<list-item
:item-height=
"68"
>
<item>
<item>
...
@@ -285,7 +286,7 @@
...
@@ -285,7 +286,7 @@
<br
>
证件号
<br
>
证件号
</div>
</div>
<div
slot=
"content"
>
<div
slot=
"content"
>
<input
v-model=
"item.bp
_name"
placeholder=
"暂无信息"
readonly
>
<input
v-model=
"item.bp_guta
_name"
placeholder=
"暂无信息"
readonly
>
<input
v-model=
"item.id_card_no"
placeholder=
"暂无信息"
readonly
>
<input
v-model=
"item.id_card_no"
placeholder=
"暂无信息"
readonly
>
</div>
</div>
</item>
</item>
...
@@ -294,6 +295,20 @@
...
@@ -294,6 +295,20 @@
<option-button
type=
"warn"
text
@
click
.
native=
"deleteFun(item)"
/>
<option-button
type=
"warn"
text
@
click
.
native=
"deleteFun(item)"
/>
</div>
</div>
</item-option>
</item-option>
</div>
<list-item
v-if=
"fromPutted"
:item-height=
"68"
>
<item
v-for=
"(item,index) in selectUdertake"
:key=
"index"
>
<span
slot=
"left-icon"
class=
"left-icon"
>
{{
index
+
1
}}
</span>
<div
slot=
"name"
>
担保人
{{
index
+
1
}}
姓名
<br
>
证件号
</div>
<div
slot=
"content"
>
<input
v-model=
"item.bp_guta_name"
placeholder=
"暂无信息"
readonly
>
<input
v-model=
"item.id_card_no"
placeholder=
"暂无信息"
readonly
>
</div>
</item>
</list-item>
</h-content>
</h-content>
<bottom-tab
class=
"add-box"
>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"before"
@
click
.
native=
"$routeGo()"
>
上一步
</tab-button>
<tab-button
class=
"before"
@
click
.
native=
"$routeGo()"
>
上一步
</tab-button>
...
@@ -321,7 +336,7 @@ export default {
...
@@ -321,7 +336,7 @@ export default {
bp_agent_id
:
''
,
bp_agent_id
:
''
,
pageNum
:
1
,
pageNum
:
1
,
pageNumSearch
:
1
,
pageNumSearch
:
1
,
status
:
window
.
localStorage
.
contractReadonly
,
status
:
''
,
// 是否为已提交
BussinessSituationList
:
[],
// 行业情况
BussinessSituationList
:
[],
// 行业情况
jobSituationList
:
[],
// 职业情况
jobSituationList
:
[],
// 职业情况
houseInfonList
:
[],
// 房产信息
houseInfonList
:
[],
// 房产信息
...
@@ -365,6 +380,26 @@ export default {
...
@@ -365,6 +380,26 @@ export default {
},
},
immediate
:
true
,
immediate
:
true
,
},
},
'saveInfo.abc_deduction_flag'
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
===
'N'
)
{
this
.
checked
=
false
}
else
if
(
newVal
===
'Y'
)
{
this
.
checked
=
true
}
},
immediate
:
true
,
},
'saveInfo.special_flag'
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
===
'N'
)
{
this
.
checkedApproved
=
false
}
else
if
(
newVal
===
'Y'
)
{
this
.
checkedApproved
=
true
}
},
immediate
:
true
,
},
'checkedApproved'
:
{
'checkedApproved'
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
===
false
)
{
if
(
newVal
===
false
)
{
...
@@ -384,20 +419,21 @@ export default {
...
@@ -384,20 +419,21 @@ export default {
vm
.
salesEnter
=
''
vm
.
salesEnter
=
''
vm
.
saveTed
=
false
vm
.
saveTed
=
false
vm
.
showModalValue
=
false
vm
.
showModalValue
=
false
vm
.
checked
=
false
// 农行代扣
vm
.
checkedApproved
=
false
// 是否特批
vm
.
pageNum
=
1
vm
.
pageNum
=
1
vm
.
pageNumSearch
=
1
vm
.
pageNumSearch
=
1
vm
.
undertakeList
=
[]
vm
.
undertakeList
=
[]
vm
.
bp_class
=
window
.
localStorage
.
bp_class_tenant
vm
.
bp_class
=
window
.
localStorage
.
bp_class_tenant
vm
.
status
=
window
.
localStorage
.
contractReadonly
vm
.
saveInfo
[
'project_id'
]
=
window
.
localStorage
.
project_id
// 重新赋值,防止缓存
vm
.
saveInfo
[
'project_id'
]
=
window
.
localStorage
.
project_id
// 重新赋值,防止缓存
if
(
from
.
name
===
'SalesInfo'
)
{
if
(
from
.
name
===
'SalesInfo'
)
{
vm
.
salesEnter
=
'SalesInfo'
vm
.
salesEnter
=
'SalesInfo'
vm
.
fromPutted
=
false
vm
.
fromPutted
=
false
vm
.
checked
=
false
// 农行代扣
vm
.
checkedApproved
=
false
// 是否特批
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
if
(
i
!==
'project_id'
&&
i
!==
'bp_id'
&&
i
!==
'bp_class'
&&
i
!==
'abc_deduction_flag'
&&
i
!==
'special_flag'
)
{
if
(
i
!==
'project_id'
&&
i
!==
'bp_id'
&&
i
!==
'bp_class'
&&
i
!==
'abc_deduction_flag'
&&
i
!==
'special_flag'
)
{
vm
.
saveInfo
[
i
]
=
''
vm
.
saveInfo
[
i
]
=
''
}
else
if
(
i
===
'abc_deduction_flag'
&&
i
===
'special_flag'
)
{
}
else
if
(
i
===
'abc_deduction_flag'
||
i
===
'special_flag'
)
{
vm
.
saveInfo
[
i
]
=
'N'
vm
.
saveInfo
[
i
]
=
'N'
}
else
if
(
i
===
'bp_id'
)
{
}
else
if
(
i
===
'bp_id'
)
{
vm
.
saveInfo
[
i
]
=
window
.
localStorage
.
bp_id_tenant
vm
.
saveInfo
[
i
]
=
window
.
localStorage
.
bp_id_tenant
...
@@ -823,7 +859,7 @@ export default {
...
@@ -823,7 +859,7 @@ export default {
deleteFun
(
e
)
{
deleteFun
(
e
)
{
let
deleteIndex
let
deleteIndex
this
.
selectUdertake
.
forEach
((
i
,
index
,
arr
)
=>
{
this
.
selectUdertake
.
forEach
((
i
,
index
,
arr
)
=>
{
if
(
arr
[
index
].
bp_name
.
indexOf
(
e
.
bp_name
)
!==
-
1
)
{
if
(
arr
[
index
].
bp_name
.
indexOf
(
e
.
bp_
guta_
name
)
!==
-
1
)
{
deleteIndex
=
index
deleteIndex
=
index
}
}
})
})
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
f0d7a7c6
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</h-content>
</h-content>
<bottom-tab
class=
"add-box"
>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"before"
@
click
.
native=
"handSave"
>
保存
</tab-button>
<tab-button
class=
"before"
@
click
.
native=
"handSave"
>
保存
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
handle
Submit"
>
提交
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
is
Submit"
>
提交
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -500,23 +500,36 @@ export default {
...
@@ -500,23 +500,36 @@ export default {
handSave
()
{
handSave
()
{
hlsPopup
.
showLongCenter
(
'保存成功!'
)
hlsPopup
.
showLongCenter
(
'保存成功!'
)
},
},
isSubmit
()
{
let
vm
=
this
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'您确定提交吗?'
,
onConfirm
:
data
=>
{
if
(
data
===
1
)
{
this
.
handleSubmit
()
}
},
})
},
// 项目提交审批
// 项目提交审批
handleSubmit
()
{
handleSubmit
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_project_submit'
let
url
=
process
.
env
.
basePath
+
'prj_project_submit'
let
param
=
{
let
param
=
{
project_id
:
window
.
localStorage
.
project_id
,
project_id
:
window
.
localStorage
.
project_id
,
phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'项目提交审批'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'
MyInfo
'
,
name
:
'
ContractCreateList
'
,
})
})
// vm.showLists = res.lists
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
},
},
...
...
src/pages/contractCreate/sales-info.vue
View file @
f0d7a7c6
...
@@ -144,6 +144,7 @@ export default {
...
@@ -144,6 +144,7 @@ export default {
office_name
:
''
,
// 办事处
office_name
:
''
,
// 办事处
factory_name
:
''
,
factory_name
:
''
,
business
:
''
,
business
:
''
,
factoty
:
''
,
// 主机厂列表
showModal
:
false
,
showModal
:
false
,
showLists
:
[],
showLists
:
[],
user_bp_type
:
''
,
// 客户类型
user_bp_type
:
''
,
// 客户类型
...
@@ -168,6 +169,18 @@ export default {
...
@@ -168,6 +169,18 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
'salesInfo.factory'
:
{
handler
(
newVal
,
oldVal
)
{
this
.
factoty
.
forEach
(
i
=>
{
if
(
i
.
bp_factory_id
===
this
.
salesInfo
[
'factory'
])
{
this
.
inflow_line
=
i
.
inflow_line
this
.
inflow_used
=
i
.
inflow_used
this
.
inflow_reset
=
i
.
inflow_reset
}
})
},
immediate
:
true
,
},
},
},
activated
()
{
activated
()
{
...
@@ -309,7 +322,7 @@ export default {
...
@@ -309,7 +322,7 @@ export default {
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'主机厂'
,
res
)
vm
.
factoty
=
res
.
lists
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
factoryLists
=
res
.
lists
.
map
(
item
=>
{
vm
.
factoryLists
=
res
.
lists
.
map
(
item
=>
{
return
{
return
{
...
@@ -436,6 +449,7 @@ export default {
...
@@ -436,6 +449,7 @@ export default {
this
.
showModal
=
false
this
.
showModal
=
false
window
.
localStorage
.
setItem
(
'bp_id_tenant'
,
this
.
salesInfo
.
bp_id_tenant
)
window
.
localStorage
.
setItem
(
'bp_id_tenant'
,
this
.
salesInfo
.
bp_id_tenant
)
window
.
localStorage
.
setItem
(
'bp_class_tenant'
,
item
.
bp_class
)
window
.
localStorage
.
setItem
(
'bp_class_tenant'
,
item
.
bp_class
)
window
.
localStorage
.
setItem
(
'bp_name_tenant'
,
item
.
bp_name
)
},
},
hideModal
()
{
hideModal
()
{
this
.
showModal
=
false
this
.
showModal
=
false
...
@@ -456,7 +470,7 @@ export default {
...
@@ -456,7 +470,7 @@ export default {
hlsPopup
.
showLongCenter
(
'办事处不能为空!'
)
hlsPopup
.
showLongCenter
(
'办事处不能为空!'
)
}
else
if
(
!
vm
.
factory_name
)
{
}
else
if
(
!
vm
.
factory_name
)
{
hlsPopup
.
showLongCenter
(
'主机厂不能为空!'
)
hlsPopup
.
showLongCenter
(
'主机厂不能为空!'
)
}
else
if
(
!
vm
.
manu_manager
)
{
}
else
if
(
!
vm
.
salesInfo
.
manu_manager
)
{
hlsPopup
.
showLongCenter
(
'主机厂业务员不能为空!'
)
hlsPopup
.
showLongCenter
(
'主机厂业务员不能为空!'
)
}
else
if
(
!
vm
.
salesInfo
.
dates
)
{
}
else
if
(
!
vm
.
salesInfo
.
dates
)
{
hlsPopup
.
showLongCenter
(
'签约日期不能为空!'
)
hlsPopup
.
showLongCenter
(
'签约日期不能为空!'
)
...
...
src/pages/contractSigning/contract-detail.vue
View file @
f0d7a7c6
...
@@ -445,14 +445,14 @@ export default {
...
@@ -445,14 +445,14 @@ export default {
// 签约校验
// 签约校验
async
signCheck
()
{
async
signCheck
()
{
let
vm
=
this
let
vm
=
this
hlsPopup
.
showLoading
(
'请稍候'
)
let
url
=
process
.
env
.
basePath
+
'sign_check'
let
url
=
process
.
env
.
basePath
+
'sign_check'
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_PROJECT'
,
data_class
:
'PRJ_PROJECT'
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍后!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
return
true
return
true
}
else
{
}
else
{
...
...
src/pages/contractStart/add-car.vue
View file @
f0d7a7c6
...
@@ -472,11 +472,11 @@ export default {
...
@@ -472,11 +472,11 @@ export default {
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
.
code
===
'00
'
)
{
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
vm
.
getEquipment
()
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
downNum
=
false
vm
.
downNum
=
false
vm
.
getEquipment
()
},
2000
)
},
2000
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/distributorSign/contract-details.vue
View file @
f0d7a7c6
...
@@ -270,7 +270,7 @@ export default {
...
@@ -270,7 +270,7 @@ export default {
data_class
:
'PRJ_PROJECT'
,
data_class
:
'PRJ_PROJECT'
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍后!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍后!'
)
let
res
=
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
return
true
return
true
...
...
src/pages/pay/marginPay/first-pay.vue
View file @
f0d7a7c6
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
<CurrencyInput
v-model=
"money"
type=
"number"
placeholder=
"请输入支付金额"
/>
<CurrencyInput
v-model=
"money"
type=
"number"
placeholder=
"请输入支付金额"
/>
<!--
<div
@
click=
"createOrder"
>
<!--
<div
@
click=
"createOrder"
>
<img
src=
"@/assets/payment/into.png"
>
<img
src=
"@/assets/payment/into.png"
>
</div>
-->
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"write"
>
<div
class=
"write"
>
<div
class=
"box"
>
<div
class=
"box"
>
<span>
备注
</span>
<span>
备注
</span>
<textarea
placeholder=
"请输入您的备注……"
/>
<textarea
v-model=
"pay_note"
placeholder=
"请输入您的备注……"
/>
</div>
</div>
</div>
</div>
</section>
</section>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</div>
</div>
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"
toPayEntry(money)"
>
支
付
</tab-button>
<tab-button
class=
"footer"
@
click
.
native=
"
putOrder(money)"
>
提交订单
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -69,25 +69,40 @@ export default {
...
@@ -69,25 +69,40 @@ export default {
return
{
return
{
money
:
0
,
money
:
0
,
default
:
0
,
default
:
0
,
pay_note
:
''
,
// 备注
}
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{})
})
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
methods
:
{
methods
:
{
putOrder
(
money
)
{
toPayEntry
(
money
)
{
let
vm
=
this
this
.
$router
.
push
({
let
url
=
process
.
env
.
basePath
+
'create_order_agent_amt'
let
param
=
{
info
:
{
bp_id
:
window
.
localStorage
.
bp_id
,
amount
:
money
,
pay_note
:
this
.
pay_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'MarginPayEntry'
,
name
:
'MarginPayEntry'
,
params
:
{
params
:
{
order_id
:
res
.
order_id
,
money
,
money
,
},
},
})
})
}
})
},
},
toPayEntry
(
money
)
{},
},
},
}
}
</
script
>
</
script
>
...
@@ -97,7 +112,7 @@ export default {
...
@@ -97,7 +112,7 @@ export default {
width: 96%;
width: 96%;
height: 172px;
height: 172px;
background-color: #fff;
background-color: #fff;
margin-top:10px;
margin-top:
10px;
box-shadow: 0 1px 3px 2px rgba(168, 168, 168, 0.14);
box-shadow: 0 1px 3px 2px rgba(168, 168, 168, 0.14);
span {
span {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
...
...
src/pages/pay/marginPay/pay-entry.vue
View file @
f0d7a7c6
<
template
>
<
template
>
<h-view
id=
"
pay-entry-margin
"
class=
"public-style"
>
<h-view
id=
"
marginPay-pay-entry
"
class=
"public-style"
>
<transition
name=
"trans"
>
<transition
name=
"trans"
>
<div
v-show=
"downNum"
class=
"modal-show"
>
<div
v-show=
"downNum"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"down"
>
...
@@ -14,57 +14,18 @@
...
@@ -14,57 +14,18 @@
<div
class=
"down"
>
<div
class=
"down"
>
<div
class=
"top"
>
<div
class=
"top"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"show=false"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"show=false"
>
<span>
支付方式
</span>
<span>
选择支付渠道
</span>
</div>
</div>
<scroll>
<scroll>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<list-item
:item-height=
"56"
class=
"pay-way"
>
<item
<item
v-for=
"(item,index) in nongBank"
v-for=
"(item,index) in payTypeList"
:proportion=
"[7,1,1]"
:key=
"item.bank_account_num"
@
click
.
native=
"isSelect(`nong$
{index}`);ischeck(item)"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
<img
v-show=
"item.recommand"
class=
"push"
src=
"@/assets/payment/push.png"
>
</div>
<section
slot=
"content"
>
<img
v-show=
"select === `nong$
{index}`" src="@/assets/payment/select.png" alt >
<img
v-show=
"select !== `nong$
{index}`" src="@/assets/payment/unselect.png" alt >
</section>
</item>
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('one');ischeck('one')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/alipay.png"
alt
class=
"icon1"
>
支付宝
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'one'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'one'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
<item
:proportion=
"[7,1,1]"
@
click
.
native=
"isSelect('two');ischeck('two')"
>
<div
slot=
"name"
>
<img
src=
"@/assets/payment/wx.png"
alt
class=
"icon2"
>
微信
</div>
<section
slot=
"content"
>
<img
v-show=
"select === 'two'"
src=
"@/assets/payment/select.png"
alt
>
<img
v-show=
"select !== 'two'"
src=
"@/assets/payment/unselect.png"
alt
>
</section>
</item>
<item
v-for=
"(item,index) in newList"
:proportion=
"[7,1,1]"
:proportion=
"[7,1,1]"
:key=
"index"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item)"
@
click
.
native=
"isSelect(`three$
{index}`);ischeck(item)">
<!--;confirmToPay(item)-->
>
<div
slot=
"name"
style=
"flex=3"
>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
<img
:src=
"selectImg(item)"
alt
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
{{
item
.
code_name
}}
<img
<img
v-show=
"item.recommand"
v-show=
"item.recommand"
class=
"push"
class=
"push"
...
@@ -86,7 +47,7 @@
...
@@ -86,7 +47,7 @@
<div
class=
"down"
>
<div
class=
"down"
>
<div
class=
"top"
>
<div
class=
"top"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"confirm=false"
>
<img
src=
"@/assets/payment/back.png"
@
click=
"confirm=false"
>
<span>
确认付款
</span>
<span>
确认付款
方式
</span>
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"info-item"
>
<div
class=
"info-item"
>
...
@@ -101,17 +62,23 @@
...
@@ -101,17 +62,23 @@
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
<span>
+¥
{{
serviceCharge
|
currency
}}
</span>
</div>
</div>
<div
class=
"info-item"
@
click=
"show=true"
>
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
付款方式
</span>
<span>
支付渠道
</span>
<span>
<span>
<img
:src=
"checkType.img"
>
<img
:src=
"payTypeObj.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</span>
</div>
</div>
<!--
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
</list-item>
-->
</div>
</div>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"foot"
@
click
.
native=
"
pay"
>
立即
支付
</tab-button>
<tab-button
class=
"foot"
@
click
.
native=
"
checkPay"
>
去
支付
</tab-button>
</bottom-tab>
</bottom-tab>
</div>
</div>
</div>
</div>
...
@@ -119,7 +86,7 @@
...
@@ -119,7 +86,7 @@
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
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>
{{
title
}}
</span>
</div>
</div>
</h-header>
</h-header>
<h-content
class=
"entry-content"
>
<h-content
class=
"entry-content"
>
...
@@ -139,24 +106,32 @@
...
@@ -139,24 +106,32 @@
<span>
手续费
</span>
<span>
手续费
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
<span>
+¥
{{
serviceCharge
}}
</span>
</div>
</div>
<!--
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"selectPayType"
>
<div
slot=
"name"
>
支付渠道
</div>
<input
slot=
"content"
v-model=
"payTypeObj.payType_n"
readonly
>
</item>
</list-item>
-->
<div
class=
"info-item"
@
click=
"show=true"
>
<div
class=
"info-item"
@
click=
"show=true"
>
<span>
付款方式
</span>
<span>
支付渠道
</span>
<span>
<span>
<img
:src=
"checkType.img"
>
<img
:src=
"payTypeObj.img"
>
<span>
{{
checkType
.
bank_full_name
}}
</span>
<span>
{{
payTypeObj
.
payType_n
}}
</span>
<span
v-if=
"sectctNong"
>
(
{{
selectLast
(
checkType
)
}}
)
</span>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
<img
class=
"arrow"
src=
"@/assets/payment/go.png"
>
</span>
</span>
</div>
</div>
</div>
</div>
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"foot"
@
click
.
native=
"affirm"
>
确认
支付
</tab-button>
<tab-button
class=
"foot"
@
click
.
native=
"affirm"
>
确认
订单
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
import
zfb
from
'@/assets/payment/alipay.png'
import
wx
from
'@/assets/payment/wx.png'
import
js
from
'@/assets/payment/js.png'
import
js
from
'@/assets/payment/js.png'
import
ny
from
'@/assets/payment/ly.png'
import
ny
from
'@/assets/payment/ly.png'
import
pf
from
'@/assets/payment/pf.png'
import
pf
from
'@/assets/payment/pf.png'
...
@@ -170,89 +145,137 @@ import xy from '@/assets/payment/xy.png'
...
@@ -170,89 +145,137 @@ import xy from '@/assets/payment/xy.png'
import
yzcx
from
'@/assets/payment/yzcx.png'
import
yzcx
from
'@/assets/payment/yzcx.png'
import
zg
from
'@/assets/payment/zg.png'
import
zg
from
'@/assets/payment/zg.png'
import
zs
from
'@/assets/payment/zs.png'
import
zs
from
'@/assets/payment/zs.png'
import
yinlian
from
'@/assets/payment/bind.png'
import
zx
from
'@/assets/payment/zx.png'
import
zx
from
'@/assets/payment/zx.png'
import
bank
from
'@/assets/payment/bank.png'
export
default
{
export
default
{
name
:
'PayEntry'
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
money
:
''
,
money
:
''
,
wayShow
:
false
,
timer
:
null
,
select
:
'three0'
,
select
:
'three0'
,
name
:
''
,
name
:
''
,
sectctNong
:
false
,
pay_type
:
''
,
bank_account_id
:
''
,
isNongPay
:
false
,
checkType
:
{
img
:
''
,
bank_full_name
:
''
,
bank_account_num
:
''
,
},
payTypeList
:
[],
payTypeObj
:
{
img
:
ny
,
payType
:
'ABC_PAY'
,
payType_n
:
'农行支付'
,
},
confirm
:
false
,
show
:
false
,
showOutside
:
false
,
downNum
:
false
,
downNum
:
false
,
recommand
:
false
,
recommand
:
false
,
userName
:
window
.
localStorage
.
getItem
(
'bp_name'
),
flag
:
false
,
// 用于判断是否有农业银行卡
flag
:
false
,
// 用于判断是否有农业银行卡
lists
:
[],
lists
:
[],
nongBank
:
[],
// 存农行卡
nongBank
:
[],
// 存农行卡
notNongList
:
[],
nongPayList
:
[],
}
}
},
},
computed
:
{
computed
:
{
title
()
{
if
(
this
.
confirm
)
{
return
'支付中心'
}
else
{
return
'确认订单'
}
},
text
()
{
if
(
this
.
payTypeObj
.
payType_n
.
indexOf
(
'农行'
)
!==
-
1
)
{
return
'K码/K令支付'
}
else
if
(
this
.
payTypeObj
.
payType_n
.
indexOf
(
'农行'
)
===
-
1
)
{
return
'银联支付'
}
},
serviceCharge
()
{
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
},
rate
()
{
return
this
.
payTypeObj
.
payType_n
.
indexOf
(
'农行'
)
!==
-
1
?
0.0
:
0.18
},
sumMoney
()
{
return
(
parseFloat
(
this
.
serviceCharge
)
+
parseFloat
(
this
.
money
)).
toFixed
(
2
)
},
newList
()
{
newList
()
{
let
vm
=
this
let
vm
=
this
vm
.
nongBank
=
[]
vm
.
lists
.
forEach
((
item
,
i
)
=>
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
vm
.
nongBank
.
push
(
vm
.
lists
[
i
])
vm
.
flag
=
true
}
})
let
notNong
=
vm
.
lists
.
filter
(
i
=>
{
let
notNong
=
vm
.
lists
.
filter
(
i
=>
{
return
(
i
.
bank_full_name
.
indexOf
(
'农业'
)
===
-
1
)
return
i
.
bank_full_name
.
indexOf
(
'农业'
)
===
-
1
})
})
if
(
vm
.
flag
)
{
vm
.
select
=
'nong0'
}
else
{
vm
.
select
=
'one'
}
return
notNong
return
notNong
},
},
},
},
watch
:
{},
watch
:
{
'payTypeObj.payType_n'
()
{
// this.confirmToPay()
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
confirm
=
false
vm
.
show
=
false
vm
.
showOutside
=
false
vm
.
downNum
=
false
vm
.
name
=
from
.
name
vm
.
name
=
from
.
name
vm
.
money
=
vm
.
$route
.
params
.
money
vm
.
getType
()
vm
.
getType
()
vm
.
nongBank
=
[]
vm
.
nongBank
=
[]
vm
.
getPayType
()
})
})
},
},
activated
()
{
activated
()
{
this
.
money
=
this
.
$route
.
params
.
money
//
this.money = this.$route.params.money
},
},
methods
:
{
methods
:
{
selectPayType
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
payTypeList
,
code
:
'bp_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
payTypeObj
.
payType
=
obj
.
bp_type
vm
.
payTypeObj
.
payType_n
=
obj
.
bp_type_n
},
})
},
getPayType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'payment_type_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
payTypeList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
pay_type
,
code_name
:
item
.
pay_type_name
,
}
})
}
})
},
selectImg
(
e
)
{
selectImg
(
e
)
{
if
(
e
.
bank_full_name
.
indexOf
(
'建设'
)
!==
-
1
)
{
if
(
e
.
code_name
.
indexOf
(
'农行'
)
!==
-
1
)
{
return
js
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
e
.
recommand
=
true
e
.
recommand
=
true
return
ny
return
ny
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'光大'
)
!==
-
1
)
{
}
else
if
(
e
.
code_name
.
indexOf
(
'银联'
)
!==
-
1
)
{
return
gd
return
yinlian
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'广发'
)
!==
-
1
)
{
return
gf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'浦'
)
!==
-
1
)
{
return
pf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'工商'
)
!==
-
1
)
{
return
gs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'交通'
)
!==
-
1
)
{
return
jt
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'民生'
)
!==
-
1
)
{
return
ms
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'平安'
)
!==
-
1
)
{
return
pa
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'兴业'
)
!==
-
1
)
{
return
xy
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'邮'
)
!==
-
1
)
{
return
yzcx
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中国'
)
!==
-
1
)
{
return
zg
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'招商'
)
!==
-
1
)
{
return
zs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中信'
)
!==
-
1
)
{
return
zx
}
else
{
return
bank
}
}
},
},
selectLast
(
item
)
{
selectLast
(
item
)
{
...
@@ -262,17 +285,78 @@ export default {
...
@@ -262,17 +285,78 @@ export default {
isSelect
(
way
)
{
isSelect
(
way
)
{
this
.
select
=
way
this
.
select
=
way
},
},
pay
()
{
ischeck
(
way
)
{
this
.
payTypeObj
.
payType
=
way
.
code
this
.
payTypeObj
.
payType_n
=
way
.
code_name
this
.
payTypeObj
.
img
=
this
.
selectImg
(
way
)
this
.
show
=
false
},
confirmToPay
(
e
)
{
let
vm
=
this
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'update_order_info'
+
'&index'
+
`'
${
randomString
}
'`
if
(
e
)
{
vm
.
pay_type
=
e
.
pay_type
vm
.
bank_account_id
=
e
.
bank_account_id
}
let
param
=
{
info
:
{
order_id
:
vm
.
$route
.
params
.
order_id
,
fee
:
vm
.
serviceCharge
,
bank_account_id
:
'0'
,
pay_type
:
vm
.
payTypeObj
.
payType
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
setTimeout
(()
=>
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
checkPay
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
checkPay
()
{
let
vm
=
this
if
(
parseFloat
(
vm
.
sumMoney
)
===
0
)
{
hlsPopup
.
showLongCenter
(
'您支付的金额为0元'
)
}
else
{
vm
.
pay
()
}
},
pay
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'merchant_payment'
let
param
=
{
order_id
:
vm
.
$route
.
params
.
order_id
,
}
// hlsPopup.showLoading('请稍候')
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
vm
.
money
===
0
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
downNum
=
true
if
(
res
.
return_code
!==
'0000'
)
{
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
vm
.
$router
.
push
({
name
:
'PayPage'
,
params
:
{
url
:
res
.
paymentURL
,
order_id
:
vm
.
$route
.
params
.
order_id
,
text
:
vm
.
text
,
payType
:
vm
.
payTypeObj
.
payType
,
},
})
}
}
else
{
}
else
{
vm
.
changePage
(
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
},
2000
)
})
},
affirm
()
{
// this.confirm = true
this
.
confirmToPay
()
},
},
changePage
()
{
changePage
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -283,7 +367,6 @@ export default {
...
@@ -283,7 +367,6 @@ export default {
},
},
})
})
},
},
getType
()
{
getType
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'payment_method_query'
let
url
=
process
.
env
.
basePath
+
'payment_method_query'
...
@@ -295,6 +378,36 @@ export default {
...
@@ -295,6 +378,36 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
lists
=
res
.
lists
vm
.
lists
=
res
.
lists
vm
.
nongBank
=
[]
vm
.
lists
.
forEach
((
item
,
i
)
=>
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
vm
.
nongBank
.
push
(
vm
.
lists
[
i
])
vm
.
flag
=
true
}
})
if
(
vm
.
flag
)
{
vm
.
select
=
'nong0'
vm
.
checkType
.
bank_full_name
=
'农业银行'
vm
.
checkType
.
img
=
ny
vm
.
checkType
.
bank_account_num
=
vm
.
nongBank
[
0
].
bank_account_num
vm
.
sectctNong
=
true
// vm.confirmToPay(vm.nongBank[0])
vm
.
pay_type
=
vm
.
nongBank
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
nongBank
[
0
].
bank_account_id
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
.
length
!==
0
)
{
vm
.
select
=
'three0'
vm
.
checkType
.
bank_full_name
=
vm
.
newList
[
0
].
bank_full_name
vm
.
checkType
.
img
=
vm
.
selectImg
(
vm
.
newList
[
0
])
vm
.
checkType
.
bank_account_num
=
vm
.
newList
[
0
].
bank_account_num
vm
.
sectctNong
=
true
vm
.
pay_type
=
vm
.
lists
[
0
].
pay_type
vm
.
bank_account_id
=
vm
.
lists
[
0
].
bank_account_id
// vm.confirmToPay(vm.lists[0])
}
else
if
(
!
vm
.
flag
&&
vm
.
lists
===
0
)
{
vm
.
sectctNong
=
false
hlsPopup
.
showLongCenter
(
'请先绑定银行卡'
)
vm
.
checkType
.
bank_full_name
=
'(无)'
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -304,8 +417,11 @@ export default {
...
@@ -304,8 +417,11 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#pay-entry-margin {
#marginPay-pay-entry{
.vue-better-scroll__wrapper{
.hls-list-item{
margin-bottom: 2px !important;
}
.vue-better-scroll__wrapper {
padding: 0;
padding: 0;
}
}
.trans-enter-active,
.trans-enter-active,
...
@@ -329,7 +445,7 @@ export default {
...
@@ -329,7 +445,7 @@ export default {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:18%;
top:
18%;
background: #fff;
background: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
...
@@ -346,7 +462,7 @@ export default {
...
@@ -346,7 +462,7 @@ export default {
width: 20px;
width: 20px;
}
}
span {
span {
margin-left: 3
8
%;
margin-left: 3
0
%;
font-family: PingFangSC-Semibold;
font-family: PingFangSC-Semibold;
font-size: 16px;
font-size: 16px;
color: #656464;
color: #656464;
...
@@ -359,6 +475,94 @@ export default {
...
@@ -359,6 +475,94 @@ export default {
}
}
}
}
}
}
.modal-show-payWay{
width: 100%;
height: 100%;
position: absolute;
display: flex;
z-index: 910;
background-color: rgba(56, 63, 69, 0.3);
justify-content: center;
align-items: center;
.down {
height: 466px;
width: 100%;
position: relative;
top: 18%;
background: #fff;
border-radius: 12px 12px 0 0;
overflow: scroll;
display: flex;
align-items: center;
flex-direction: column;
.top {
left: 24px;
width: 330px;
height: 54px;
display: flex;
align-items: center;
background-color: #fff;
img {
width: 20px;
}
span {
margin-left: 38%;
font-family: PingFangSC-Semibold;
font-size: 16px;
color: #656464;
letter-spacing: 0.49px;
text-align: center;
}
}
.pay-way {
//width: 350px;
//margin: 0 auto;
width: 100%;
padding: 0 4% 0 4%;
background: #fff;
.hls-item {
padding-left: 12px;
.add-name {
flex: 3;
line-height: 56px;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #656464;
div {
display: flex;
justify-content: center;
align-items: center;
}
.icon1 {
width: 34px;
height: 34px;
display: block;
float: left;
margin-top: 10px;
margin-right: 5px;
}
.icon2 {
width: 32px;
display: block;
float: left;
margin-top: 12px;
margin-right: 8px;
}
.icon {
width: 30px;
margin: 0 8px 0 3px;
}
}
.add-content {
img {
width: 21px;
}
}
}
}
}
}
.modal-show-bank {
.modal-show-bank {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
...
@@ -372,7 +576,7 @@ export default {
...
@@ -372,7 +576,7 @@ export default {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:18%;
top:
18%;
background: #fff;
background: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
...
@@ -412,7 +616,7 @@ export default {
...
@@ -412,7 +616,7 @@ export default {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
color: #656464;
color: #656464;
div{
div
{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
...
...
src/pages/pay/payment/pay-entry.vue
View file @
f0d7a7c6
src/pages/userBindNew/np/base-info.vue
View file @
f0d7a7c6
...
@@ -436,7 +436,6 @@ export default {
...
@@ -436,7 +436,6 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
// 绑定查询入口
// 绑定查询入口
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
vm
.
list
=
{}
vm
.
list
=
{}
vm
.
multiBpType
=
{}
vm
.
multiBpType
=
{}
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
upload_list
=
[]
// 上传图片列表
...
@@ -465,6 +464,8 @@ export default {
...
@@ -465,6 +464,8 @@ export default {
vm
.
idCardFrontSpEditFlag
=
false
// 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardFrontSpEditFlag
=
false
// 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackSpEditFlag
=
false
// 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackSpEditFlag
=
false
// 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
isClear
=
false
vm
.
isClear
=
false
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
vm
.
from
=
true
vm
.
from
=
true
vm
.
basicInfoQuery
()
vm
.
basicInfoQuery
()
vm
.
loadItemList
()
// 附件查询
vm
.
loadItemList
()
// 附件查询
...
...
src/pages/userBindNew/np/invoice-info.vue
View file @
f0d7a7c6
...
@@ -210,8 +210,10 @@ export default {
...
@@ -210,8 +210,10 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
invoice_kind
=
obj
.
bp_type
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind'
,
obj
.
bp_type
)
vm
.
invoiceInfo
.
invoice_kind_n
=
obj
.
bp_type_n
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind_n'
,
obj
.
bp_type_n
)
/*vm.invoiceInfo.invoice_kind = obj.bp_type
vm.invoiceInfo.invoice_kind_n = obj.bp_type_n*/
},
},
})
})
},
},
...
@@ -222,8 +224,10 @@ export default {
...
@@ -222,8 +224,10 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
taxpayer_type
=
obj
.
bp_type
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type'
,
obj
.
bp_type
)
vm
.
invoiceInfo
.
taxpayer_type_n
=
obj
.
bp_type_n
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type_n'
,
obj
.
bp_type_n
)
/* vm.invoiceInfo.taxpayer_type = obj.bp_type
vm.invoiceInfo.taxpayer_type_n = obj.bp_type_n*/
},
},
})
})
},
},
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
f0d7a7c6
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
<div
slot=
"name"
class=
"font-color required"
>
姓名
</div>
<div
slot=
"name"
class=
"font-color required"
>
姓名
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"
baseInfo.legal_person
"
v-model=
"
legal_personMsg.bp_legal_name
"
readonly
readonly
placeholder=
"上传身份证自动填充"
placeholder=
"上传身份证自动填充"
class=
"auto"
class=
"auto"
...
@@ -451,7 +451,7 @@ export default {
...
@@ -451,7 +451,7 @@ export default {
},
},
legal_personMsg
:
{
legal_personMsg
:
{
id_card_no
:
null
,
id_card_no
:
null
,
// legal_person
: '',
bp_legal_name
:
''
,
cell_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
cell_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
living_address
:
''
,
living_address
:
''
,
id_card_date_from
:
''
,
// 法定代表人身份证有效期从
id_card_date_from
:
''
,
// 法定代表人身份证有效期从
...
@@ -567,18 +567,10 @@ export default {
...
@@ -567,18 +567,10 @@ export default {
created
()
{},
created
()
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
getBpType
()
vm
.
getProvince
()
if
(
vm
.
$route
.
params
.
status
===
'APPROVED'
)
{
vm
.
isApproved
=
true
window
.
localStorage
.
setItem
(
'isApproved'
,
vm
.
isApproved
)
}
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
/* || from.fullPath === '/margin-first-pay' */
vm
.
legal_personMsg
=
{}
vm
.
legal_personMsg
=
{}
vm
.
baseInfo
=
{}
vm
.
baseInfo
=
{}
vm
.
bank_lists
=
{}
vm
.
bank_lists
=
{}
vm
.
authMsg
=
{}
vm
.
authMsg
=
{}
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
authidCardFront
=
''
// 授权人身份证正面图片
vm
.
authidCardFront
=
''
// 授权人身份证正面图片
...
@@ -587,7 +579,6 @@ export default {
...
@@ -587,7 +579,6 @@ export default {
vm
.
laImg
=
''
// 授权书图片
vm
.
laImg
=
''
// 授权书图片
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
from
=
true
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
...
@@ -603,6 +594,15 @@ export default {
...
@@ -603,6 +594,15 @@ export default {
vm
.
authidCardBackUrlFlag
=
false
// 授权人身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
authidCardBackUrlFlag
=
false
// 授权人身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
licenseImgUrlFlag
=
false
// 营业执照照片,为false则用查询出来的,为true则用拍照出来的
vm
.
licenseImgUrlFlag
=
false
// 营业执照照片,为false则用查询出来的,为true则用拍照出来的
vm
.
laImgUrlFlag
=
false
// 授权书图片,为false则用查询出来的,为true则用拍照出来的
vm
.
laImgUrlFlag
=
false
// 授权书图片,为false则用查询出来的,为true则用拍照出来的
vm
.
getBpType
()
vm
.
getProvince
()
if
(
vm
.
$route
.
params
.
status
===
'APPROVED'
)
{
vm
.
isApproved
=
true
window
.
localStorage
.
setItem
(
'isApproved'
,
vm
.
isApproved
)
}
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
/* || from.fullPath === '/margin-first-pay' */
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
from
=
true
vm
.
getbaseInfo
()
vm
.
getbaseInfo
()
}
}
})
})
...
@@ -794,6 +794,9 @@ export default {
...
@@ -794,6 +794,9 @@ export default {
case
'living_address'
:
case
'living_address'
:
vm
.
hlsPopup
.
showLongCenter
(
'联系地址未填写'
)
vm
.
hlsPopup
.
showLongCenter
(
'联系地址未填写'
)
break
break
case
'bp_legal_name'
:
vm
.
hlsPopup
.
showLongCenter
(
'法定代表人姓名未填写'
)
break
case
'id_card_date_from'
:
case
'id_card_date_from'
:
vm
.
hlsPopup
.
showLongCenter
(
'身份证有效期从未填写'
)
vm
.
hlsPopup
.
showLongCenter
(
'身份证有效期从未填写'
)
break
break
...
@@ -887,6 +890,15 @@ export default {
...
@@ -887,6 +890,15 @@ export default {
case
'living_address'
:
case
'living_address'
:
vm
.
hlsPopup
.
showLongCenter
(
'联系地址未填写'
)
vm
.
hlsPopup
.
showLongCenter
(
'联系地址未填写'
)
break
break
case
'bp_legal_name'
:
vm
.
hlsPopup
.
showLongCenter
(
'法定代表人姓名未填写'
)
break
case
'id_card_date_from'
:
vm
.
hlsPopup
.
showLongCenter
(
'身份证有效期从未填写'
)
break
case
'id_card_date_to'
:
vm
.
hlsPopup
.
showLongCenter
(
'身份证有效期到未填写'
)
break
case
'auth_person_name'
:
case
'auth_person_name'
:
vm
.
hlsPopup
.
showLongCenter
(
'授权人姓名未填写'
)
vm
.
hlsPopup
.
showLongCenter
(
'授权人姓名未填写'
)
break
break
...
@@ -1260,7 +1272,7 @@ export default {
...
@@ -1260,7 +1272,7 @@ export default {
let
result
=
res
.
result
.
words_result
let
result
=
res
.
result
.
words_result
if
(
cardType
===
'idCard'
)
{
// 法定代表人
if
(
cardType
===
'idCard'
)
{
// 法定代表人
// 未授权 姓名,身份证号
// 未授权 姓名,身份证号
vm
.
baseInfo
.
legal_person
=
result
.
姓名
.
words
vm
.
legal_personMsg
.
bp_legal_name
=
result
.
姓名
.
words
vm
.
legal_personMsg
.
id_card_no
=
result
.
公民身份号码
.
words
vm
.
legal_personMsg
.
id_card_no
=
result
.
公民身份号码
.
words
vm
.
legal_personMsg
.
living_address
=
result
.
住址
.
words
// 联系地址默认为户籍地址,支持修改
vm
.
legal_personMsg
.
living_address
=
result
.
住址
.
words
// 联系地址默认为户籍地址,支持修改
}
else
{
// 授权人
}
else
{
// 授权人
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
f0d7a7c6
...
@@ -606,10 +606,11 @@ export default {
...
@@ -606,10 +606,11 @@ export default {
// vm.hauseInfo.regist_date.substr(0, 10)
// vm.hauseInfo.regist_date.substr(0, 10)
console
.
log
(
'regist_date'
,
vm
.
hauseInfo
.
regist_date
)
console
.
log
(
'regist_date'
,
vm
.
hauseInfo
.
regist_date
)
let
param
=
{
let
param
=
{
master
:
{
/*
master: {
...vm.hauseInfo,
...vm.hauseInfo,
regist_date: vm.hauseInfo.regist_date.substr(0, 10),
regist_date: vm.hauseInfo.regist_date.substr(0, 10),
},
},*/
master
:
vm
.
hauseInfo
,
}
}
// hlsPopup.showLoading('请稍候')
// hlsPopup.showLoading('请稍候')
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/userBindNew/org/invoice.vue
View file @
f0d7a7c6
...
@@ -106,7 +106,15 @@ export default {
...
@@ -106,7 +106,15 @@ export default {
watch
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'EnterpriseNew'
)
{
if
(
from
.
name
===
'EnterpriseNew'
&&
vm
.
$route
.
params
.
from
)
{
vm
.
invoiceInfo
=
{}
vm
.
invoiceInfo
.
invoice_title
=
vm
.
$route
.
params
.
bp_name
vm
.
invoiceInfo
.
organization_code
=
vm
.
$route
.
params
.
organization_code
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
invoiceQuery
()
// 开票信息查询
}
/* if (from.name === 'EnterpriseNew') {
vm.invoiceInfo = {
vm.invoiceInfo = {
invoice_kind: '',
invoice_kind: '',
invoice_kind_n: '',
invoice_kind_n: '',
...
@@ -129,10 +137,16 @@ export default {
...
@@ -129,10 +137,16 @@ export default {
}
}
vm.addRows(this.invoiceInfo.invoice_adds)
vm.addRows(this.invoiceInfo.invoice_adds)
vm.addRowsLive(this.invoiceInfo.open_bank)
vm.addRowsLive(this.invoiceInfo.open_bank)
}
}
*/
})
})
},
},
created
()
{},
created
()
{
let
vm
=
this
vm
.
getInvoiceType
()
vm
.
getTaxpayer
()
vm
.
addRows
(
this
.
invoiceInfo
.
invoice_adds
)
vm
.
addRowsLive
(
this
.
invoiceInfo
.
open_bank
)
},
methods
:
{
methods
:
{
invoiceQuery
()
{
invoiceQuery
()
{
let
vm
=
this
let
vm
=
this
...
@@ -210,8 +224,10 @@ export default {
...
@@ -210,8 +224,10 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
taxpayer_type
=
obj
.
bp_type
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type'
,
obj
.
bp_type
)
vm
.
invoiceInfo
.
taxpayer_type_n
=
obj
.
bp_type_n
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type_n'
,
obj
.
bp_type_n
)
/*vm.invoiceInfo.taxpayer_type = obj.bp_type
vm.invoiceInfo.taxpayer_type_n = obj.bp_type_n*/
console
.
log
(
'obj'
,
vm
.
invoiceInfo
)
console
.
log
(
'obj'
,
vm
.
invoiceInfo
)
},
},
})
})
...
@@ -223,8 +239,10 @@ export default {
...
@@ -223,8 +239,10 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
invoice_kind
=
obj
.
bp_type
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind'
,
obj
.
bp_type
)
vm
.
invoiceInfo
.
invoice_kind_n
=
obj
.
bp_type_n
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind_n'
,
obj
.
bp_type_n
)
/* vm.invoiceInfo.invoice_kind = obj.bp_type
vm.invoiceInfo.invoice_kind_n = obj.bp_type_n*/
},
},
})
})
},
},
...
...
src/router/index.js
View file @
f0d7a7c6
...
@@ -244,8 +244,8 @@ export default new Router({
...
@@ -244,8 +244,8 @@ export default new Router({
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/payment-contract-record'
,
component
:
PaymentContractRecord
,
name
:
'PaymentContractRecord'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/payment-contract-record'
,
component
:
PaymentContractRecord
,
name
:
'PaymentContractRecord'
,
meta
:
{
keepAlive
:
true
}},
// 保证金支付
// 保证金支付
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
fals
e
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
fals
e
}},
// 支付页
// 支付页
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
false
}},
// 产品查询
// 产品查询
...
...
www/index.html
View file @
f0d7a7c6
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script><title>
徐工融租
</title><link
href=
./static/css/app.63486490583bd45586f9f17263d8372c.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e547499500fbe65e7169.js
></script><script
type=
text/javascript
src=
./static/js/app.e9be7f7cd0f8a8828ab2.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script><title>
徐工融租
</title><link
href=
./static/css/app.63486490583bd45586f9f17263d8372c.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e547499500fbe65e7169.js
></script><script
type=
text/javascript
src=
./static/js/app.e9be7f7cd0f8a8828ab2.js
></script></body></html>
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