|
|
|
@ -207,8 +207,17 @@ const TrainticketPlan = props => {
|
|
|
|
|
<Form.Item name="FlightNo" noStyle rules={[{ required: true, message: "请输入车次!" }]}>
|
|
|
|
|
<Input placeholder="车次" />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item name="TicketNo" noStyle rules={[{ required: true, message: "请输入取票号!" }]}>
|
|
|
|
|
<Input placeholder="取票号" maxLength={9} />
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="TicketNo"
|
|
|
|
|
noStyle
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: "请输入取票号!" },
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{10}$/, // 验证是否为 10 个字母或数字
|
|
|
|
|
message: "取票号必须为 10 个字母或数字",
|
|
|
|
|
},
|
|
|
|
|
]}>
|
|
|
|
|
<Input placeholder="取票号" maxLength={10} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Space>
|
|
|
|
|
</Form.Item>
|
|
|
|
@ -285,7 +294,7 @@ const TrainticketPlan = props => {
|
|
|
|
|
}}
|
|
|
|
|
initialValues={{ ...trainInfo }}
|
|
|
|
|
onFinish={values => {
|
|
|
|
|
ticketIssuedNotifications(userId, trainInfo.CLF_SN, trainInfo.OPI_SN, values.FlightMemo_messages,values.ticketImages)
|
|
|
|
|
ticketIssuedNotifications(userId, trainInfo.CLF_SN, trainInfo.OPI_SN, values.FlightMemo_messages, values.ticketImages)
|
|
|
|
|
.then(() => {
|
|
|
|
|
notification.success({
|
|
|
|
|
message: `成功`,
|
|
|
|
|