优化账单查询

main
Ycc 2 weeks ago
parent 894f6e8173
commit 7e135f349e

@ -47,15 +47,15 @@ const Invoice = props => {
}, },
{ {
title: "出发", title: "出发",
key: "FromAirport", key: "CLF_FromAirport",
dataIndex: "FromAirport", dataIndex: "CLF_FromAirport",
render: (text, record) => (record.CostType == "出票" ? `${record.FromCity}` : "-"), render: (text, record) => (record.CostType == "出票" ? text : "-"),
}, },
{ {
title: "抵达", title: "抵达",
key: "ToAirport", key: "ToAirport",
dataIndex: "ToAirport", dataIndex: "ToAirport",
render: (text, record) => (record.CostType == "出票" ? `${record.ToCity}` : "-"), render: (text, record) => (record.CostType == "出票" ? text : "-"),
}, },
{ {
title: "车次", title: "车次",
@ -71,8 +71,8 @@ const Invoice = props => {
}, },
{ {
title: "车票类型", title: "车票类型",
key: "FlightType", key: "SeatClass",
dataIndex: "FlightType", dataIndex: "SeatClass",
render: (text, record) => (record.CostType == "出票" ? text : "-"), render: (text, record) => (record.CostType == "出票" ? text : "-"),
}, },
{ {
@ -206,6 +206,8 @@ const Invoice = props => {
}} }}
onSubmit={(err, formVal, filedsVal) => { onSubmit={(err, formVal, filedsVal) => {
getVEIFlightBill(travelAgencyId, formVal.referenceNo, formVal.invoiceCheckStatus, formVal.startdate, formVal.endtime); getVEIFlightBill(travelAgencyId, formVal.referenceNo, formVal.invoiceCheckStatus, formVal.startdate, formVal.endtime);
console.log(vEIFlightBill);
}} }}
/> />
</Col> </Col>

@ -126,7 +126,7 @@ const InvoicePaid = props => {
<Col md={24} lg={20} xxl={20}> <Col md={24} lg={20} xxl={20}>
<Divider orientation="left">账单明细 {invoiceNO}</Divider> <Divider orientation="left">账单明细 {invoiceNO}</Divider>
<Table bordered columns={invoicePaidDetailColumns} dataSource={invoicePaidDetail} pagination={{ defaultPageSize: 100, showTotal: showTotal_detail }} /> <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>
<Col md={24} lg={4} xxl={4}></Col> <Col md={24} lg={4} xxl={4}></Col>
</Row> </Row>

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

Loading…
Cancel
Save