套餐列表
This commit is contained in:
@@ -327,6 +327,21 @@ export default () => {
|
||||
name="isUp"
|
||||
label="是否上架"
|
||||
/>
|
||||
<ProFormRadio.Group
|
||||
name="packagesType"
|
||||
options={[
|
||||
{
|
||||
label: '即途',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '普通',
|
||||
value: 2,
|
||||
},
|
||||
]}
|
||||
label={'套餐类型'}
|
||||
colProps={{ md: 12, xl: 12 }}
|
||||
/>
|
||||
<ProForm.Group>
|
||||
<ProForm.Item
|
||||
label="详情图"
|
||||
|
||||
@@ -5,7 +5,8 @@ import {
|
||||
ProForm,
|
||||
ProFormTextArea,
|
||||
ProFormSwitch,
|
||||
ProFormDigit
|
||||
ProFormDigit,
|
||||
ProFormRadio
|
||||
} from '@ant-design/pro-components';
|
||||
|
||||
import { useParams } from '@umijs/max';
|
||||
@@ -250,6 +251,21 @@ export default () => {
|
||||
name="isUp"
|
||||
label="是否上架"
|
||||
/>
|
||||
<ProFormRadio.Group
|
||||
name="packagesType"
|
||||
options={[
|
||||
{
|
||||
label: '即途',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '普通',
|
||||
value: 2,
|
||||
},
|
||||
]}
|
||||
label={'套餐类型'}
|
||||
colProps={{ md: 12, xl: 12 }}
|
||||
/>
|
||||
<ProForm.Group>
|
||||
<ProForm.Item
|
||||
label="详情图"
|
||||
|
||||
@@ -33,7 +33,7 @@ const GoodsSetMealTableList: React.FC = () => {
|
||||
valueType: 'text',
|
||||
search: false,
|
||||
render: (_: any, record: any) => {
|
||||
return record?.itemType ? record?.itemType + 'KW' :'-'
|
||||
return record?.itemType ? record?.itemType + 'KW' : '-'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -70,6 +70,15 @@ const GoodsSetMealTableList: React.FC = () => {
|
||||
return _Img ? <Image src={_Img} width={50}></Image> : ''
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '套餐类型',
|
||||
dataIndex: 'packagesType',
|
||||
valueType: 'text',
|
||||
search: false,
|
||||
render: (_, record) => {
|
||||
return _ == 1 ? "即途" : _ == 2 ? "普通" : "-"
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '是否上架',
|
||||
dataIndex: 'isUp',
|
||||
|
||||
Reference in New Issue
Block a user