|
|
@ -4,7 +4,7 @@ import { PhoneOutlined, FrownTwoTone, LikeTwoTone, ArrowUpOutlined, ArrowDownOut
|
|
|
|
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";
|
|
|
|
import { OFFICEWEBVIEWERURL } from "@/config";
|
|
|
|
import { OFFICEWEBVIEWERURL } from "@/config";
|
|
|
|
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
import airTicketStore from "@/stores/Airticket";
|
|
|
|
import airTicketStore from "@/stores/Airticket";
|
|
|
|
import { usingStorage } from "@/hooks/usingStorage";
|
|
|
|
import { usingStorage } from "@/hooks/usingStorage";
|
|
|
|
import BackBtn from "@/components/BackBtn";
|
|
|
|
import BackBtn from "@/components/BackBtn";
|
|
|
@ -131,7 +131,7 @@ const AirticketPlan = props => {
|
|
|
|
wrapperCol={{
|
|
|
|
wrapperCol={{
|
|
|
|
span: 16,
|
|
|
|
span: 16,
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
initialValues={airInfo}
|
|
|
|
initialValues={{...airInfo,StartDate:dayjs(airInfo.StartDate)}}
|
|
|
|
onFinish={values => {
|
|
|
|
onFinish={values => {
|
|
|
|
postFlightDetail(airInfo.CLF_SN, airInfo.GRI_SN, airInfo.VEI_SN, airInfo, values)
|
|
|
|
postFlightDetail(airInfo.CLF_SN, airInfo.GRI_SN, airInfo.VEI_SN, airInfo, values)
|
|
|
|
.then(() => {
|
|
|
|
.then(() => {
|
|
|
@ -168,7 +168,8 @@ const AirticketPlan = props => {
|
|
|
|
<Form.Item label="出发日期、航司、航班" required>
|
|
|
|
<Form.Item label="出发日期、航司、航班" required>
|
|
|
|
<Space>
|
|
|
|
<Space>
|
|
|
|
<Form.Item name="StartDate" noStyle rules={[{ required: true, message: "请输入出发日期!" }]}>
|
|
|
|
<Form.Item name="StartDate" noStyle rules={[{ required: true, message: "请输入出发日期!" }]}>
|
|
|
|
<Input placeholder="出发日期" />
|
|
|
|
{/* <Input placeholder="出发日期" /> */}
|
|
|
|
|
|
|
|
<DatePicker />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item name="FlightCompany" noStyle>
|
|
|
|
<Form.Item name="FlightCompany" noStyle>
|
|
|
|
<Input placeholder="航空公司" />
|
|
|
|
<Input placeholder="航空公司" />
|
|
|
|