style(customers): 生日归属前置并与生日类型标注必填星号
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -152,19 +152,23 @@ export function CustomerForm({
|
||||
<FormSection title="生日">
|
||||
<div className="grid grid-cols-1 gap-x-5 gap-y-4 sm:grid-cols-2 lg:grid-cols-3">
|
||||
<div className="space-y-1.5">
|
||||
<Label htmlFor="birthdayType">生日类型</Label>
|
||||
<Select id="birthdayType" name="birthdayType" defaultValue={String(v.birthdayType ?? 1)}>
|
||||
<option value="1">阳历</option>
|
||||
<option value="2">阴历</option>
|
||||
</Select>
|
||||
</div>
|
||||
<div className="space-y-1.5">
|
||||
<Label htmlFor="birthdayOwner">生日归属</Label>
|
||||
<Label htmlFor="birthdayOwner">
|
||||
生日归属<span className="ml-0.5 text-[var(--color-danger)]">*</span>
|
||||
</Label>
|
||||
<Select id="birthdayOwner" name="birthdayOwner" defaultValue={String(v.birthdayOwner ?? 2)}>
|
||||
<option value="1">结算人</option>
|
||||
<option value="2">联系人</option>
|
||||
</Select>
|
||||
</div>
|
||||
<div className="space-y-1.5">
|
||||
<Label htmlFor="birthdayType">
|
||||
生日类型<span className="ml-0.5 text-[var(--color-danger)]">*</span>
|
||||
</Label>
|
||||
<Select id="birthdayType" name="birthdayType" defaultValue={String(v.birthdayType ?? 1)}>
|
||||
<option value="1">阳历</option>
|
||||
<option value="2">阴历</option>
|
||||
</Select>
|
||||
</div>
|
||||
<Field
|
||||
label="生日"
|
||||
name="birthday"
|
||||
|
||||
Reference in New Issue
Block a user