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

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

parent d55cee85
......@@ -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
......
......@@ -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)
}
})
},
......
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