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
linweijiong
jinfa-platform
Commits
a4c8a7d5
Commit
a4c8a7d5
authored
Sep 08, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
3356853a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
28 deletions
+25
-28
index.tsx
src/pages/contract/coordination/details/index.tsx
+5
-3
add.tsx
src/pages/contract/funds/addbill/add.tsx
+16
-21
info.tsx
src/pages/contract/funds/addbill/components/info.tsx
+2
-2
table.tsx
src/pages/contract/funds/editbill/components/table.tsx
+2
-2
No files found.
src/pages/contract/coordination/details/index.tsx
View file @
a4c8a7d5
...
...
@@ -105,9 +105,11 @@ const Details = (props: any) => {
if
(
basics
.
sourceId
)
{
switch
(
basics
.
sourceType
)
{
case
1
:
{
if
(
basics
.
turn
&&
basics
.
sourceId
)
{
basicInfo
.
col2
[
1
].
url
=
`/memberCenter/procurementAbility/confirmOffer/offerInquire/preview?id=
${
basics
.
sourceId
}
&turn=
${
basics
.
turn
}
`
}
// memberCenter/procurementAbility/offter/offter/preview?id=1568&numberXJPJ63501
// if (basics.turn && basics.sourceId) {
basicInfo
.
col2
[
1
].
url
=
`/memberCenter/procurementAbility/offter/offter/preview?id=
${
basics
.
sourceId
}
&numberXJPJ63501=
${
basics
.
sourceNo
}
`
// basicInfo.col2[1].url = `/memberCenter/procurementAbility/confirmOffer/offerInquire/preview?id=${basics.sourceId}&turn=${basics.turn}`
// }
break
;
};
case
2
:
{
...
...
src/pages/contract/funds/addbill/add.tsx
View file @
a4c8a7d5
...
...
@@ -51,28 +51,23 @@ const Add: React.FC<{}> = (props: any) => {
]
const
submit
=
async
()
=>
{
setLoading
(
true
);
if
(
!
Loading
)
{
const
basicsVO
=
await
currentBasic
.
current
.
get
();
const
detailList
=
await
Object
.
keys
(
detailData
.
current
).
length
!=
0
?
await
detailData
.
current
.
get
()
:
[];
basicsVO
.
data
.
sourceType
=
sourceType
?
sourceType
:
3
;
let
data
=
{
basics
:
basicsVO
.
data
,
detailList
:
detailList
,
}
PublicApi
.
postContractApplyAmountSave
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
===
1000
)
{
history
.
push
(
'/memberCenter/contract/funds/addbill'
)
}
}).
finally
(()
=>
{
}).
catch
((
err
)
=>
{
// resolve([]);
});
setTimeout
(()
=>
{
setLoading
(
false
);
},
2000
)
const
basicsVO
=
await
currentBasic
.
current
.
get
();
const
detailList
=
await
Object
.
keys
(
detailData
.
current
).
length
!=
0
?
await
detailData
.
current
.
get
()
:
[];
basicsVO
.
data
.
sourceType
=
sourceType
?
sourceType
:
3
;
let
data
=
{
basics
:
basicsVO
.
data
,
detailList
:
detailList
,
}
PublicApi
.
postContractApplyAmountSave
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
===
1000
)
{
history
.
push
(
'/memberCenter/contract/funds/addbill'
)
}
}).
finally
(()
=>
{
}).
catch
((
err
)
=>
{
// resolve([]);
});
}
...
...
src/pages/contract/funds/addbill/components/info.tsx
View file @
a4c8a7d5
...
...
@@ -92,7 +92,7 @@ const AddInfo = (props: any) => {
},
{
title
:
'合同剩余金额'
,
dataIndex
:
'
total
Amount'
,
dataIndex
:
'
free
Amount'
,
align
:
'left'
,
render
:
(
text
)
=>
<
div
>
...
...
@@ -299,7 +299,7 @@ const AddInfo = (props: any) => {
},
]
}
>
<
Input
placeholder=
'请输入请款单摘要'
onChange=
{
(
e
)
=>
onSetKey
(
e
,
'applyAbstract'
)
}
/>
<
Input
placeholder=
'请输入请款单摘要'
onChange=
{
(
e
)
=>
onSetKey
(
e
,
'applyAbstract'
)
}
maxLength=
{
60
}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"合同编号"
...
...
src/pages/contract/funds/editbill/components/table.tsx
View file @
a4c8a7d5
...
...
@@ -198,10 +198,10 @@ const table = (props: any) => {
id
:
item
.
id
,
applyAmount
:
item
.
applyAmount
,
orderId
:
item
.
orderId
,
orderNO
:
item
.
applyNo
,
orderNO
:
item
.
orderNO
,
executeId
:
item
.
executeId
?
item
.
executeId
:
''
,
isHasTax
:
item
.
isHasTax
,
taxRate
:
item
.
taxRate
,
executeId
:
item
.
id
?
item
.
id
:
''
,
}
)
})
...
...
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