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

feat: 完善

parent 791aa4f5
......@@ -244,7 +244,7 @@ const PrizeListLayout: React.FC<PrizeListProps> = (props: any) => {
name={`prize_${_index}`}
rules={[{ required: true, message: '请输选择优惠券' }]}
>
{!isEmpty(_record.coupon) && (<Typography.Text>{_record.coupon.id}/{_record.coupon.typeName}/¥{Number(_record.coupon.useConditionMoney).toFixed(2)}有效期:{format(_record.coupon.effectiveTimeStart)}{format(_record.coupon.effectiveTimeEnd)}</Typography.Text>)}
{!isEmpty(_record.coupon) && (<Typography.Text>{_record.coupon.id}/{_record.coupon.typeName}/¥{Number(_record.coupon.useConditionMoney).toFixed(2)}/有效期:{format(_record.coupon.effectiveTimeStart)}{format(_record.coupon.effectiveTimeEnd)}</Typography.Text>)}
<Button icon={<EditOutlined />} type='text' onClick={() => handleClickButton(getFieldValue([`type_${_index}`]), _index, _record)}>{!_record.coupon && '选择优惠券'}</Button>
</Form.Item>
) : getFieldValue([`type_${_index}`]) === 3 ? (
......
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