Commit d1e9229d authored by Bill's avatar Bill

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

parent 5fd2b198
......@@ -28,11 +28,11 @@ export interface ProveListProps {
number: string,
/**
* 开具时间
*/
*/
invoiceDate: string,
/**
* 备注
*/
*/
remark: string
}
......@@ -67,7 +67,7 @@ export interface InvoiceInfoProps {
bankOfDeposit: string,
/**
* 账号
* 账号
*/
account: string,
......@@ -92,22 +92,22 @@ enum Kind {
/**
* 增值税普通发票(默认)
*/
common = 1,
common = 1,
/**
* 增值税专用发票
*/
special = 2 //
special = 2 //
}
enum ItemIpropType {
/**
* 企业
*/
business = 1,
business = 1,
/**
* 个人
*/
person = 2
person = 2
}
/**
* 发票内容,用于发票列表
......@@ -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