Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
cf969ed1
Commit
cf969ed1
authored
Oct 09, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e98477e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
addressManage.vue
src/views/address/addressManage.vue
+1
-3
createOrder.vue
src/views/order/createOrder.vue
+7
-4
No files found.
src/views/address/addressManage.vue
View file @
cf969ed1
...
...
@@ -13,8 +13,6 @@
v-model=
"address.receiverPhoneNo"
class=
"address-input"
name=
"手机号码"
type=
"tel"
max-length=
"11"
label=
"手机号码"
placeholder=
"请输入收货人手机号码"
/>
...
...
@@ -99,8 +97,8 @@ export default {
firstGroupShare
();
this
.
type
=
this
.
$route
.
query
.
type
||
''
;
this
.
order
=
this
.
$route
.
query
.
type
||
false
;
console
.
log
(
this
.
order
);
if
(
this
.
type
===
'
edit
'
)
{
console
.
log
(
JSON
.
stringify
(
this
.
$route
.
params
));
const
data
=
{
...
this
.
$route
.
params
.
editAddress
};
data
.
addrFullName
=
data
.
addrFullName
.
substring
(
0
,
data
.
addrFullName
.
length
-
data
.
detail
.
length
)
...
...
src/views/order/createOrder.vue
View file @
cf969ed1
...
...
@@ -173,10 +173,13 @@ export default {
invalidSkuList
,
shopSkuList
:
[]
};
shopSkuList
.
forEach
(
item
=>
{
if
(
!
item
)
return
;
orderInfo
.
shopSkuList
=
[...
orderInfo
.
shopSkuList
,
...
item
.
skuList
];
});
if
(
shopSkuList
)
{
shopSkuList
.
forEach
(
item
=>
{
if
(
!
item
)
return
;
orderInfo
.
shopSkuList
=
[...
orderInfo
.
shopSkuList
,
...
item
.
skuList
];
});
}
console
.
log
(
orderInfo
);
this
.
$set
(
this
,
'
orderInfo
'
,
orderInfo
);
this
.
isOutBuy
=
false
;
...
...
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