调整表格字段位置

main
YCC 10 months ago
parent 945a1a7a17
commit 0dd8cc7a69

@ -30,15 +30,6 @@ const Invoice = props => {
key: "CostType", key: "CostType",
dataIndex: "CostType", dataIndex: "CostType",
}, },
{
title: "手续费",
children: [
{
title: vEIFlightBill && vEIFlightBill.reduce((acc, curr) => acc + curr.ServiceFee, 0),
dataIndex: "ServiceFee",
},
],
},
{ {
title: "出发日期", title: "出发日期",
key: "StartDate", key: "StartDate",
@ -90,6 +81,15 @@ const Invoice = props => {
], ],
key: "Cost", key: "Cost",
}, },
{
title: "手续费",
children: [
{
title: vEIFlightBill && vEIFlightBill.reduce((acc, curr) => acc + curr.ServiceFee, 0),
dataIndex: "ServiceFee",
},
],
},
{ {
title: "折扣", title: "折扣",
key: "Discount", key: "Discount",

@ -53,11 +53,6 @@ const AirticketPlan = props => {
key: "CostType", key: "CostType",
dataIndex: "CostType", dataIndex: "CostType",
}, },
{
title: "手续费",
key: "ServiceFee",
dataIndex: "ServiceFee",
},
{ {
title: "PNR", title: "PNR",
key: "PNR", key: "PNR",
@ -82,6 +77,11 @@ const AirticketPlan = props => {
dataIndex: "Cost", dataIndex: "Cost",
render: (text, record) => (record.CostType == "出票" ? text : "-"), render: (text, record) => (record.CostType == "出票" ? text : "-"),
}, },
{
title: "手续费",
key: "ServiceFee",
dataIndex: "ServiceFee",
},
{ {
title: "折扣", title: "折扣",
key: "Discount", key: "Discount",

Loading…
Cancel
Save