Commit 6bcc8a1e authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:处理新增货品下无品类的状态

parent d55cee85
...@@ -127,10 +127,10 @@ const AddGoods = () => { ...@@ -127,10 +127,10 @@ const AddGoods = () => {
title={queryId?`${isSee?'查看货品':'编辑货品'}`:'新建货品'} title={queryId?`${isSee?'查看货品':'编辑货品'}`:'新建货品'}
> >
<Card> <Card>
<Form <Form
{...layout} {...layout}
form={form} form={form}
name="add-goods" name="add-goods"
onFinish={onFinish} onFinish={onFinish}
colon={false} colon={false}
autoComplete="off" autoComplete="off"
...@@ -224,7 +224,7 @@ const AddGoods = () => { ...@@ -224,7 +224,7 @@ const AddGoods = () => {
options={customerCategoryTree} options={customerCategoryTree}
fieldNames={{ label: 'title', value: 'id', children: 'children' }} fieldNames={{ label: 'title', value: 'id', children: 'children' }}
placeholder="请选择品类" placeholder="请选择品类"
notFoundContent={<Spin size="small" />} // notFoundContent={<Spin size="small" />}
/> />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
......
...@@ -314,7 +314,9 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => { ...@@ -314,7 +314,9 @@ const OrderSaleRecord:React.FC<OrderSaleRecordProps> = (props) => {
onOk() { onOk() {
PublicApi.postOrderReceiptOrderContinueShipping({orderId: data.id}).then(res => { PublicApi.postOrderReceiptOrderContinueShipping({orderId: data.id}).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
history.goBack() setTimeout(() => {
history.goBack()
}, 1000)
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment