|
|
@ -1,5 +1,5 @@
|
|
|
|
import { useState, useEffect } from "react";
|
|
|
|
import { useState, useEffect } from "react";
|
|
|
|
import { Grid, Divider, DatePicker, Modal, Form, Input, Col, Row, Space, Collapse, Table, Button, Select, App, Popconfirm, Switch } from "antd";
|
|
|
|
import { Checkbox, Divider, DatePicker, Modal, Form, Input, Col, Row, Space, Collapse, Table, Button, Select, App, Popconfirm, Switch, Radio, List } from "antd";
|
|
|
|
import { PhoneOutlined, FrownTwoTone, LikeTwoTone, ArrowUpOutlined, ArrowDownOutlined, PlusOutlined } from "@ant-design/icons";
|
|
|
|
import { PhoneOutlined, FrownTwoTone, LikeTwoTone, ArrowUpOutlined, ArrowDownOutlined, PlusOutlined } from "@ant-design/icons";
|
|
|
|
import { useParams, useHref, useNavigate, NavLink } from "react-router-dom";
|
|
|
|
import { useParams, useHref, useNavigate, NavLink } from "react-router-dom";
|
|
|
|
import { isEmpty, formatColonTime } from "@/utils/commons";
|
|
|
|
import { isEmpty, formatColonTime } from "@/utils/commons";
|
|
|
@ -63,8 +63,8 @@ const AirticketPlan = props => {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const guestList_OnChange = value => {
|
|
|
|
const guestList_OnChange = e => {
|
|
|
|
ticket_form.setFieldsValue({ Memo: `${value}` });
|
|
|
|
ticket_form.setFieldsValue({ Memo: `${e.target.value}` });
|
|
|
|
};
|
|
|
|
};
|
|
|
|
//机场下拉列表
|
|
|
|
//机场下拉列表
|
|
|
|
const airPortList_select = () => {
|
|
|
|
const airPortList_select = () => {
|
|
|
@ -79,15 +79,14 @@ const AirticketPlan = props => {
|
|
|
|
//费用列表
|
|
|
|
//费用列表
|
|
|
|
const costListColumns = [
|
|
|
|
const costListColumns = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "费用类型",
|
|
|
|
title: "客人信息/备注",
|
|
|
|
key: "CostType",
|
|
|
|
key: "Memo",
|
|
|
|
dataIndex: "CostType",
|
|
|
|
dataIndex: "Memo",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "PNR",
|
|
|
|
title: "状态",
|
|
|
|
key: "PNR",
|
|
|
|
key: "CostType",
|
|
|
|
dataIndex: "PNR",
|
|
|
|
dataIndex: "CostType",
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "票号",
|
|
|
|
title: "票号",
|
|
|
@ -95,6 +94,13 @@ const AirticketPlan = props => {
|
|
|
|
dataIndex: "TicketNo",
|
|
|
|
dataIndex: "TicketNo",
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: "PNR",
|
|
|
|
|
|
|
|
key: "PNR",
|
|
|
|
|
|
|
|
dataIndex: "PNR",
|
|
|
|
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "机票类型",
|
|
|
|
title: "机票类型",
|
|
|
|
key: "FlightType",
|
|
|
|
key: "FlightType",
|
|
|
@ -118,11 +124,7 @@ const AirticketPlan = props => {
|
|
|
|
dataIndex: "Discount",
|
|
|
|
dataIndex: "Discount",
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
render: (text, record) => (record.CostType == "出票" ? text : "-"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: "备注",
|
|
|
|
|
|
|
|
key: "Memo",
|
|
|
|
|
|
|
|
dataIndex: "Memo",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "编辑",
|
|
|
|
title: "编辑",
|
|
|
|
key: "CLC_SN",
|
|
|
|
key: "CLC_SN",
|
|
|
@ -147,74 +149,68 @@ const AirticketPlan = props => {
|
|
|
|
const airInfo = props.airInfo;
|
|
|
|
const airInfo = props.airInfo;
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<Row>
|
|
|
|
<Form
|
|
|
|
<Col md={4} lg={4} xxl={4}></Col>
|
|
|
|
name={"ticket_form_" + airInfo.id}
|
|
|
|
<Col md={16} lg={16} xxl={16}>
|
|
|
|
labelCol={{
|
|
|
|
<Divider orientation="left">航班信息</Divider>
|
|
|
|
span: 6,
|
|
|
|
<Form
|
|
|
|
}}
|
|
|
|
name={"ticket_form_" + airInfo.id}
|
|
|
|
wrapperCol={{
|
|
|
|
labelCol={{
|
|
|
|
span: 16,
|
|
|
|
span: 6,
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
initialValues={{ ...airInfo, StartDate: dayjs(airInfo.StartDate) }}
|
|
|
|
wrapperCol={{
|
|
|
|
onFinish={values => {
|
|
|
|
span: 16,
|
|
|
|
postFlightDetail(airInfo.CLF_SN, airInfo.GRI_SN, airInfo.VEI_SN, airInfo, values)
|
|
|
|
}}
|
|
|
|
.then(() => {
|
|
|
|
initialValues={{ ...airInfo, StartDate: dayjs(airInfo.StartDate) }}
|
|
|
|
notification.success({
|
|
|
|
onFinish={values => {
|
|
|
|
message: `成功`,
|
|
|
|
postFlightDetail(airInfo.CLF_SN, airInfo.GRI_SN, airInfo.VEI_SN, airInfo, values)
|
|
|
|
description: "机票信息保存成功!",
|
|
|
|
.then(() => {
|
|
|
|
placement: "top",
|
|
|
|
notification.success({
|
|
|
|
duration: 4,
|
|
|
|
message: `成功`,
|
|
|
|
icon: <LikeTwoTone />,
|
|
|
|
description: "机票信息保存成功!",
|
|
|
|
});
|
|
|
|
placement: "top",
|
|
|
|
})
|
|
|
|
duration: 4,
|
|
|
|
.catch(() => {
|
|
|
|
icon: <LikeTwoTone />,
|
|
|
|
notification.error({
|
|
|
|
});
|
|
|
|
message: `错误`,
|
|
|
|
})
|
|
|
|
description: "保存失败",
|
|
|
|
.catch(() => {
|
|
|
|
placement: "top",
|
|
|
|
notification.error({
|
|
|
|
duration: 4,
|
|
|
|
message: `错误`,
|
|
|
|
icon: <FrownTwoTone />,
|
|
|
|
description: "保存失败",
|
|
|
|
});
|
|
|
|
placement: "top",
|
|
|
|
});
|
|
|
|
duration: 4,
|
|
|
|
}}
|
|
|
|
icon: <FrownTwoTone />,
|
|
|
|
autoComplete="off">
|
|
|
|
});
|
|
|
|
<Divider orientation="left">航班信息</Divider>
|
|
|
|
});
|
|
|
|
<Row gutter={16}>
|
|
|
|
}}
|
|
|
|
<Col md={24} lg={20} xxl={20}>
|
|
|
|
autoComplete="off">
|
|
|
|
<Form.Item label="出发日期、航班、城市、时间" required>
|
|
|
|
<Form.Item label="城市">
|
|
|
|
|
|
|
|
<Space>
|
|
|
|
|
|
|
|
<Form.Item name="FromCity" noStyle>
|
|
|
|
|
|
|
|
<Input placeholder="出发" prefix={<ArrowUpOutlined />} />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="ToCity" noStyle>
|
|
|
|
|
|
|
|
<Input placeholder="抵达" prefix={<ArrowDownOutlined />} />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item label="出发日期、航班、航司" required>
|
|
|
|
|
|
|
|
<Space>
|
|
|
|
<Space>
|
|
|
|
<Form.Item name="StartDate" noStyle rules={[{ required: true, message: "请输入出发日期!" }]}>
|
|
|
|
<Form.Item name="StartDate" noStyle rules={[{ required: true, message: "请输入出发日期!" }]}>
|
|
|
|
<DatePicker />
|
|
|
|
<DatePicker
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FlightNo" noStyle rules={[{ required: true, message: "请输入航班号!" }]}>
|
|
|
|
|
|
|
|
<Input placeholder="航班号" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FlightCompany" noStyle>
|
|
|
|
|
|
|
|
<Select
|
|
|
|
|
|
|
|
showSearch
|
|
|
|
|
|
|
|
placeholder="航空公司"
|
|
|
|
|
|
|
|
style={{
|
|
|
|
style={{
|
|
|
|
minWidth: 160,
|
|
|
|
minWidth: 160,
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
filterOption={(input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase())}
|
|
|
|
|
|
|
|
options={airLineList}
|
|
|
|
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FlightNo" noStyle rules={[{ required: true, message: "请输入航班号!" }]}>
|
|
|
|
|
|
|
|
<Input placeholder="航班号" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FromCity" noStyle>
|
|
|
|
|
|
|
|
<Input placeholder="出发" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FlightStart" noStyle rules={[{ required: true, message: "请输入出发时间!" }]}>
|
|
|
|
|
|
|
|
<Input placeholder="出发时间" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
<Form.Item name="ToCity" noStyle>
|
|
|
|
|
|
|
|
<Input placeholder="抵达" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item name="FlightEnd" noStyle rules={[{ required: true, message: "请输入抵达时间!" }]}>
|
|
|
|
|
|
|
|
<Input placeholder="抵达时间" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
</Space>
|
|
|
|
</Space>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item label="出发" required>
|
|
|
|
<Form.Item label="机场、航站楼、仓位、行李重量" required>
|
|
|
|
<Space>
|
|
|
|
<Space>
|
|
|
|
<Form.Item name="FromAirport" noStyle rules={[{ required: true, message: "请输入出发机场!" }]}>
|
|
|
|
<Form.Item name="FromAirport" noStyle rules={[{ required: true, message: "请输入出发机场!" }]}>
|
|
|
|
<Select
|
|
|
|
<Select
|
|
|
@ -230,13 +226,7 @@ const AirticketPlan = props => {
|
|
|
|
<Form.Item name="FromTerminal" noStyle>
|
|
|
|
<Form.Item name="FromTerminal" noStyle>
|
|
|
|
<Input placeholder="航站楼" />
|
|
|
|
<Input placeholder="航站楼" />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item name="FlightStart" noStyle rules={[{ required: true, message: "请输入出发时间!" }]}>
|
|
|
|
-
|
|
|
|
<Input placeholder="出发时间" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item label="抵达" required>
|
|
|
|
|
|
|
|
<Space>
|
|
|
|
|
|
|
|
<Form.Item name="ToAirport" noStyle rules={[{ required: true, message: "请输入抵达机场!" }]}>
|
|
|
|
<Form.Item name="ToAirport" noStyle rules={[{ required: true, message: "请输入抵达机场!" }]}>
|
|
|
|
<Select
|
|
|
|
<Select
|
|
|
|
showSearch
|
|
|
|
showSearch
|
|
|
@ -251,14 +241,6 @@ const AirticketPlan = props => {
|
|
|
|
<Form.Item name="ToTerminal" noStyle>
|
|
|
|
<Form.Item name="ToTerminal" noStyle>
|
|
|
|
<Input placeholder="航站楼" />
|
|
|
|
<Input placeholder="航站楼" />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item name="FlightEnd" noStyle rules={[{ required: true, message: "请输入抵达时间!" }]}>
|
|
|
|
|
|
|
|
<Input placeholder="抵达时间" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item label="仓位和行李" required>
|
|
|
|
|
|
|
|
<Space>
|
|
|
|
|
|
|
|
<Form.Item name="FlightCabin" noStyle rules={[{ required: true, message: "请输入仓位!" }]}>
|
|
|
|
<Form.Item name="FlightCabin" noStyle rules={[{ required: true, message: "请输入仓位!" }]}>
|
|
|
|
<Input placeholder="仓位" />
|
|
|
|
<Input placeholder="仓位" />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
@ -267,62 +249,68 @@ const AirticketPlan = props => {
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
</Space>
|
|
|
|
</Space>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item label="备注" name="FlightMemo">
|
|
|
|
<Form.Item label="备注" name="FlightMemo">
|
|
|
|
<Input.TextArea rows={5} />
|
|
|
|
<Input />
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item label="已出票" name="TicketIssued">
|
|
|
|
|
|
|
|
<Switch checkedChildren="是" unCheckedChildren="否" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
<Col md={24} lg={4} xxl={4}>
|
|
|
|
|
|
|
|
<Space direction="vertical">
|
|
|
|
|
|
|
|
<Form.Item name="TicketIssued">
|
|
|
|
|
|
|
|
<Switch checkedChildren="已处理" unCheckedChildren="未处理" />
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Button type="primary" htmlType="submit">
|
|
|
|
|
|
|
|
1. 保存机票信息
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item
|
|
|
|
<Divider orientation="left">出票信息</Divider>
|
|
|
|
wrapperCol={{
|
|
|
|
<Row gutter={16}>
|
|
|
|
offset: 10,
|
|
|
|
<Col md={24} lg={20} xxl={20}>
|
|
|
|
span: 16,
|
|
|
|
<Table bordered={true} rowKey="CLC_SN" columns={costListColumns} dataSource={airInfo.Flightcost_AsJOSN} loading={loading} pagination={false} />
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
<Col md={24} lg={4} xxl={4}>
|
|
|
|
|
|
|
|
<Space direction="vertical">
|
|
|
|
|
|
|
|
<Button type="primary" onClick={() => showModal(airInfo)}>
|
|
|
|
|
|
|
|
2. 添加出票信息
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<Divider orientation="left"></Divider>
|
|
|
|
|
|
|
|
<Row gutter={16}>
|
|
|
|
|
|
|
|
<Col md={24} lg={20} xxl={20}></Col>
|
|
|
|
|
|
|
|
<Col md={24} lg={4} xxl={4}>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
onClick={() => {
|
|
|
|
|
|
|
|
ticketIssuedNotifications(airInfo.CLF_SN, airInfo.OPI_SN)
|
|
|
|
|
|
|
|
.then(() => {
|
|
|
|
|
|
|
|
notification.success({
|
|
|
|
|
|
|
|
message: `成功`,
|
|
|
|
|
|
|
|
description: "提醒信息已发出!",
|
|
|
|
|
|
|
|
placement: "top",
|
|
|
|
|
|
|
|
duration: 4,
|
|
|
|
|
|
|
|
icon: <LikeTwoTone />,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
notification.error({
|
|
|
|
|
|
|
|
message: `错误`,
|
|
|
|
|
|
|
|
description: "提醒失败",
|
|
|
|
|
|
|
|
placement: "top",
|
|
|
|
|
|
|
|
duration: 4,
|
|
|
|
|
|
|
|
icon: <FrownTwoTone />,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
<Space>
|
|
|
|
3. 通知顾问
|
|
|
|
<Button type="primary" htmlType="submit">
|
|
|
|
</Button>
|
|
|
|
1. 保存机票信息
|
|
|
|
</Col>
|
|
|
|
</Button>
|
|
|
|
</Row>
|
|
|
|
<Button type="primary" onClick={() => showModal(airInfo)}>
|
|
|
|
</Form>
|
|
|
|
2. 添加出票信息或费用
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
onClick={() => {
|
|
|
|
|
|
|
|
ticketIssuedNotifications(airInfo.CLF_SN, airInfo.OPI_SN)
|
|
|
|
|
|
|
|
.then(() => {
|
|
|
|
|
|
|
|
notification.success({
|
|
|
|
|
|
|
|
message: `成功`,
|
|
|
|
|
|
|
|
description: "提醒信息已发出!",
|
|
|
|
|
|
|
|
placement: "top",
|
|
|
|
|
|
|
|
duration: 4,
|
|
|
|
|
|
|
|
icon: <LikeTwoTone />,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
notification.error({
|
|
|
|
|
|
|
|
message: `错误`,
|
|
|
|
|
|
|
|
description: "提醒失败",
|
|
|
|
|
|
|
|
placement: "top",
|
|
|
|
|
|
|
|
duration: 4,
|
|
|
|
|
|
|
|
icon: <FrownTwoTone />,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
3. 通知顾问
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
</Form>
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
<Col md={4} lg={4} xxl={4}></Col>
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<Row>
|
|
|
|
|
|
|
|
<Col md={24} lg={24} xxl={24}>
|
|
|
|
|
|
|
|
<Divider orientation="left">费用列表</Divider>
|
|
|
|
|
|
|
|
<Table bordered={true} rowKey="CLC_SN" columns={costListColumns} dataSource={airInfo.Flightcost_AsJOSN} loading={loading} pagination={false} />
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -474,7 +462,7 @@ const AirticketPlan = props => {
|
|
|
|
labelCol={{
|
|
|
|
labelCol={{
|
|
|
|
span: 5,
|
|
|
|
span: 5,
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
<Form.Item label="费用类型" name="CostType">
|
|
|
|
<Form.Item label="状态" name="CostType">
|
|
|
|
<Select
|
|
|
|
<Select
|
|
|
|
style={{
|
|
|
|
style={{
|
|
|
|
width: 160,
|
|
|
|
width: 160,
|
|
|
@ -493,14 +481,6 @@ const AirticketPlan = props => {
|
|
|
|
value: "退票",
|
|
|
|
value: "退票",
|
|
|
|
label: "退票",
|
|
|
|
label: "退票",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
value: "换开",
|
|
|
|
|
|
|
|
label: "换开",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: "其它",
|
|
|
|
|
|
|
|
label: "其它",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]}
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
@ -568,14 +548,29 @@ const AirticketPlan = props => {
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item label="选择客人" name="MEI_Name66">
|
|
|
|
<Form.Item label="选择客人" name="MEI_Name66">
|
|
|
|
<Select onChange={value => guestList_OnChange(value)} options={guestList_select()} placeholder="如果列表里面没有客人信息,请手动录到备注里" />
|
|
|
|
<Radio.Group
|
|
|
|
|
|
|
|
onChange={e => guestList_OnChange(e)}
|
|
|
|
|
|
|
|
style={{
|
|
|
|
|
|
|
|
minWidth: 320,
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
<List
|
|
|
|
|
|
|
|
bordered
|
|
|
|
|
|
|
|
dataSource={guestList_select()}
|
|
|
|
|
|
|
|
renderItem={item => (
|
|
|
|
|
|
|
|
<List.Item>
|
|
|
|
|
|
|
|
<Radio value={item.value}>{item.label}</Radio>
|
|
|
|
|
|
|
|
</List.Item>
|
|
|
|
|
|
|
|
)}></List>
|
|
|
|
|
|
|
|
</Radio.Group>
|
|
|
|
|
|
|
|
{/* <Select onChange={value => guestList_OnChange(value)} options={guestList_select()} placeholder="如果列表里面没有客人信息,请手动录到备注里" /> */}
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item label="备注" name="Memo">
|
|
|
|
<Form.Item label="客人信息/备注" name="Memo">
|
|
|
|
<Input.TextArea rows={4} />
|
|
|
|
<Input.TextArea rows={4} disabled={isTicketType} />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
|
|
<Form.Item name="CLF_SN" hidden>
|
|
|
|
<Form.Item name="CLF_SN" hidden>
|
|
|
|
<input />
|
|
|
|
<input />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
@ -675,7 +670,7 @@ const AirticketPlan = props => {
|
|
|
|
|
|
|
|
|
|
|
|
<Row>
|
|
|
|
<Row>
|
|
|
|
<Col md={24} lg={24} xxl={24} style={{ height: "100%" }}>
|
|
|
|
<Col md={24} lg={24} xxl={24} style={{ height: "100%" }}>
|
|
|
|
<iframe id="msdoc-iframe-reservation" title="msdoc-iframe-reservation" src={reservationPreviewUrl + "&v=" + Math.random()} style={{ width: "100%", height: "600px" }}></iframe>
|
|
|
|
{/* <iframe id="msdoc-iframe-reservation" title="msdoc-iframe-reservation" src={reservationPreviewUrl + "&v=" + Math.random()} style={{ width: "100%", height: "600px" }}></iframe> */}
|
|
|
|
<Button type="link" target="_blank" href={reservationUrl}>
|
|
|
|
<Button type="link" target="_blank" href={reservationUrl}>
|
|
|
|
下载
|
|
|
|
下载
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
@ -683,7 +678,7 @@ const AirticketPlan = props => {
|
|
|
|
</Row>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
|
|
<Row>
|
|
|
|
<Row>
|
|
|
|
<Divider orientation="center">出票信息 {planDetail ? `${planDetail[0].GRI_No} - ${planDetail[0].WL}` : ""}</Divider>
|
|
|
|
<Divider orientation="center">{planDetail ? `${planDetail[0].GRI_No} - ${planDetail[0].WL}` : ""}</Divider>
|
|
|
|
<Col md={24} lg={24} xxl={24}>
|
|
|
|
<Col md={24} lg={24} xxl={24}>
|
|
|
|
<Collapse items={detail_items()} />
|
|
|
|
<Collapse items={detail_items()} />
|
|
|
|
</Col>
|
|
|
|
</Col>
|
|
|
|