Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
d1e9229d
Commit
d1e9229d
authored
Jan 18, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 结算-发票-地址问题
parent
5fd2b198
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
type.tsx
src/pages/balance/common/type.tsx
+8
-8
index.tsx
src/pages/balance/settleRules/receipt/index.tsx
+2
-2
info.tsx
src/pages/balance/settleRules/receipt/info.tsx
+1
-1
columns.tsx
src/pages/handling/assign/detail/columns.tsx
+1
-1
No files found.
src/pages/balance/common/type.tsx
View file @
d1e9229d
...
...
@@ -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
,
addres
s
:
string
,
tel
:
string
isDefault
:
number
}
src/pages/balance/settleRules/receipt/index.tsx
View file @
d1e9229d
...
...
@@ -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
,
addres
s
,
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
}
>
{
addres
s
}
</
Col
>
</
Row
>
<
Row
className=
{
styles
.
row
}
>
<
Col
span=
{
6
}
>
电话
</
Col
>
...
...
src/pages/balance/settleRules/receipt/info.tsx
View file @
d1e9229d
...
...
@@ -92,7 +92,7 @@ const schema = {
{
pattern
:
/^
([
1-9
]{1})(\d{14}
|
\d{18})
$/
,
message
:
'请填写正确的银行账号'
}
]
},
addres
:
{
addres
s
:
{
type
:
'text'
,
title
:
'地址'
,
'x-component'
:
'textarea'
,
...
...
src/pages/handling/assign/detail/columns.tsx
View file @
d1e9229d
...
...
@@ -182,7 +182,7 @@ export const receiveColumns = (type: "order" | 'product'): ColumnsType<any> => {
render
:
(
text
,
record
)
=>
{
// orderId, orderDetailId
return
(
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/
sal
eOrder/orderList/preview?id=${record.orderId}`
}
>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/
purchas
eOrder/orderList/preview?id=${record.orderId}`
}
>
{
text
}
</
EyePreview
>
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment