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
51abf76e
Commit
51abf76e
authored
Aug 21, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换所有未填字段为空状态显示
parent
5ce88410
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
15 deletions
+21
-15
auditDetail.tsx
src/pages/member/components/auditDetail.tsx
+1
-1
index.tsx
src/pages/member/memberImport/index.tsx
+1
-1
index.tsx
src/pages/member/memberMaintain/index.tsx
+1
-1
PositionSetting.tsx
src/pages/repositories/components/PositionSetting.tsx
+1
-1
index.tsx
src/pages/repositories/schema/index.tsx
+4
-0
addBillsType.tsx
...s/transaction/stockSellStorage/billsType/addBillsType.tsx
+1
-1
addWarehouse.tsx
...s/transaction/stockSellStorage/warehouse/addWarehouse.tsx
+1
-1
LoginWrap.tsx
src/pages/user/components/LoginWrap.tsx
+11
-9
No files found.
src/pages/member/components/auditDetail.tsx
View file @
51abf76e
...
...
@@ -521,7 +521,7 @@ const auditDetail: React.FC<ItemProps> = (props: any) => {
destroyOnClose
>
<
NiceForm
previewPlaceholder=
"
loading...
"
previewPlaceholder=
"
' '
"
effects=
{
(
$
,
{
setFieldState
})
=>
{
FormEffectHooks
.
onFieldValueChange$
(
'agree'
).
subscribe
(
state
=>
{
setFieldState
(
'reason'
,
targetState
=>
{
...
...
src/pages/member/memberImport/index.tsx
View file @
51abf76e
...
...
@@ -308,7 +308,7 @@ const memberMaintain: React.FC<[]> = () => {
destroyOnClose
>
<
NiceForm
previewPlaceholder=
"
loading...
"
previewPlaceholder=
"
' '
"
effects=
{
(
$
,
{
setFieldState
})
=>
{
FormEffectHooks
.
onFieldValueChange$
(
'agree'
).
subscribe
(
state
=>
{
setFieldState
(
'reason'
,
targetState
=>
{
...
...
src/pages/member/memberMaintain/index.tsx
View file @
51abf76e
...
...
@@ -289,7 +289,7 @@ const memberMaintain: React.FC<[]> = () => {
destroyOnClose
>
<
NiceForm
previewPlaceholder=
"
loading...
"
previewPlaceholder=
"
' '
"
effects=
{
(
$
,
{
setFieldState
})
=>
{
FormEffectHooks
.
onFieldValueChange$
(
'agree'
).
subscribe
(
state
=>
{
setFieldState
(
'reason'
,
targetState
=>
{
...
...
src/pages/repositories/components/PositionSetting.tsx
View file @
51abf76e
...
...
@@ -221,7 +221,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
return
(
<>
<
NiceForm
previewPlaceholder=
'
loading...
'
previewPlaceholder=
'
'
'
'
editable=
{
pageStatus
!==
PageStatus
.
PREVIEW
}
initialValues=
{
initValue
}
expressionScope=
{
{
...
...
src/pages/repositories/schema/index.tsx
View file @
51abf76e
...
...
@@ -133,6 +133,10 @@ export const repositMoreSchema: ISchema = {
{
required
:
true
,
message
:
'请输入仓位名称'
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
60
}
],
title
:
'仓位名称'
,
...
...
src/pages/transaction/stockSellStorage/billsType/addBillsType.tsx
View file @
51abf76e
...
...
@@ -59,7 +59,7 @@ const AddWarehouse: React.FC<{}> = props => {
>
<
Card
>
<
NiceForm
previewPlaceholder=
"
loading...
"
previewPlaceholder=
"
' '
"
editable=
{
pageStatus
!==
PageStatus
.
PREVIEW
}
effects=
{
$
=>
{}
}
initialValues=
{
initValue
}
...
...
src/pages/transaction/stockSellStorage/warehouse/addWarehouse.tsx
View file @
51abf76e
...
...
@@ -66,7 +66,7 @@ const AddWarehouse: React.FC<{}> = (props: any) => {
>
<
Card
>
<
NiceForm
previewPlaceholder=
"
loading...
"
previewPlaceholder=
"
' '
"
editable=
{
pageStatus
!==
PageStatus
.
PREVIEW
}
effects=
{
(
$
,
{
setFieldState
})
=>
{
$
(
'onFormMount'
).
subscribe
(
state
=>
{
...
...
src/pages/user/components/LoginWrap.tsx
View file @
51abf76e
...
...
@@ -16,15 +16,17 @@ const LoginWrap: React.FC = () => {
const
finish
=
(
value
:
any
)
=>
{
PublicApi
.
postMemberLogin
(
value
).
then
(
res
=>
{
const
{
data
}
=
res
setAuth
({
memberId
:
data
.
memberId
,
userId
:
data
.
userId
,
token
:
data
.
token
})
setRouters
(
data
.
urls
)
// 此处需使用href跳转, 否则无法触发app.ts中的路由初始化校验
window
.
location
.
href
=
'/memberCenter/home'
const
{
data
,
code
}
=
res
if
(
code
===
1000
)
{
setAuth
({
memberId
:
data
.
memberId
,
userId
:
data
.
userId
,
token
:
data
.
token
})
setRouters
(
data
.
urls
)
// 此处需使用href跳转, 否则无法触发app.ts中的路由初始化校验
window
.
location
.
href
=
'/memberCenter/home'
}
})
}
...
...
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