Commit a9d766ac authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 营销能力拼团修改

parent 40af9550
......@@ -332,10 +332,9 @@ const diaLogForm: React.FC<ListProps> = (props) => {
enum={provinceList}
x-component-props={{
showSearch: true,
mode: 'tags',//"multiple",
mode: 'multiple',//"multiple",
onSearch: () => { onSearch },
// optionLabelProp:"value"//指定回显
optionFilterProp: "children"//指定回显
}}
/>
<Field name="weight"
......
......@@ -114,9 +114,9 @@ const AddedMarketing = () => {
return item
})
}
if (res['activityDefined']['assembleTime']) {
params['activityDefined'].assembleTime = Number(moment(res['activityDefined']['assembleTime']).format('x'));
}
// if (res['activityDefined']['assembleTime']) {
// params['activityDefined'].assembleTime = Number(moment(res['activityDefined']['assembleTime']).format('x'));
// }
if (res['activityDefined']['startTime']) {
params['activityDefined']['startTime'] = Number(moment(res['activityDefined']['startTime']).format('x'));
}
......@@ -172,9 +172,9 @@ const AddedMarketing = () => {
}
})[0]
focus$.emit(option)
if (data['activityDefined']['assembleTime']) {
data['activityDefined']['assembleTime'] = moment(data['activityDefined']['assembleTime']);
}
// if (data['activityDefined']['assembleTime']) {
// data['activityDefined']['assembleTime'] = moment(data['activityDefined']['assembleTime']);
// }
if (data['activityDefined']['startTime']) {
data['activityDefined']['startTime'] = moment(data['activityDefined']['startTime']);
}
......
......@@ -537,10 +537,11 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
<Form.Item
style={{ margin: 0 }}
name={['activityDefined', 'assembleStatus']}
initialValue={1}
rules={[{ required: true, message: `${intl.formatMessage({ id: 'selfManagement.pleaseSelectA'})}` }]}
>
<Radio.Group>
<Radio.Button value={0}>{ intl.formatMessage({ id: 'selfManagement.dontLimit'}) }</Radio.Button>
{/* <Radio.Button value={0}>{ intl.formatMessage({ id: 'selfManagement.dontLimit'}) }</Radio.Button> */}
<Radio.Button value={1}>{ intl.formatMessage({ id: 'selfManagement.limit'}) }</Radio.Button>
</Radio.Group>
</Form.Item>
......
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