Commit d1e9229d authored by Bill's avatar Bill

fix: 结算-发票-地址问题

parent 5fd2b198
...@@ -120,7 +120,7 @@ export interface IReceiptProps { ...@@ -120,7 +120,7 @@ export interface IReceiptProps {
taxNo: string, taxNo: string,
bankOfDeposit: string, bankOfDeposit: string,
account: string, account: string,
addres: string, address: string,
tel: string tel: string
isDefault: number isDefault: number
} }
...@@ -21,7 +21,7 @@ interface ItemIprops extends IReceiptProps { ...@@ -21,7 +21,7 @@ interface ItemIprops extends IReceiptProps {
const ReceiptItem: React.FC<ItemIprops> = (props) => { const ReceiptItem: React.FC<ItemIprops> = (props) => {
const { id, kind, type, invoiceTitle, taxNo, bankOfDeposit, account, addres, tel, isDefault } = props; const { id, kind, type, invoiceTitle, taxNo, bankOfDeposit, account, address, tel, isDefault } = props;
const handleRouterPush = () => { const handleRouterPush = () => {
history.push(`/memberCenter/balance/settleRules/receiptList/detail?id=${id}`); history.push(`/memberCenter/balance/settleRules/receiptList/detail?id=${id}`);
} }
...@@ -69,7 +69,7 @@ const ReceiptItem: React.FC<ItemIprops> = (props) => { ...@@ -69,7 +69,7 @@ const ReceiptItem: React.FC<ItemIprops> = (props) => {
</Row> </Row>
<Row className={styles.row}> <Row className={styles.row}>
<Col span={6}>地址</Col> <Col span={6}>地址</Col>
<Col span={18}>{addres}</Col> <Col span={18}>{address}</Col>
</Row> </Row>
<Row className={styles.row}> <Row className={styles.row}>
<Col span={6}>电话</Col> <Col span={6}>电话</Col>
......
...@@ -92,7 +92,7 @@ const schema = { ...@@ -92,7 +92,7 @@ const schema = {
{pattern: /^([1-9]{1})(\d{14}|\d{18})$/, message: '请填写正确的银行账号'} {pattern: /^([1-9]{1})(\d{14}|\d{18})$/, message: '请填写正确的银行账号'}
] ]
}, },
addres: { address: {
type: 'text', type: 'text',
title: '地址', title: '地址',
'x-component': 'textarea', 'x-component': 'textarea',
......
...@@ -182,7 +182,7 @@ export const receiveColumns = (type: "order" | 'product'): ColumnsType<any> => { ...@@ -182,7 +182,7 @@ export const receiveColumns = (type: "order" | 'product'): ColumnsType<any> => {
render: (text, record) => { render: (text, record) => {
// orderId, orderDetailId // orderId, orderDetailId
return ( return (
<EyePreview url={`/memberCenter/tranactionAbility/saleOrder/orderList/preview?id=${record.orderId}`}> <EyePreview url={`/memberCenter/tranactionAbility/purchaseOrder/orderList/preview?id=${record.orderId}`}>
{text} {text}
</EyePreview> </EyePreview>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment