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
a828ead5
Commit
a828ead5
authored
May 25, 2023
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改单点不送文案
parent
4f376798
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
SendModal.jsx
src/pages/GoodsManage/Takeaway/components/SendModal.jsx
+2
-2
FormTakeaway.jsx
src/pages/ServiceGoods/components/FormTakeaway.jsx
+7
-3
No files found.
src/pages/GoodsManage/Takeaway/components/SendModal.jsx
View file @
a828ead5
...
@@ -15,7 +15,7 @@ const SendModal = options => {
...
@@ -15,7 +15,7 @@ const SendModal = options => {
});
});
};
};
const
radioOptions
=
[{
label
:
'
是
'
,
value
:
1
},
{
label
:
'
否
'
,
value
:
0
}];
const
radioOptions
=
[{
label
:
'
单点送
'
,
value
:
1
},
{
label
:
'
单点不送
'
,
value
:
0
}];
const
initialValues
=
Object
.
assign
({},
options
.
initialValues
);
const
initialValues
=
Object
.
assign
({},
options
.
initialValues
);
return
(
return
(
...
@@ -38,7 +38,7 @@ const SendModal = options => {
...
@@ -38,7 +38,7 @@ const SendModal = options => {
autoComplete=
"off"
autoComplete=
"off"
>
>
<
Form
.
Item
<
Form
.
Item
label=
"单点不送"
label=
"
是否
单点不送"
name=
"isSingleDelivery"
name=
"isSingleDelivery"
rules=
{
[{
required
:
true
,
message
:
'
请选择!
'
}]
}
rules=
{
[{
required
:
true
,
message
:
'
请选择!
'
}]
}
>
>
...
...
src/pages/ServiceGoods/components/FormTakeaway.jsx
View file @
a828ead5
...
@@ -817,10 +817,14 @@ const TakeawayGoodsInfo = forwardRef((props, ref) => {
...
@@ -817,10 +817,14 @@ const TakeawayGoodsInfo = forwardRef((props, ref) => {
options={tagList}
options={tagList}
/>
/>
</Form.Item>
</Form.Item>
<Form.Item name="singleDelivery" label="单点不送" extra="开启后顾客点单则此商品不可下单">
<Form.Item
name="singleDelivery"
label="是否单点不送"
extra="开启后顾客点单则此商品不可下单"
>
<Radio.Group>
<Radio.Group>
<Radio value={
0}>是
</Radio>
<Radio value={
1}>单点送
</Radio>
<Radio value={
1}>否
</Radio>
<Radio value={
0}>单点不送
</Radio>
</Radio.Group>
</Radio.Group>
</Form.Item>
</Form.Item>
<Form.Item name="list" label="列出商品" extra="开启后平台展示商品">
<Form.Item name="list" label="列出商品" extra="开启后平台展示商品">
...
...
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