Commit 8ba34eb5 authored by 武广's avatar 武广

fix: 去掉无用代码

parent 1aa6a80d
...@@ -346,11 +346,6 @@ class goodsManage extends Component { ...@@ -346,11 +346,6 @@ class goodsManage extends Component {
} }
}; };
serviceVisbleOpen = () => {
console.log('============>open');
this.serviceVisbleClose(true);
};
serviceVisbleClose = (flag, refresh) => { serviceVisbleClose = (flag, refresh) => {
this.setState({ this.setState({
serviceVisble: flag, serviceVisble: flag,
...@@ -380,6 +375,13 @@ class goodsManage extends Component { ...@@ -380,6 +375,13 @@ class goodsManage extends Component {
> >
新增商品 新增商品
</Button> </Button>
<Button
type="primary"
className={styles.button}
onClick={() => this.serviceVisbleClose(true)}
>
新增服务类商品
</Button>
<Card> <Card>
<SearchForm <SearchForm
handleSearch={this.handleSearch} handleSearch={this.handleSearch}
...@@ -394,7 +396,6 @@ class goodsManage extends Component { ...@@ -394,7 +396,6 @@ class goodsManage extends Component {
// addSpu={() => this.setState({ createVisible: true, initData: {} })} // addSpu={() => this.setState({ createVisible: true, initData: {} })}
selectNum={selectedRowKeys.length} selectNum={selectedRowKeys.length}
setArea={(isALL, type) => this.setArea(isALL, type)} setArea={(isALL, type) => this.setArea(isALL, type)}
serviceVisbleOpen={this.serviceVisbleOpen}
/> />
</Card> </Card>
<Spin spinning={this.state.loading}> <Spin spinning={this.state.loading}>
......
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