Commit 8e92e159 authored by 张子雨's avatar 张子雨

feat: 门店反显

parent 565a2a42
...@@ -352,7 +352,6 @@ class BusinessInfo extends Component { ...@@ -352,7 +352,6 @@ class BusinessInfo extends Component {
} }
onChangeBusinessModel = e => { onChangeBusinessModel = e => {
console.log('....');
this.getCategoryList(e); this.getCategoryList(e);
this.props.form.setFieldsValue({ this.props.form.setFieldsValue({
mainCategoryId: '', mainCategoryId: '',
......
...@@ -246,11 +246,9 @@ const StoreModal = props => { ...@@ -246,11 +246,9 @@ const StoreModal = props => {
item.disabled = !productBusiness.includes(item.value); item.disabled = !productBusiness.includes(item.value);
if (existTakewayShop && item.value === 1 && !val) { if (existTakewayShop && item.value === 1 && !val) {
item.disabled = true; item.disabled = true;
} else {
item.disabled = false;
} }
}); });
console.log(data, '.........');
setBusinessModel(data); setBusinessModel(data);
if (info && info.id) { if (info && info.id) {
info.week = info.businessHours.weeks; info.week = info.businessHours.weeks;
......
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