Commit 0b03c0f7 authored by beisir's avatar beisir

fix: 提交并继续添加重置表单

parent 3f82ac25
...@@ -388,8 +388,10 @@ class goodsManage extends Component { ...@@ -388,8 +388,10 @@ class goodsManage extends Component {
colorImg: {}, // 一级规格是颜色时,color: [imgList] colorImg: {}, // 一级规格是颜色时,color: [imgList]
initForm: {}, // 返显 initForm: {}, // 返显
confirmLoading: false, confirmLoading: false,
initCascader: null,
}); });
this.props.form.resetFields(); this.props.form.resetFields();
this.BatchSetting.props.form.resetFields();
return; return;
} }
this.onCancel(); this.onCancel();
...@@ -532,6 +534,7 @@ class goodsManage extends Component { ...@@ -532,6 +534,7 @@ class goodsManage extends Component {
style={{ width: 690 }} style={{ width: 690 }}
changeOnSelect changeOnSelect
showSearch showSearch
placeholder="请输入商品名称"
fieldNames={{ label: 'name', value: 'id', children: 'children' }} fieldNames={{ label: 'name', value: 'id', children: 'children' }}
options={treeDataArray} options={treeDataArray}
onChange={(val, label, ext) => this.treeChange(val, label, ext)} onChange={(val, label, ext) => this.treeChange(val, label, ext)}
......
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