Bladeren bron

能量模块

groupmealweb
zhaoy 9 maanden geleden
bovenliggende
commit
8fa2cb2ce8
5 gewijzigde bestanden met toevoegingen van 33 en 1 verwijderingen
  1. +7
    -0
      config/routes.js
  2. +8
    -0
      src/app.jsx
  3. +0
    -0
     
  4. +0
    -0
     
  5. +18
    -1
      src/pages/database/goods/newgoods/index.jsx

+ 7
- 0
config/routes.js Bestand weergeven

@@ -186,6 +186,13 @@ export default [
component: './database/goods/goodsattributeprice',
access: 'k7',
},
{
name: '商品能量配置',
icon: 'smile',
path: '/database/goods/energyconfig',
component: './database/goods/energyconfig',
access: 'k7',
},
]
},
],


+ 8
- 0
src/app.jsx Bestand weergeven

@@ -252,6 +252,14 @@ export async function getInitialState() {
component: './database/goods/goodsattributeprice',
access: 'k10',
},
{
code: 'newgoods',
name: '商品能量配置',
icon: 'smile',
path: '/database/goods/energyconfig',
component: './database/goods/energyconfig',
access: 'k10',
},
]
},
]




+ 18
- 1
src/pages/database/goods/newgoods/index.jsx Bestand weergeven

@@ -128,7 +128,7 @@ const GoodsManage = () => {
dataIndex: 'option',
valueType: 'option',
fixed: 'right',
width: 350,
width: 450,
render: (_, record) => [
<a
key="primary"
@@ -201,6 +201,23 @@ const GoodsManage = () => {
>
价格配置
</a>,
<a
key="primary"
type="primary"
onClick={() => {
history.push({
pathname: '/database/goods/energyconfig',
query: {
isAdd: false,
values: record,
},
});
// handleModalVisible(true);
// setCurrentRow(record);
}}
>
能量配置
</a>,
<Popconfirm
type="primary"
key="primary"


Laden…
Annuleren
Opslaan