Commit a828ead5 authored by 武广's avatar 武广

fix: 修改单点不送文案

parent 4f376798
......@@ -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);
return (
......@@ -38,7 +38,7 @@ const SendModal = options => {
autoComplete="off"
>
<Form.Item
label="单点不送"
label="是否单点不送"
name="isSingleDelivery"
rules={[{ required: true, message: '请选择!' }]}
>
......
......@@ -817,10 +817,14 @@ const TakeawayGoodsInfo = forwardRef((props, ref) => {
options={tagList}
/>
</Form.Item>
<Form.Item name="singleDelivery" label="单点不送" extra="开启后顾客点单则此商品不可下单">
<Form.Item
name="singleDelivery"
label="是否单点不送"
extra="开启后顾客点单则此商品不可下单"
>
<Radio.Group>
<Radio value={0}>是</Radio>
<Radio value={1}>否</Radio>
<Radio value={1}>单点送</Radio>
<Radio value={0}>单点不送</Radio>
</Radio.Group>
</Form.Item>
<Form.Item name="list" label="列出商品" extra="开启后平台展示商品">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment