diff --git a/src/views/trainticket/invoice.jsx b/src/views/trainticket/invoice.jsx index 65fcec0..b392089 100644 --- a/src/views/trainticket/invoice.jsx +++ b/src/views/trainticket/invoice.jsx @@ -47,15 +47,15 @@ const Invoice = props => { }, { title: "出发", - key: "FromAirport", - dataIndex: "FromAirport", - render: (text, record) => (record.CostType == "出票" ? `${record.FromCity}` : "-"), + key: "CLF_FromAirport", + dataIndex: "CLF_FromAirport", + render: (text, record) => (record.CostType == "出票" ? text : "-"), }, { title: "抵达", key: "ToAirport", dataIndex: "ToAirport", - render: (text, record) => (record.CostType == "出票" ? `${record.ToCity}` : "-"), + render: (text, record) => (record.CostType == "出票" ? text : "-"), }, { title: "车次", @@ -71,8 +71,8 @@ const Invoice = props => { }, { title: "车票类型", - key: "FlightType", - dataIndex: "FlightType", + key: "SeatClass", + dataIndex: "SeatClass", render: (text, record) => (record.CostType == "出票" ? text : "-"), }, { @@ -206,6 +206,8 @@ const Invoice = props => { }} onSubmit={(err, formVal, filedsVal) => { getVEIFlightBill(travelAgencyId, formVal.referenceNo, formVal.invoiceCheckStatus, formVal.startdate, formVal.endtime); + console.log(vEIFlightBill); + }} /> diff --git a/src/views/trainticket/invoicePaid.jsx b/src/views/trainticket/invoicePaid.jsx index a85e84a..84d9eee 100644 --- a/src/views/trainticket/invoicePaid.jsx +++ b/src/views/trainticket/invoicePaid.jsx @@ -126,7 +126,7 @@ const InvoicePaid = props => {