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
9c1079bc
Commit
9c1079bc
authored
Apr 22, 2022
by
wzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 进销存bug修改
parent
ab6b380b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
4 deletions
+10
-4
index.less
src/components/FormDetailHeader/index.less
+4
-3
useFormDetail.tsx
src/formSchema/effects/useFormDetail.tsx
+1
-1
reset.less
src/global/styles/reset.less
+1
-0
index.tsx
...ion/stockSellStorage/bills/components/BillsForm/index.tsx
+3
-0
index.ts
...ockSellStorage/bills/components/BillsForm/schema/index.ts
+1
-0
No files found.
src/components/FormDetailHeader/index.less
View file @
9c1079bc
...
@@ -37,9 +37,10 @@
...
@@ -37,9 +37,10 @@
.ant-row {
.ant-row {
.ant-col-2 {
.ant-col-2 {
.ant-btn {
.ant-btn {
position: absolute;
// position: absolute;
top: 0;
// top: 0;
right: 0;
// right: 0;
margin-bottom: 8px;
}
}
}
}
}
}
...
...
src/formSchema/effects/useFormDetail.tsx
View file @
9c1079bc
...
@@ -77,7 +77,7 @@ export const useFormDetail = () => {
...
@@ -77,7 +77,7 @@ export const useFormDetail = () => {
FormEffectHooks
.
onFieldValueChange$
(
element
).
subscribe
(
state
=>
{
FormEffectHooks
.
onFieldValueChange$
(
element
).
subscribe
(
state
=>
{
// 过滤出title字符串
// 过滤出title字符串
const
_graphKeys
=
Object
.
keys
(
ctx
.
getFormGraph
())
const
_graphKeys
=
Object
.
keys
(
ctx
.
getFormGraph
())
const
_hasKeyIndex
=
_graphKeys
.
findIndex
(
item
=>
item
.
indexOf
(
'products'
)
!==
-
1
)
const
_hasKeyIndex
=
_graphKeys
.
findIndex
(
item
=>
item
.
indexOf
(
element
)
!==
-
1
)
if
(
_hasKeyIndex
>=
0
)
{
if
(
_hasKeyIndex
>=
0
)
{
setCountAmountMap
(()
=>
({
setCountAmountMap
(()
=>
({
...
countAmountMap
,
...
countAmountMap
,
...
...
src/global/styles/reset.less
View file @
9c1079bc
...
@@ -350,6 +350,7 @@
...
@@ -350,6 +350,7 @@
.ant-btn-link {
.ant-btn-link {
white-space: normal !important;
white-space: normal !important;
padding-left: unset !important;
}
}
...
...
src/pages/transaction/stockSellStorage/bills/components/BillsForm/index.tsx
View file @
9c1079bc
...
@@ -332,6 +332,9 @@ const BillsForm: React.FC<BillsFormProps> = ({
...
@@ -332,6 +332,9 @@ const BillsForm: React.FC<BillsFormProps> = ({
});
});
// 注入表单完成进度
// 注入表单完成进度
formContext
.
useAttachmentChangeForContext
(
actions
);
formContext
.
useAttachmentChangeForContext
(
actions
);
formContext
.
useAnchorCountChangeForContext
(
actions
,
[
'invoicesDetailsDTOList'
,
]);
}
}
}
}
onSubmit=
{
handleSubmit
}
onSubmit=
{
handleSubmit
}
actions=
{
addSchemaAction
}
actions=
{
addSchemaAction
}
...
...
src/pages/transaction/stockSellStorage/bills/components/BillsForm/schema/index.ts
View file @
9c1079bc
...
@@ -176,6 +176,7 @@ const DocumentDetail: ISchema = {
...
@@ -176,6 +176,7 @@ const DocumentDetail: ISchema = {
'x-component-props'
:
{
'x-component-props'
:
{
id
:
'DocumentDetail'
,
id
:
'DocumentDetail'
,
title
:
intl
.
formatMessage
({
id
:
'stockSellStorage.danjumingxi'
}),
title
:
intl
.
formatMessage
({
id
:
'stockSellStorage.danjumingxi'
}),
showTotal
:
true
,
},
},
properties
:
{
properties
:
{
MEGA_LAYOUT2
:
{
MEGA_LAYOUT2
:
{
...
...
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