Commit 70bceed1 authored by 张子雨's avatar 张子雨

feat: 优化

parent 93e08b26
......@@ -50,7 +50,7 @@ export const columns = props => [
key: 'balanceBackFlag',
dataIndex: 'balanceBackFlag',
align: 'center',
render: _ => (_ ? '' : ''),
render: _ => (_ ? '正常' : '已收回'),
},
{
title: '是否消费限额',
......
......@@ -122,6 +122,7 @@ const StoreManagement = () => {
setSelectedRows([]);
break;
case 'rechargeDetails':
setGenerateLog([]);
setRechargeDetailsVisible(false);
break;
default:
......
......@@ -50,7 +50,7 @@ const AddModal = props => {
label: item.shopName,
}));
setOptions(optionData);
getSelectedList();
// getSelectedList();
}
};
......@@ -66,7 +66,7 @@ const AddModal = props => {
<Form.Item label="企业名称">
<span>{name}</span>
</Form.Item>
<Form.Item label="添加微店" name="shopIds" initialValue={selectList}>
<Form.Item label="添加微店" name="shopIds">
<Select
mode="multiple"
allowClear
......
......@@ -99,7 +99,7 @@ export const columns = props => [
align: 'center',
key: 'option',
render: (_, row) => (
<Button type="link" disabled={row?.pickselfName?.length} onClick={() => props.delShop(row)}>
<Button type="link" disabled={row?.pickNameList?.length} onClick={() => props.delShop(row)}>
删除
</Button>
),
......
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