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
e77aa558
Commit
e77aa558
authored
Sep 18, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改
parent
cd0f58ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
info.vue
src/views/goods/gift/info.vue
+4
-1
No files found.
src/views/goods/gift/info.vue
View file @
e77aa558
...
@@ -1759,6 +1759,7 @@ export default {
...
@@ -1759,6 +1759,7 @@ export default {
if
(
val
.
length
===
1
&&
val
[
0
].
length
===
0
)
{
if
(
val
.
length
===
1
&&
val
[
0
].
length
===
0
)
{
this
.
submitSkuJson
=
[];
this
.
submitSkuJson
=
[];
this
.
stockDisabled
=
false
;
this
.
stockDisabled
=
false
;
this
.
currentStock
=
0
return
false
;
return
false
;
}
}
this
.
skuList
=
val
;
this
.
skuList
=
val
;
...
@@ -1777,10 +1778,12 @@ export default {
...
@@ -1777,10 +1778,12 @@ export default {
this
.
stockDisabled
=
true
;
this
.
stockDisabled
=
true
;
}
else
{
}
else
{
this
.
stockDisabled
=
false
;
this
.
stockDisabled
=
false
;
this
.
currentStock
=
0
}
}
}
else
{
}
else
{
this
.
stockDisabled
=
false
;
this
.
stockDisabled
=
false
;
this
.
giftForm
.
virtualStock
=
0
;
this
.
giftForm
.
virtualStock
=
0
;
this
.
currentStock
=
0
}
}
},
},
IsAgreeUpload
(
val
)
{
IsAgreeUpload
(
val
)
{
...
@@ -1824,7 +1827,7 @@ export default {
...
@@ -1824,7 +1827,7 @@ export default {
giftProSkuId
:
skuPrice
[
j
][
5
]
?
skuPrice
[
j
][
5
].
valueName
:
''
,
giftProSkuId
:
skuPrice
[
j
][
5
]
?
skuPrice
[
j
][
5
].
valueName
:
''
,
giftProSkuIntegral
:
skuPrice
[
j
][
0
]
?
skuPrice
[
j
][
0
].
valueName
:
''
,
//积分
giftProSkuIntegral
:
skuPrice
[
j
][
0
]
?
skuPrice
[
j
][
0
].
valueName
:
''
,
//积分
giftProSkuCash
:
skuPrice
[
j
][
1
]
?
skuPrice
[
j
][
1
].
valueName
:
''
,
//现金
giftProSkuCash
:
skuPrice
[
j
][
1
]
?
skuPrice
[
j
][
1
].
valueName
:
''
,
//现金
stock
:
this
.
isEdit
?
(
skuPrice
[
j
][
2
]
?
skuPrice
[
j
][
2
].
valueName
-
skuPrice
[
j
][
2
].
currentStock
:
''
)
:
(
skuPrice
[
j
][
2
]
?
skuPrice
[
j
][
2
].
valueName
:
''
),
//库存
stock
:
this
.
isEdit
?
(
skuPrice
[
j
][
2
]
?
skuPrice
[
j
][
2
].
valueName
-
(
skuPrice
[
j
][
2
].
currentStock
||
0
)
:
''
)
:
(
skuPrice
[
j
][
2
]
?
skuPrice
[
j
][
2
].
valueName
:
''
),
//库存
giftProSkuStandCode
:
skuPrice
[
j
][
3
]
?
skuPrice
[
j
][
3
].
valueName
:
''
,
//规格编码
giftProSkuStandCode
:
skuPrice
[
j
][
3
]
?
skuPrice
[
j
][
3
].
valueName
:
''
,
//规格编码
giftProGiftCode
:
skuPrice
[
j
][
4
]
?
skuPrice
[
j
][
4
].
valueName
:
''
,
//条形码
giftProGiftCode
:
skuPrice
[
j
][
4
]
?
skuPrice
[
j
][
4
].
valueName
:
''
,
//条形码
giftPropValues
:
skuSta
[
j
]
giftPropValues
:
skuSta
[
j
]
...
...
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