Commit 868770c1aa34eab31fdc12fac8bfd5400d4a8219
1 parent
2d631337
修改门店显示
Showing
2 changed files
with
4 additions
and
4 deletions
src/pages/order3/RetailTaskConfiguration/api.ts
src/pages/order3/RetailTaskConfiguration/components/List.tsx
1 | -import React, { useState } from "react"; | |
1 | +import React from "react"; | |
2 | 2 | import { message, Popconfirm, Table, Space } from "antd"; |
3 | -import moment from "moment"; | |
4 | 3 | import { useStore } from '../index'; |
5 | 4 | import { fetchDeleteConfigApi, List } from '../api'; |
6 | 5 | import { isNil } from 'lodash'; |
... | ... | @@ -41,8 +40,8 @@ export default function TableList() { |
41 | 40 | <Column |
42 | 41 | title="适用门店" |
43 | 42 | align="left" |
44 | - dataIndex="shopList" | |
45 | - render={(_text, record) => <span onClick={() => handleLookShop(record)} style={{color: "#4189FD"}}>查看</span>} | |
43 | + dataIndex="displayName" | |
44 | + render={(_text, record) => <span onClick={() => handleLookShop(record)} style={{color: "#4189FD"}}>{_text}</span>} | |
46 | 45 | /> |
47 | 46 | <Column |
48 | 47 | title="线索到店零售台数占比" | ... | ... |