优化账单查询

main
Ycc 2 weeks ago
parent 894f6e8173
commit 7e135f349e

@ -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);
}}
/>
</Col>

@ -126,7 +126,7 @@ const InvoicePaid = props => {
<Col md={24} lg={20} xxl={20}>
<Divider orientation="left">账单明细 {invoiceNO}</Divider>
<Table bordered columns={invoicePaidDetailColumns} dataSource={invoicePaidDetail} pagination={{ defaultPageSize: 100, showTotal: showTotal_detail }} />
<TableExportBtn btnTxt="导出账单明细" label={`票账单`} {...{ columns: invoicePaidDetailColumns, dataSource: invoicePaidDetail }} />
<TableExportBtn btnTxt="导出账单明细" label={`票账单`} {...{ columns: invoicePaidDetailColumns, dataSource: invoicePaidDetail }} />
</Col>
<Col md={24} lg={4} xxl={4}></Col>
</Row>

@ -568,8 +568,8 @@ const TrainticketPlan = props => {
label: "改签",
},
{
value: "退票",
label: "退票",
value: "取消",
label: "取消",
},
]}
/>

Loading…
Cancel
Save