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
480e8e72
Commit
480e8e72
authored
Jul 02, 2021
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: getAuth更新
parent
09476c72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
61 deletions
+63
-61
info.tsx
src/pages/contract/funds/addbill/components/info.tsx
+2
-1
index.less
src/pages/transaction/goodsOffer/components/index.less
+57
-58
add.tsx
...ages/transaction/purchaseAbility/offter/addOffter/add.tsx
+2
-1
add.tsx
...action/purchaseAbility/purchaseInquiry/addInquiry/add.tsx
+2
-1
No files found.
src/pages/contract/funds/addbill/components/info.tsx
View file @
480e8e72
...
...
@@ -16,6 +16,7 @@ import { PublicApi } from '@/services/api';
const
{
Option
}
=
Select
;
import
{
Schema
}
from
"./schema"
import
style
from
'../../../constants/styles.less'
import
{
getAuth
}
from
'@/utils/auth'
;
const
AddInfo
=
(
props
:
any
)
=>
{
const
{
currentRef
,
getcontractId
,
sourceType
,
paymentId
}
=
props
;
...
...
@@ -180,7 +181,7 @@ const AddInfo = (props: any) => {
})
setTag
(
tagList
)
getcontractId
({
flag
:
sourceType
==
1
||
sourceType
==
2
?
false
:
true
,
selectRow
})
const
auth
=
JSON
.
parse
(
localStorage
.
getItem
(
'auth'
)
);
const
auth
=
getAuth
(
);
setaccount
(
auth
.
account
);
setBasics
(
basicsData
)
attrValueForm
.
setFieldsValue
(
basicsData
);
...
...
src/pages/transaction/goodsOffer/components/index.less
View file @
480e8e72
.item_wrap {
margin-bottom: 24px;
background-color: #FFF;
border-radius: 8px;
padding: 24px;
&:last-child {
margin-bottom: 0px;
}
.mainCol_title {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #303133;
padding: 0px 0 20px;
}
:global {
.ant-tabs-nav {
&::before {
border-bottom-color: #FFF;
}
}
}
}
.header {
:global {
.ant-page-header {
padding: 24px 24px !important;
}
}
}
.upload_item {
width: 498px;
padding: 5px 8px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #FAFBFC;
.upload_left {
display: flex;
align-items: center;
color: #00B37A;
cursor: pointer;
:global {
.anticon-link {
color: #00B37A;
font-size: 16px;
margin-right: 8px;
}
}
}
}
@import "../../../member/components/index.less";
\ No newline at end of file
.item_wrap {
margin-bottom: 24px;
background-color: #FFF;
border-radius: 8px;
padding: 24px;
&:last-child {
margin-bottom: 0px;
}
.mainCol_title {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #303133;
padding: 0px 0 20px;
}
:global {
.ant-tabs-nav {
&::before {
border-bottom-color: #FFF;
}
}
}
}
.header {
:global {
.ant-page-header {
padding: 24px 24px !important;
}
}
}
.upload_item {
width: 498px;
padding: 5px 8px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #FAFBFC;
.upload_left {
display: flex;
align-items: center;
color: #00B37A;
cursor: pointer;
:global {
.anticon-link {
color: #00B37A;
font-size: 16px;
margin-right: 8px;
}
}
}
}
@import "../../../member/components/index.less";
src/pages/transaction/purchaseAbility/offter/addOffter/add.tsx
View file @
480e8e72
...
...
@@ -8,6 +8,7 @@ import Basic from './components/basic';
import
Offer
from
'./components/offer'
;
import
Explain
from
'./components/explain'
;
import
File
from
'./components/file'
;
import
{
getAuth
}
from
'@/utils/auth'
;
const
{
TabPane
}
=
Tabs
;
...
...
@@ -93,7 +94,7 @@ const AddForm = () => {
},
[])
const
handleSubmit
=
async
()
=>
{
const
{
memberId
,
memberRoleId
,
name
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'auth'
)
);
const
{
memberId
,
memberRoleId
,
name
}
=
getAuth
(
);
const
basicRef
=
await
currentBasic
.
current
.
get
();
const
explainRef
=
await
currentExplain
.
current
.
get
();
const
offerRef
=
await
currentOffer
.
current
.
get
();
...
...
src/pages/transaction/purchaseAbility/purchaseInquiry/addInquiry/add.tsx
View file @
480e8e72
...
...
@@ -13,6 +13,7 @@ import {
GetPurchasePurchaseInquiryDetailsResponse
}
from
'@/services/PurchaseApi/id4177'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
getAuth
}
from
'@/utils/auth'
;
const
{
TabPane
}
=
Tabs
;
...
...
@@ -26,7 +27,7 @@ const TabFormErrors = (props) => {
const
AddForm
=
()
=>
{
const
{
id
,
number
}
=
history
.
location
.
query
;
const
{
memberId
,
memberRoleId
,
name
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'auth'
)
);
const
{
memberId
,
memberRoleId
,
name
}
=
getAuth
(
);
/** 基本信息 */
const
[
basic
,
setBasic
]
=
useState
<
any
>
({});
/** 添加采购物料 */
...
...
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