Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
db3bafaf
Commit
db3bafaf
authored
Apr 09, 2020
by
王建威
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage
parent
3300bcff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
applypage1.vue
pages/apply/applypage1.vue
+8
-1
installmentinfo.vue
pages/installment/installmentinfo.vue
+10
-5
No files found.
pages/apply/applypage1.vue
View file @
db3bafaf
...
...
@@ -183,6 +183,13 @@
this
.
params
[
key
]
=
''
;
},
submit
()
{
let
data
=
null
;
uni
.
getStorage
({
key
:
'installment'
,
success
:
(
res
)
=>
{
data
=
res
.
data
;
}
});
if
(
!
this
.
params
.
business_street
)
{
uni
.
showToast
({
title
:
'请上传所在街道照片'
,
...
...
@@ -237,7 +244,7 @@
method
:
'POST'
,
data
:
{
...
this
.
params
,
...
this
.
$store
.
state
.
installment
...
data
},
success
:
(
res
)
=>
{
console
.
log
(
res
)
...
...
pages/installment/installmentinfo.vue
View file @
db3bafaf
...
...
@@ -159,7 +159,6 @@
<
script
>
import
uniPopup
from
"@/components/uni-popup/uni-popup.vue"
;
import
{
php
,
go
}
from
'../../common/host.js'
;
import
store
from
'@/store/store.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -227,15 +226,21 @@
uni
.
navigateBack
();
},
buy_now
()
{
uni
.
navigateTo
({
url
:
'/pages/apply/choosetype'
})
const
data
=
{
contract_no
:
this
.
contract_no
,
equipment_id
:
this
.
equipment_id
,
property_id
:
this
.
e_info
.
property_id
}
store
.
dispatch
(
'changeInstallment'
,
data
);
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/apply/choosetype'
});
}
});
},
collectGoods
(
id
,
type
)
{
uni
.
request
({
...
...
郑秀明
@zhengxiuming
mentioned in commit
1684cb53
·
Apr 09, 2020
mentioned in commit
1684cb53
mentioned in commit 1684cb53a13b9c34043543925cc43db10d9d4bfe
Toggle commit list
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