Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-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
merchant-manage-ui
Commits
5d3baf2e
Commit
5d3baf2e
authored
Apr 12, 2023
by
陈万宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:delete log
parent
204a333f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
index.jsx
src/pages/ServiceGoods/index.jsx
+0
-7
No files found.
src/pages/ServiceGoods/index.jsx
View file @
5d3baf2e
...
...
@@ -102,7 +102,6 @@ const ServiceGoods = options => {
}
onAutoSaveValue
(
Object
.
assign
(
typeObj
,
e
));
}
console
.
log
(
'
productType
'
,
productType
,
!
isEdit
);
if
(
productType
===
5
)
{
setTakeawayInfoMation
(
e
);
// onAutoSaveValue(Object.assign({ type: 5 }, e));
...
...
@@ -265,14 +264,12 @@ const ServiceGoods = options => {
console
.
log
(
'
resuslt :>>
'
,
resuslt
);
if
(
!
resuslt
.
includes
(
null
))
{
const
params
=
resuslt
.
reduce
((
origin
,
item
)
=>
{
console
.
log
(
'
origin
'
,
origin
,
item
);
const
{
temp
,
...
other
}
=
item
;
origin
[
temp
]
=
other
;
return
origin
;
},
{});
const
sendData
=
filterSendData
(
productType
,
params
);
if
(
productType
===
5
)
{
console
.
log
(
sendData
,
'
sendData
'
);
if
(
+
sendData
?.
repertoryType
===
2
&&
sendData
?.
items
?.
length
<
2
)
{
message
.
error
(
'
最少生成2个sku
'
);
return
;
...
...
@@ -348,7 +345,6 @@ const ServiceGoods = options => {
await
getAfterSalesAddrsPage
();
await
getMerchantSpecList
();
if
(
Object
.
keys
(
SourceData
).
length
)
{
console
.
log
(
'
SourceData :>>
'
,
SourceData
,
options
.
isDraft
);
// 从编辑草稿进入 执行以下代码
if
(
options
.
isDraft
)
{
setIsUseCache
(
true
);
...
...
@@ -442,10 +438,7 @@ const ServiceGoods = options => {
// 保存草稿
const
onSaveDraft
=
async
()
=>
{
console
.
log
(
'
newCategoryList :>>
'
,
newCategoryList
);
const
info
=
localStorage
.
get
(
localAutoSaveKey
);
console
.
log
(
'
info
'
,
info
);
if
(
!
info
||
!
info
.
infoMation
||
...
...
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