Commit e6cd27d1 authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

input type tel create delivery notice from go back -2 to list

parent 8e86ceff
......@@ -87,7 +87,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
if (res.code === 1000) {
handleLeave(false)
setTimeout(() => {
history.go(-1)
history.go(-2)
}, 1000);
}
});
......@@ -213,7 +213,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
validatorByteObject(20)
]}
label={DeliveryPhoneLabel} name="executorVO.phone">
<Input maxLength={20} />
<Input type="tel" maxLength={20} />
</FormItem>
</ContentBox>
......
......@@ -176,7 +176,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
{ pattern: PATTERN_MAPS.phone, message: "手机号是否正确" }
]}
label={DeliveryPhoneLabel} name="executorVO.phone">
<Input placeholder={`请输入${DeliveryPhoneLabel}`} />
<Input type="tel" placeholder={`请输入${DeliveryPhoneLabel}`} />
</FormItem>
</ContentBox>
......
......@@ -177,7 +177,7 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
{ pattern: PATTERN_MAPS.phone, message: "手机号是否正确" }
]}
label={DeliveryPhoneLabel} name="executorVO.phone">
<Input />
<Input type="tel" />
</FormItem>
</ContentBox>
......
......@@ -162,7 +162,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
{ pattern: PATTERN_MAPS.phone, message: "手机号是否正确" }
]}
label={DeliveryPhoneLabel} name="executorVO.phone">
<Input placeholder={`请输入${DeliveryPhoneLabel}`} maxLength={20} />
<Input type="tel" placeholder={`请输入${DeliveryPhoneLabel}`} maxLength={20} />
</FormItem>
</ContentBox>
......
......@@ -179,7 +179,7 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
{ pattern: PATTERN_MAPS.phone, message: "手机号是否正确" }
]}
label={DeliveryPhoneLabel} name="executorVO.phone">
<Input />
<Input type="tel" />
</FormItem>
</ContentBox>
......
......@@ -169,7 +169,7 @@ function DeliveryNoteAddForm() {
<FormItem
label={ConsigneePhoneLabel} name="executorVO.phone">
<Input placeholder={`请输入${ConsigneePhoneLabel}`} />
<Input type="tel" placeholder={`请输入${ConsigneePhoneLabel}`} />
</FormItem>
</div>
......
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