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
4e7ec23e
Commit
4e7ec23e
authored
Sep 17, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: sku库存
parent
03ac2278
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
getSkuList.vue
src/components/getSkuList.vue
+2
-1
info.vue
src/views/goods/gift/info.vue
+1
-0
No files found.
src/components/getSkuList.vue
View file @
4e7ec23e
...
...
@@ -83,6 +83,7 @@ export default {
this
.
giftProSkuIntegral
=
this
.
intergralModal
.
integralCost
;
//积分
this
.
giftProSkuCode
=
this
.
intergralModal
.
proCode
;
//编码
this
.
virtualStock
=
this
.
intergralModal
.
virtualStock
;
//库存
this
.
currentStock
=
this
.
intergralModal
.
virtualStock
;
},
methods
:
{
limitSkuCode
()
{
...
...
@@ -277,7 +278,7 @@ export default {
proCode
:
this
.
giftProSkuCode
,
integralCost
:
this
.
giftProSkuIntegral
,
cashCost
:
this
.
giftProSkuCash
,
virtualStock
:
this
.
intergralModal
.
type
===
'stock'
?
this
.
virtualStock
:
''
,
virtualStock
:
this
.
intergralModal
.
type
===
'stock'
?
this
.
virtualStock
-
this
.
currentStock
:
''
,
skuJson
:
skuJson
?
JSON
.
stringify
(
skuJson
)
:
''
};
if
(
this
.
intergralModal
.
tableSkuData
.
length
)
{
...
...
src/views/goods/gift/info.vue
View file @
4e7ec23e
...
...
@@ -1757,6 +1757,7 @@ export default {
console
.
log
(
val
);
if
(
val
.
length
===
1
&&
val
[
0
].
length
===
0
)
{
this
.
submitSkuJson
=
[];
this
.
stockDisabled
=
false
;
return
false
;
}
this
.
skuList
=
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