diff --git a/package.json b/package.json
index ac1a9b2..f2ea881 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "global-highlights-hub",
"private": true,
- "version": "2.0.0-alpha.0",
+ "version": "2.0.0-alpha.1",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/src/stores/Airticket.js b/src/stores/Airticket.js
index 6a393b9..e73711a 100644
--- a/src/stores/Airticket.js
+++ b/src/stores/Airticket.js
@@ -30,8 +30,8 @@ const airTicketStore = create((set, get) => ({
async getPlanDetail(vei_sn, gri_sn) {
const { setPlanDetail } = get();
const searchParams = {
- vei_sn: 6376, //vei_sn,
- gri_sn: 369040, //gri_sn
+ vei_sn: 4272, //vei_sn,
+ gri_sn: 372928, //gri_sn
};
const { errcode, result } = await fetchJSON(`${HT_HOST}/Service_BaseInfoWeb/GetFlightPlanDetail`, searchParams);
const _result = errcode !== 0 ? [] : result;
diff --git a/src/views/account/Management.jsx b/src/views/account/Management.jsx
index 7081be3..f495de5 100644
--- a/src/views/account/Management.jsx
+++ b/src/views/account/Management.jsx
@@ -128,6 +128,7 @@ function Management() {
const onAccountFinish = (values) => {
saveOrUpdateAccount(values)
.then(() => {
+ setAccountModalOpen(false)
handelAccountSearch()
})
.catch(ex => {
@@ -224,7 +225,7 @@ function Management() {
htmlType: 'submit',
}}
title={t('account:detail')}
- open={isAccountModalOpen} onOk={() => setAccountModalOpen(false)} onCancel={() => setAccountModalOpen(false)}
+ open={isAccountModalOpen} onCancel={() => setAccountModalOpen(false)}
destroyOnClose
forceRender
modalRender={(dom) => (
diff --git a/src/views/account/RoleList.jsx b/src/views/account/RoleList.jsx
index 796aafe..5143081 100644
--- a/src/views/account/RoleList.jsx
+++ b/src/views/account/RoleList.jsx
@@ -132,6 +132,7 @@ function RoleList() {
const onRoleFinish = (values) => {
saveOrUpdateRole(values)
.then(() => {
+ setRoleModalOpen(false)
fetchRoleList()
.then(r => {
setRoleAllList(r)
@@ -148,6 +149,7 @@ function RoleList() {
}
const onRoleFailed = (error) => {
+ console.log('Failed:', error)
// form.resetFields()
}
@@ -160,7 +162,7 @@ function RoleList() {
htmlType: 'submit',
}}
title={t('account:detail')}
- open={isRoleModalOpen} onOk={() => setRoleModalOpen(false)} onCancel={() => setRoleModalOpen(false)}
+ open={isRoleModalOpen} onCancel={() => setRoleModalOpen(false)}
destroyOnClose
forceRender
modalRender={(dom) => (
diff --git a/src/views/airticket/Plan.jsx b/src/views/airticket/Plan.jsx
index 29ba956..ea193fa 100644
--- a/src/views/airticket/Plan.jsx
+++ b/src/views/airticket/Plan.jsx
@@ -1,5 +1,5 @@
import { useState, useEffect } from "react";
-import { Grid, Divider, Layout, Form, Input, Col, Row, Space, Collapse, Table, Button } from "antd";
+import { Grid, Divider, Layout, Modal, Form, Input, Col, Row, Space, Collapse, Table, Button, Select, InputNumber, Typography } from "antd";
import { PhoneOutlined, CustomerServiceOutlined, AudioOutlined, ArrowUpOutlined, ArrowDownOutlined } from "@ant-design/icons";
import { useParams, useHref, useNavigate, NavLink } from "react-router-dom";
import { isEmpty, formatColonTime } from "@/utils/commons";
@@ -15,14 +15,96 @@ const AirticketPlan = props => {
const reservationUrl = `https://p9axztuwd7x8a7.mycht.cn/Service_BaseInfoWeb/FlightPlanDocx?GRI_SN=${coli_sn}&VEI_SN=${travelAgencyId}`;
const reservationPreviewUrl = OFFICEWEBVIEWERURL + encodeURIComponent(reservationUrl);
- console.log(reservationPreviewUrl);
+ // console.log(reservationPreviewUrl);
+
+ //乘客列表
+ const guestListColumns = [
+ {
+ title: "姓名",
+ key: "MEI_Name",
+ dataIndex: "MEI_Name",
+ },
+ {
+ title: "证件类型",
+ key: "MEI_PassportType",
+ dataIndex: "MEI_PassportType",
+ },
+ {
+ title: "证件号",
+ key: "MEI_PassportNo",
+ dataIndex: "MEI_PassportNo",
+ },
+ {
+ title: "证件有效期",
+ key: "MEI_PassportValidDate",
+ dataIndex: "MEI_PassportValidDate",
+ },
+ {
+ title: "性别",
+ key: "MEI_Gender",
+ dataIndex: "MEI_Gender",
+ },
+ {
+ title: "年龄",
+ key: "MEI_age",
+ dataIndex: "MEI_age",
+ },
+ {
+ title: "国籍",
+ key: "MEI_Country",
+ dataIndex: "MEI_Country",
+ },
+ {
+ title: "票号",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "PNR",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "机票费用(RMB)含基建和税",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "折扣",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "手续费",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "机票类型(成人/儿童/婴儿)",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ },
+ {
+ title: "操作",
+ key: "MEI_SN",
+ dataIndex: "MEI_SN",
+ render: (_, record) => {
+ return (
+
+