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
6bcc8a1e
Commit
6bcc8a1e
authored
Dec 14, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理新增货品下无品类的状态
parent
d55cee85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
addGoods.tsx
src/pages/commodity/goods/addGoods.tsx
+4
-4
index.tsx
src/pages/transaction/components/orderSaleRecord/index.tsx
+3
-1
No files found.
src/pages/commodity/goods/addGoods.tsx
View file @
6bcc8a1e
...
...
@@ -127,10 +127,10 @@ const AddGoods = () => {
title=
{
queryId
?
`${isSee?'查看货品':'编辑货品'}`
:
'新建货品'
}
>
<
Card
>
<
Form
{
...
layout
}
<
Form
{
...
layout
}
form=
{
form
}
name=
"add-goods"
name=
"add-goods"
onFinish=
{
onFinish
}
colon=
{
false
}
autoComplete=
"off"
...
...
@@ -224,7 +224,7 @@ const AddGoods = () => {
options=
{
customerCategoryTree
}
fieldNames=
{
{
label
:
'title'
,
value
:
'id'
,
children
:
'children'
}
}
placeholder=
"请选择品类"
notFoundContent=
{
<
Spin
size=
"small"
/>
}
//
notFoundContent={<Spin size="small" />}
/>
</
Form
.
Item
>
<
Form
.
Item
...
...
src/pages/transaction/components/orderSaleRecord/index.tsx
View file @
6bcc8a1e
...
...
@@ -314,7 +314,9 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
onOk
()
{
PublicApi
.
postOrderReceiptOrderContinueShipping
({
orderId
:
data
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
()
setTimeout
(()
=>
{
history
.
goBack
()
},
1000
)
}
})
},
...
...
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