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
e0ea1755
Commit
e0ea1755
authored
Mar 21, 2023
by
陈万宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新商品库内容
parent
139bafe6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
270 additions
and
228 deletions
+270
-228
common.less
src/pages/ServiceGoods/common.less
+9
-5
FormTakeaway.jsx
src/pages/ServiceGoods/components/FormTakeaway.jsx
+257
-221
index.jsx
src/pages/ServiceGoods/index.jsx
+4
-2
No files found.
src/pages/ServiceGoods/common.less
View file @
e0ea1755
...
@@ -262,12 +262,16 @@
...
@@ -262,12 +262,16 @@
}
}
}
}
}
}
.dealInput {
.conBg {
background:#f8f8f8 ;
min-width: 100%;
width: fit-content;
:global {
:global {
.ant-form-item-control-input-content {
.ant-input {
.ant-input {
margin: 10px 0;
margin-bottom: 8px;
}
}
.ant-form-item {
margin-bottom: 8px;
}
}
}
}
}
}
...
...
src/pages/ServiceGoods/components/FormTakeaway.jsx
View file @
e0ea1755
This diff is collapsed.
Click to expand it.
src/pages/ServiceGoods/index.jsx
View file @
e0ea1755
...
@@ -80,7 +80,7 @@ const ServiceGoods = options => {
...
@@ -80,7 +80,7 @@ const ServiceGoods = options => {
const
resetForm
=
()
=>
clearCurrent
(
checkFormList
).
forEach
(({
current
})
=>
current
.
reset
());
const
resetForm
=
()
=>
clearCurrent
(
checkFormList
).
forEach
(({
current
})
=>
current
.
reset
());
const
onValuesChange
=
e
=>
{
const
onValuesChange
=
e
=>
{
console
.
log
(
'
e======
'
,
e
);
console
.
log
(
'
e======
'
,
e
,
!
isEdit
,
visibleCacheEdit
);
if
(
!
isEdit
)
{
if
(
!
isEdit
)
{
if
(
visibleCacheEdit
)
{
if
(
visibleCacheEdit
)
{
setVisibleCacheEdit
(
false
);
setVisibleCacheEdit
(
false
);
...
@@ -540,9 +540,11 @@ const ServiceGoods = options => {
...
@@ -540,9 +540,11 @@ const ServiceGoods = options => {
<>
<>
<
FormTakeaway
<
FormTakeaway
ref=
{
takeawayRef
}
ref=
{
takeawayRef
}
editData=
{
editData
.
serviceItem
}
editData=
{
editData
.
takeawayItem
}
infoMation=
{
editData
.
infoMation
}
supplierIdList=
{
supplierIdList
}
supplierIdList=
{
supplierIdList
}
onValuesChange=
{
onValuesChange
}
onValuesChange=
{
onValuesChange
}
/>
/>
</>
</>
)
}
)
}
...
...
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