|
|
|
@ -147,9 +147,11 @@ const AirticketPlan = props => {
|
|
|
|
|
|
|
|
|
|
const Airticket_form = props => {
|
|
|
|
|
const airInfo = props.airInfo;
|
|
|
|
|
const [airinfo_form] = Form.useForm();
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<Form
|
|
|
|
|
form={airinfo_form}
|
|
|
|
|
name={"ticket_form_" + airInfo.id}
|
|
|
|
|
labelCol={{
|
|
|
|
|
span: 6,
|
|
|
|
@ -249,10 +251,6 @@ const AirticketPlan = props => {
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Space>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
<Form.Item label="备注" name="FlightMemo">
|
|
|
|
|
<Input />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col md={24} lg={4} xxl={4}>
|
|
|
|
|
<Space direction="vertical">
|
|
|
|
@ -281,12 +279,19 @@ const AirticketPlan = props => {
|
|
|
|
|
</Row>
|
|
|
|
|
<Divider orientation="left"></Divider>
|
|
|
|
|
<Row gutter={16}>
|
|
|
|
|
<Col md={24} lg={20} xxl={20}></Col>
|
|
|
|
|
<Col md={24} lg={20} xxl={20}>
|
|
|
|
|
<Form.Item label="提醒信息" name="FlightMemo_messages">
|
|
|
|
|
<Input placeholder="没有提醒请留空,信息会抄送给上下站地接" />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item label="已发提醒" name="FlightMemo">
|
|
|
|
|
<Input.TextArea rows={4} readOnly disabled />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col md={24} lg={4} xxl={4}>
|
|
|
|
|
<Button
|
|
|
|
|
type="primary"
|
|
|
|
|
onClick={() => {
|
|
|
|
|
ticketIssuedNotifications(airInfo.CLF_SN, airInfo.OPI_SN)
|
|
|
|
|
ticketIssuedNotifications(userId,airInfo.CLF_SN, airInfo.OPI_SN,airinfo_form.getFieldValue('FlightMemo_messages'))
|
|
|
|
|
.then(() => {
|
|
|
|
|
notification.success({
|
|
|
|
|
message: `成功`,
|
|
|
|
@ -295,6 +300,7 @@ const AirticketPlan = props => {
|
|
|
|
|
duration: 4,
|
|
|
|
|
icon: <LikeTwoTone />,
|
|
|
|
|
});
|
|
|
|
|
airinfo_form.setFieldValue('FlightMemo_messages','')
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
notification.error({
|
|
|
|
@ -612,7 +618,7 @@ const AirticketPlan = props => {
|
|
|
|
|
{isTicketType && (
|
|
|
|
|
<>
|
|
|
|
|
<Form.Item label="PNR" name="PNR" rules={[{ required: true }]}>
|
|
|
|
|
<Input />
|
|
|
|
|
<Input />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item label="票号" name="TicketNo" rules={[{ required: true }]}>
|
|
|
|
|
<Input
|
|
|
|
|