Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
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
integralMall
integral-mall
Commits
0c72a084
Commit
0c72a084
authored
May 23, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 完成
parent
11134445
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
.eslintrc.js
.eslintrc.js
+1
-1
addSku.vue
src/views/goods/gift/addSku.vue
+5
-0
detail.vue
src/views/goods/gift/detail.vue
+1
-0
No files found.
.eslintrc.js
View file @
0c72a084
...
...
@@ -16,7 +16,7 @@ module.exports = {
},
extends
:
[
'standard'
,
'plugin:vue/recommended'
,
//
'plugin:vue/recommended',
],
plugins
:
[
'vue'
],
rules
:
{
...
...
src/views/goods/gift/addSku.vue
View file @
0c72a084
...
...
@@ -325,6 +325,7 @@ export default {
},
// 保存规格
addStandard
(
item
)
{
console
.
log
(
item
);
if
(
item
.
standardName
)
{
const
params
=
{
standardName
:
item
.
standardName
,
...
...
@@ -332,6 +333,10 @@ export default {
request
.
post
(
'/api-integral-mall/save-standard'
,
qs
.
stringify
(
params
)).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
item
.
standardId
=
res
.
data
.
result
;
this
.
$emit
(
'IsAgreeUpload'
,
this
.
isStdImg
);
this
.
$emit
(
'getStandradList'
,
this
.
skuJson
);
this
.
$emit
(
'getSkuList'
,
this
.
skuList
);
console
.
log
(
this
.
skuJson
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
src/views/goods/gift/detail.vue
View file @
0c72a084
...
...
@@ -1956,6 +1956,7 @@ export default {
this
.
giftForm
.
virtualStock
=
0
;
}
}
console
.
log
(
this
.
giftProStandardJson
)
},
async
getSkuList
(
val
)
{
console
.
log
(
val
);
...
...
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