Commit d1e9229d authored by Bill's avatar Bill

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

parent 5fd2b198
......@@ -120,7 +120,7 @@ export interface IReceiptProps {
taxNo: string,
bankOfDeposit: string,
account: string,
addres: string,
address: string,
tel: string
isDefault: number
}
......@@ -21,7 +21,7 @@ interface ItemIprops extends IReceiptProps {
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 = () => {
history.push(`/memberCenter/balance/settleRules/receiptList/detail?id=${id}`);
}
......@@ -69,7 +69,7 @@ const ReceiptItem: React.FC<ItemIprops> = (props) => {
</Row>
<Row className={styles.row}>
<Col span={6}>地址</Col>
<Col span={18}>{addres}</Col>
<Col span={18}>{address}</Col>
</Row>
<Row className={styles.row}>
<Col span={6}>电话</Col>
......
......@@ -92,7 +92,7 @@ const schema = {
{pattern: /^([1-9]{1})(\d{14}|\d{18})$/, message: '请填写正确的银行账号'}
]
},
addres: {
address: {
type: 'text',
title: '地址',
'x-component': 'textarea',
......
......@@ -182,7 +182,7 @@ export const receiveColumns = (type: "order" | 'product'): ColumnsType<any> => {
render: (text, record) => {
// orderId, orderDetailId
return (
<EyePreview url={`/memberCenter/tranactionAbility/saleOrder/orderList/preview?id=${record.orderId}`}>
<EyePreview url={`/memberCenter/tranactionAbility/purchaseOrder/orderList/preview?id=${record.orderId}`}>
{text}
</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