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
shenshaokai
jinfa-platform
Commits
115607ba
Commit
115607ba
authored
Dec 07, 2022
by
陈智峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feng-jinfa-20221102' into 'jinfa-20221102'
fix: 金发bug See merge request project/jinfa-platform!449
parents
9bde6735
22f7cb7a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
16 deletions
+21
-16
memberDetail.tsx
src/pages/authConfig/memberSystem/memberDetail.tsx
+1
-1
index.tsx
src/pages/balance/businessRequestFunds/search/index.tsx
+1
-1
index.tsx
src/pages/balance/invoice/srm/joint/index.tsx
+5
-5
FormList.tsx
src/pages/contract/manage/editing/components/FormList.tsx
+11
-6
index.tsx
src/pages/transaction/purchaseRequisition/index.tsx
+3
-3
No files found.
src/pages/authConfig/memberSystem/memberDetail.tsx
View file @
115607ba
...
...
@@ -272,7 +272,7 @@ const MemberDetail: React.FC<{}> = () => {
memberRoleId
:
id
,
source
},
{
useCache
:
true
,
ttl
:
10
*
1000
},
//
{ useCache: true, ttl: 10 * 1000 },
);
return
res
;
};
...
...
src/pages/balance/businessRequestFunds/search/index.tsx
View file @
115607ba
...
...
@@ -122,7 +122,7 @@ const Search: React.FC = () => {
const
{
data
,
response
}
=
res
if
(
response
.
status
==
200
)
{
// const suffixName = response.headers.get('content-disposition').split('.')[1]
const
fileName
=
`
${
moment
().
format
(
'YYYYMMDD'
)}
请款单.
xls
`
const
fileName
=
`
${
moment
().
format
(
'YYYYMMDD'
)}
请款单.
zip
`
downFileByBuffer
(
data
,
fileName
)
ref
.
current
.
reloadCurrent
()
}
...
...
src/pages/balance/invoice/srm/joint/index.tsx
View file @
115607ba
...
...
@@ -21,7 +21,7 @@ import {
getSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceList
,
postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceConfirm
,
postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceReturn
,
pos
tSettleAccountsMemberSettlementAccountStatementCoordinationExportNew
ge
tSettleAccountsMemberSettlementAccountStatementCoordinationExportNew
}
from
'@/services/SettleV2Api'
;
import
AuthButton
from
'@/components/AuthButton'
;
import
'./index.less'
;
...
...
@@ -288,17 +288,17 @@ const InvoiceJoint: React.FC = () => {
];
/* 导出 */
const
handleExport
=
()
=>
{
const
handleExport
=
()
=>
{
const
{
selectedRowKeys
=
[],
setSelectedRowKeys
,
setSelectRow
}
=
selectRowFns
if
(
selectedRowKeys
.
length
>
5000
)
{
message
.
warning
(
intl
.
formatMessage
({
id
:
'balance.export.quantity.limit'
}))
return
}
postSettleAccountsMemberSettlementAccountStatementCoordinationExportNew
({
ids
:
selectedRowKeys
},
{
responseType
:
'blob'
,
getResponse
:
true
}).
then
((
res
:
any
)
=>
{
getSettleAccountsMemberSettlementAccountStatementCoordinationExportNew
({
ids
:
selectedRowKeys
.
join
(
','
)
},
{
responseType
:
'blob'
,
getResponse
:
true
}).
then
((
res
:
any
)
=>
{
const
{
data
,
response
}
=
res
if
(
response
.
status
==
200
)
{
const
suffixName
=
response
.
headers
.
get
(
'content-disposition'
).
split
(
'.'
)[
1
]
const
fileName
=
`
${
moment
().
format
(
'YYYYMMDD'
)}
发票.
${
suffixName
}
`
//
const suffixName = response.headers.get('content-disposition').split('.')[1]
const
fileName
=
`
${
moment
().
format
(
'YYYYMMDD'
)}
发票.
xls
`
downFileByBuffer
(
data
,
fileName
)
ref
.
current
.
reloadCurrent
()
setSelectedRowKeys
([])
...
...
src/pages/contract/manage/editing/components/FormList.tsx
View file @
115607ba
...
...
@@ -102,7 +102,7 @@ const FormList = (props: any) => {
placeholder=
""
onChange=
{
(
e
)
=>
setInput
(
e
,
'purchaseCount'
,
index
)
}
defaultValue=
{
record
.
purchaseCount
}
disabled=
{
sourceType
!=
4
}
disabled=
{
[
1
,
2
,
3
].
includes
(
sourceType
)
}
//询价/招标/竞价不能改
/>
</
Form
.
Item
>
},
...
...
@@ -119,7 +119,8 @@ const FormList = (props: any) => {
style=
{
{
width
:
80
}
}
defaultValue=
{
text
===
0
||
text
===
1
?
text
.
toString
()
:
''
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'isHasTax'
,
index
)
}
disabled=
{
sourceType
!=
4
}
disabled=
{
[
1
,
2
,
3
].
includes
(
sourceType
)
}
//询价/招标/竞价不能改
>
<
Option
value=
"0"
key=
{
0
}
>
{
intl
.
formatMessage
({
id
:
'contract.fou'
})
}
</
Option
>
<
Option
value=
"1"
key=
{
1
}
>
{
intl
.
formatMessage
({
id
:
'contract.shi'
})
}
</
Option
>
...
...
@@ -145,7 +146,8 @@ const FormList = (props: any) => {
defaultValue=
{
text
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'taxRate'
,
index
)
}
addonAfter=
"%"
disabled=
{
sourceType
!=
4
}
disabled=
{
[
1
,
2
,
3
].
includes
(
sourceType
)
}
//询价/招标/竞价不能改
/>
</
Form
.
Item
>
},
...
...
@@ -168,7 +170,8 @@ const FormList = (props: any) => {
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
// addonBefore={intl.formatMessage({id: 'common.money'})}
defaultValue=
{
text
}
disabled=
{
sourceType
!=
4
}
disabled=
{
[
1
,
2
,
3
].
includes
(
sourceType
)
}
//询价/招标/竞价不能改
/>
</
Form
.
Item
>
},
...
...
@@ -189,7 +192,7 @@ const FormList = (props: any) => {
}
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'bidCount'
,
index
)
}
defaultValue=
{
text
?
text
:
''
}
disabled=
{
sourceType
!=
4
}
disabled=
{
[
1
,
2
,
3
].
includes
(
sourceType
)
}
//询价/招标/竞价不能改
/>
</
Form
.
Item
>
},
...
...
@@ -545,9 +548,11 @@ const FormList = (props: any) => {
let
res
=
newoldData
.
concat
(
handlePurchaseData
(
newData
.
filter
(
i
=>
!
i
.
existed
)))
let
nowList
=
list
?.
length
>
0
?
res
:
newoldData
console
.
log
(
list
,
'list'
);
nowList
.
map
((
i
,
k
)
=>
{
i
.
newId
=
i
.
newId
||
i
.
prpId
i
.
deliveryType
=
i
.
deliveryMethod
val_taxPoint
(
i
)
// i.isHasTax = form.getFieldValue('isHasTax' + i.newId) || undefined
// i.taxRate = form.getFieldValue('taxRate' + i.newId) || ''
...
...
src/pages/transaction/purchaseRequisition/index.tsx
View file @
115607ba
...
...
@@ -138,15 +138,15 @@ const RequestBill: React.FC<RequestBillProps> = () => {
[
intl
.
formatMessage
({
id
:
'purchaseRequisition.quxiaodingdan'
,
defaultMessage
:
'取消订单'
,
})]:
record
.
showCancel
,
})]:
record
.
revokeProcessFlag
===
3
,
[
intl
.
formatMessage
({
id
:
'purchaseRequisition.zhongzhi'
,
defaultMessage
:
'中止'
,
})]:
record
.
showPause
,
})]:
record
.
revokeProcessFlag
===
2
,
[
intl
.
formatMessage
({
id
:
'purchaseRequisition.cehui'
,
defaultMessage
:
'撤回审核'
,
})]:
record
.
revokeProcessFlag
,
})]:
record
.
revokeProcessFlag
===
1
,
[
intl
.
formatMessage
({
id
:
'purchaseRequisition.biangeng'
,
defaultMessage
:
'变更'
,
...
...
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