Authored by 李奇

组件目录重构对应

import CellImage from './cell-image';
import CellInfo from './cell-info';
import CellPrice from './cell-price';
import CellDeliver from './cell-deliver';
import CellDispatch from './cell-dispatch';
import CellPrdInfo from './cell-prd-info';
import CellStockOut from './cell-stock-out';
export {
CellImage,
CellInfo,
CellPrice
CellPrice,
CellDeliver,
CellDispatch,
CellPrdInfo,
CellStockOut
};
... ...
import SizeEdit from './size-edit';
import UploadStockOut from './size-edit';
export {
SizeEdit
SizeEdit,
UploadStockOut
};
... ...
import OutStock from './out-stock';
export {
OutStock
};
import CellInfo from './cell-info';
import CellDispatch from './cell-dispatch';
import CellDeliver from './cell-deliver';
import CellStockOut from './cell-stock-out';
export {
CellInfo,
CellDispatch,
CellDeliver,
CellStockOut
};
<template>
<LayoutBody>
<LayoutTab>
<Tabs :value="activate" animated="false" @on-click="switchTab">
<Tabs :value="activate" :animated="false" @on-click="switchTab">
<Tab-pane :label="tab1.label" :name="tab1.name"></Tab-pane>
<Tab-pane :label="tab2.label" :name="tab2.name"></Tab-pane>
<Tab-pane :label="tab3.label" :name="tab3.name"></Tab-pane>
... ...
... ... @@ -52,8 +52,8 @@
import moment from 'moment';
import service from 'trade-service';
import Store from '../store/done';
import { OutStock } from 'trade/out-stock'
import { CellInfo, CellDispatch, CellDeliver, CellStockOut } from 'trade/table-cell';
import { OutStock } from 'components/modal'
import { CellPrdInfo, CellDispatch, CellDeliver, CellStockOut } from 'components/cell';
export default {
name: 'TabDone',
... ... @@ -192,7 +192,7 @@
}
},
components: {
CellInfo,
CellPrdInfo,
CellDispatch,
CellDeliver,
CellStockOut,
... ...
... ... @@ -45,7 +45,7 @@
@on-change="pageChange" :page-size="20" show-total></Page>
</LayoutList>
<OutStock></OutStock>
<UploadStockOut></UploadStockOut>
</div>
</template>
... ... @@ -54,8 +54,8 @@
import moment from 'moment';
import service from 'trade-service';
import Store from '../store/undone';
import { OutStock } from 'trade/out-stock'
import { CellInfo, CellDispatch, CellDeliver, CellStockOut } from 'trade/table-cell';
import { UploadStockOut } from 'components/modal'
import { CellPrdInfo, CellDispatch, CellDeliver, CellStockOut } from 'components/cell';
export default {
name: 'TabUndone',
... ... @@ -178,11 +178,11 @@
}
},
components: {
CellInfo,
CellPrdInfo,
CellDispatch,
CellDeliver,
CellStockOut,
OutStock
UploadStockOut
}
};
</script>
... ...
... ... @@ -92,11 +92,11 @@ export default () => {
title: '商品信息',
align: 'center',
render(row){
return `<cell-info
return `<cell-prd-info
:sku="row.productSku"
color="mock"
:size="row.sizeName"
></cell-info>`
></cell-prd-info>`
}
},
{
... ...
... ... @@ -81,11 +81,11 @@ export default () => {
title: '商品信息',
align: 'center',
render(row){
return `<cell-info
return `<cell-prd-info
:sku="row.productSku"
color="mock"
:size="row.sizeName"
></cell-info>`
></cell-prd-info>`
}
},
{
... ...