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
594797e2
Commit
594797e2
authored
Oct 21, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 礼品列表调整库存
parent
47627387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
detail.vue
src/views/goods/gift/detail.vue
+8
-3
No files found.
src/views/goods/gift/detail.vue
View file @
594797e2
...
...
@@ -749,6 +749,7 @@
<dm-form-bottom>
<el-button
type=
"primary"
v-loading=
"submitLoading"
@
click=
"submitGoodsForm('giftForm')"
size=
"small"
:disabled=
"$route.meta.type=='info'"
...
...
@@ -2183,6 +2184,7 @@ export default {
// 保存
async
submitGoodsForm
(
form
)
{
if
(
this
.
submitLoading
)
return
;
this
.
giftForm
.
detailDescription
=
this
.
$refs
.
tinymceWrap
.
tinymceHtml
;
let
giftImageUrls
=
[];
let
giftImageFiledCodes
=
[];
...
...
@@ -2321,9 +2323,13 @@ export default {
this
.
$message
.
error
(
'请选择配送方式'
);
return
false
;
}
this
.
submitLoading
=
true
;
const
data
=
await
this
.
$refs
.
visibleSetting
.
submit
()
if
(
!
data
)
return
false
;
if
(
!
data
)
{
this
.
submitLoading
=
false
;
return
false
;
}
this
.
$refs
[
form
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
submitLadderList
)
{
...
...
@@ -2407,10 +2413,10 @@ export default {
if
(
this
.
isDifferentialPricing
)
{
this
.
confirmDetail
(
params
);
}
else
{
this
.
submitLoading
=
true
;
this
.
saveDeatail
(
params
);
}
}
else
{
this
.
submitLoading
=
false
;
return
false
;
}
});
...
...
@@ -2424,7 +2430,6 @@ export default {
dangerouslyUseHTMLString
:
true
,
confirmButtonText
:
'保存'
}).
then
(()
=>
{
this
.
submitLoading
=
true
;
this
.
saveDeatail
(
params
);
});
},
...
...
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