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
6c24702b
Commit
6c24702b
authored
Jul 28, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
曾加请款参数
parent
f58bf2c4
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
37 additions
and
18 deletions
+37
-18
add.tsx
src/pages/contract/funds/addbill/add.tsx
+2
-2
index.tsx
src/pages/contract/funds/details/index.tsx
+1
-1
info.tsx
src/pages/contract/funds/editbill/components/info.tsx
+2
-0
index.tsx
src/pages/contract/funds/editbill/index.tsx
+7
-5
index.tsx
src/pages/contract/funds/submitpayment/index.tsx
+2
-0
index.tsx
src/pages/contract/manage/QueryList/index.tsx
+2
-0
contracAdd.tsx
src/pages/contract/manage/add/contracAdd.tsx
+2
-2
index.tsx
src/pages/contract/manage/details/index.tsx
+6
-2
information.tsx
src/pages/contract/manage/editing/components/information.tsx
+2
-1
index.tsx
src/pages/contract/manage/editing/index.tsx
+11
-5
No files found.
src/pages/contract/funds/addbill/add.tsx
View file @
6c24702b
...
...
@@ -7,8 +7,8 @@ import {
SaveOutlined
,
}
from
'@ant-design/icons'
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
AddInfo
from
'./components/
i
nfo'
import
InfoTable
from
'./components/
t
able'
import
AddInfo
from
'./components/
I
nfo'
import
InfoTable
from
'./components/
T
able'
import
{
PublicApi
}
from
'@/services/api'
;
const
formActions
=
createFormActions
();
...
...
src/pages/contract/funds/details/index.tsx
View file @
6c24702b
...
...
@@ -6,7 +6,7 @@ import { ArrowLeftOutlined } from '@ant-design/icons';
import
{
history
}
from
'umi'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
Examine
from
'../../components/examine'
import
Materials
from
'./components/
m
aterials'
import
Materials
from
'./components/
M
aterials'
import
ColumnsList
from
'./components/ColumnsList'
import
Basic
from
'../../components/detailCard/basic'
const
{
Link
}
=
Anchor
;
...
...
src/pages/contract/funds/editbill/components/info.tsx
View file @
6c24702b
...
...
@@ -86,6 +86,7 @@ const AddInfo = (props: any) => {
basicsData
.
expectPayTime
=
moment
(
key
.
expectPayTime
);
basicsData
.
payParam
=
key
.
payParam
;
basicsData
.
payRatio
=
key
.
payRatio
;
console
.
log
(
basicsData
,
'basicsData'
)
setBasics
(
basicsData
)
setIndex
(
key
.
Index
);
attrValueForm
.
setFieldsValue
(
basicsData
);
...
...
@@ -122,6 +123,7 @@ const AddInfo = (props: any) => {
orderTime
:
basicsData
.
orderTime
,
moneyPayWay
:
basics
.
moneyPayWay
,
payWay
:
basicsData
.
payWay
,
payParam
:
basicsData
.
payParam
,
sourceType
:
basicsData
.
sourceType
,
moneyPayChannel
:
basics
.
moneyPayChannel
,
expectPayTime
:
moment
(
basicsData
.
expectPayTime
),
...
...
src/pages/contract/funds/editbill/index.tsx
View file @
6c24702b
...
...
@@ -45,10 +45,7 @@ const Editbill: React.FC<{}> = (props: any) => {
const
submit
=
async
()
=>
{
const
basicsVO
=
await
currentBasic
.
current
.
get
();
const
detailList
=
await
Object
.
keys
(
detailData
.
current
).
length
!=
0
?
await
detailData
.
current
.
get
()
:
[];
let
msg
=
message
.
loading
({
content
:
'正在操作'
,
duration
:
0
,
});
let
data
=
{
basics
:
basicsVO
.
data
,
detailList
:
detailList
,
...
...
@@ -61,8 +58,13 @@ const Editbill: React.FC<{}> = (props: any) => {
history
.
push
(
'/memberCenter/contract/funds/addbill'
)
}
}).
finally
(()
=>
{
msg
();
}).
catch
((
err
)
=>
{
// resolve([]);
});
setTimeout
(()
=>
{
setLoading
(
false
);
},
2000
)
}
}
...
...
src/pages/contract/funds/submitpayment/index.tsx
View file @
6c24702b
...
...
@@ -97,6 +97,8 @@ const Submitpayment: React.FC<{}> = () => {
...
params
,
}).
then
(
res
=>
{
resolve
(
res
.
data
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
})
...
...
src/pages/contract/manage/QueryList/index.tsx
View file @
6c24702b
...
...
@@ -205,6 +205,8 @@ const QueryList = () => {
}
}).
finally
(()
=>
{
msg
();
}).
catch
((
err
)
=>
{
// reject();
});
};
...
...
src/pages/contract/manage/add/contracAdd.tsx
View file @
6c24702b
import
React
,
{
useState
,
useRef
,
useEffect
}
from
'react'
import
{
Button
,
Card
,
Tabs
,
message
}
from
'antd'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
Information
from
'./components/
i
nformation'
import
Information
from
'./components/
I
nformation'
import
FormList
from
'./components/FormList'
import
Fromtable
from
'./components/fromtable'
import
ContractText
from
'./components/
c
ontractText'
import
ContractText
from
'./components/
C
ontractText'
import
{
PublicApi
}
from
'@/services/api'
;
import
{
history
}
from
'umi'
import
{
...
...
src/pages/contract/manage/details/index.tsx
View file @
6c24702b
...
...
@@ -121,7 +121,9 @@ const Details = (props: any) => {
setcontractAbstract
(
contractAbstract
)
setcontractNo
(
basics
.
contractNo
)
}
})
}).
catch
((
err
)
=>
{
});
}
const
onDownload
=
(
file
:
any
)
=>
{
window
.
location
.
href
=
`/api/contract/contractTemplate/downloadContract?contractName=
${
file
.
contractName
}
&contractUrl=
${
file
.
contractUrl
}
`
...
...
@@ -248,7 +250,9 @@ const Details = (props: any) => {
setbidAmount
(
bidAmount
)
setListData
(
res
.
data
.
data
)
setassociatedCategory
(
res
.
data
.
data
[
0
].
setassociatedCategory
)
})
}).
catch
((
err
)
=>
{
});
}
// 展开/收起的回调
const
onExpand
=
expandedKeys
=>
{
...
...
src/pages/contract/manage/editing/components/information.tsx
View file @
6c24702b
...
...
@@ -30,7 +30,8 @@ const Information = (props: any) => {
attrValueForm
.
setFieldsValue
(
basic
)
}
})
}).
catch
((
err
)
=>
{
});
}
else
{
attrValueForm
.
setFieldsValue
(
basic
)
}
...
...
src/pages/contract/manage/editing/index.tsx
View file @
6c24702b
...
...
@@ -3,10 +3,10 @@ import { Button, Card, Tabs, Form } from 'antd'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PublicApi
}
from
'@/services/api'
;
import
{
history
}
from
'umi'
import
Information
from
'./components/
i
nformation'
import
Information
from
'./components/
I
nformation'
import
FormList
from
'./components/FormList'
;
import
Fromtable
from
'./components/Fromtable'
import
ContractText
from
'./components/
c
ontractText'
import
ContractText
from
'./components/
C
ontractText'
import
{
SaveOutlined
,
}
from
'@ant-design/icons'
...
...
@@ -42,7 +42,9 @@ const Editing: React.FC<{}> = (props: any) => {
setpayPlanList
(
payPlanList
)
setcontractText
(
contractText
)
}
})
}).
catch
((
err
)
=>
{
});
}
/* 查询购物料 */
const
getMaterielList
=
()
=>
{
...
...
@@ -54,7 +56,9 @@ const Editing: React.FC<{}> = (props: any) => {
if
(
res
.
code
===
1000
)
{
setpurchaseMaterielList
(
res
.
data
.
data
)
}
})
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
});
}
useEffect
(()
=>
{
getDetail
();
...
...
@@ -87,7 +91,9 @@ const Editing: React.FC<{}> = (props: any) => {
}
else
{
setbtnType
(
false
)
}
}))
})).
catch
((
err
)
=>
{
console
.
log
(
err
)
});
}
}
...
...
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