Authored by 李奇

组件目录重构对应

1 import CellImage from './cell-image'; 1 import CellImage from './cell-image';
2 import CellInfo from './cell-info'; 2 import CellInfo from './cell-info';
3 import CellPrice from './cell-price'; 3 import CellPrice from './cell-price';
  4 +import CellDeliver from './cell-deliver';
  5 +import CellDispatch from './cell-dispatch';
  6 +import CellPrdInfo from './cell-prd-info';
  7 +import CellStockOut from './cell-stock-out';
4 8
5 export { 9 export {
6 CellImage, 10 CellImage,
7 CellInfo, 11 CellInfo,
8 - CellPrice 12 + CellPrice,
  13 + CellDeliver,
  14 + CellDispatch,
  15 + CellPrdInfo,
  16 + CellStockOut
9 }; 17 };
1 import SizeEdit from './size-edit'; 1 import SizeEdit from './size-edit';
  2 +import UploadStockOut from './size-edit';
2 3
3 export { 4 export {
4 - SizeEdit 5 + SizeEdit,
  6 + UploadStockOut
5 }; 7 };
1 -import OutStock from './out-stock';  
2 -  
3 -export {  
4 - OutStock  
5 -};  
1 -import CellInfo from './cell-info';  
2 -import CellDispatch from './cell-dispatch';  
3 -import CellDeliver from './cell-deliver';  
4 -import CellStockOut from './cell-stock-out';  
5 -  
6 -export {  
7 - CellInfo,  
8 - CellDispatch,  
9 - CellDeliver,  
10 - CellStockOut  
11 -};  
1 <template> 1 <template>
2 <LayoutBody> 2 <LayoutBody>
3 <LayoutTab> 3 <LayoutTab>
4 - <Tabs :value="activate" animated="false" @on-click="switchTab"> 4 + <Tabs :value="activate" :animated="false" @on-click="switchTab">
5 <Tab-pane :label="tab1.label" :name="tab1.name"></Tab-pane> 5 <Tab-pane :label="tab1.label" :name="tab1.name"></Tab-pane>
6 <Tab-pane :label="tab2.label" :name="tab2.name"></Tab-pane> 6 <Tab-pane :label="tab2.label" :name="tab2.name"></Tab-pane>
7 <Tab-pane :label="tab3.label" :name="tab3.name"></Tab-pane> 7 <Tab-pane :label="tab3.label" :name="tab3.name"></Tab-pane>
@@ -52,8 +52,8 @@ @@ -52,8 +52,8 @@
52 import moment from 'moment'; 52 import moment from 'moment';
53 import service from 'trade-service'; 53 import service from 'trade-service';
54 import Store from '../store/done'; 54 import Store from '../store/done';
55 - import { OutStock } from 'trade/out-stock'  
56 - import { CellInfo, CellDispatch, CellDeliver, CellStockOut } from 'trade/table-cell'; 55 + import { OutStock } from 'components/modal'
  56 + import { CellPrdInfo, CellDispatch, CellDeliver, CellStockOut } from 'components/cell';
57 57
58 export default { 58 export default {
59 name: 'TabDone', 59 name: 'TabDone',
@@ -192,7 +192,7 @@ @@ -192,7 +192,7 @@
192 } 192 }
193 }, 193 },
194 components: { 194 components: {
195 - CellInfo, 195 + CellPrdInfo,
196 CellDispatch, 196 CellDispatch,
197 CellDeliver, 197 CellDeliver,
198 CellStockOut, 198 CellStockOut,
@@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
45 @on-change="pageChange" :page-size="20" show-total></Page> 45 @on-change="pageChange" :page-size="20" show-total></Page>
46 </LayoutList> 46 </LayoutList>
47 47
48 - <OutStock></OutStock> 48 + <UploadStockOut></UploadStockOut>
49 </div> 49 </div>
50 </template> 50 </template>
51 51
@@ -54,8 +54,8 @@ @@ -54,8 +54,8 @@
54 import moment from 'moment'; 54 import moment from 'moment';
55 import service from 'trade-service'; 55 import service from 'trade-service';
56 import Store from '../store/undone'; 56 import Store from '../store/undone';
57 - import { OutStock } from 'trade/out-stock'  
58 - import { CellInfo, CellDispatch, CellDeliver, CellStockOut } from 'trade/table-cell'; 57 + import { UploadStockOut } from 'components/modal'
  58 + import { CellPrdInfo, CellDispatch, CellDeliver, CellStockOut } from 'components/cell';
59 59
60 export default { 60 export default {
61 name: 'TabUndone', 61 name: 'TabUndone',
@@ -178,11 +178,11 @@ @@ -178,11 +178,11 @@
178 } 178 }
179 }, 179 },
180 components: { 180 components: {
181 - CellInfo, 181 + CellPrdInfo,
182 CellDispatch, 182 CellDispatch,
183 CellDeliver, 183 CellDeliver,
184 CellStockOut, 184 CellStockOut,
185 - OutStock 185 + UploadStockOut
186 } 186 }
187 }; 187 };
188 </script> 188 </script>
@@ -92,11 +92,11 @@ export default () => { @@ -92,11 +92,11 @@ export default () => {
92 title: '商品信息', 92 title: '商品信息',
93 align: 'center', 93 align: 'center',
94 render(row){ 94 render(row){
95 - return `<cell-info 95 + return `<cell-prd-info
96 :sku="row.productSku" 96 :sku="row.productSku"
97 color="mock" 97 color="mock"
98 :size="row.sizeName" 98 :size="row.sizeName"
99 - ></cell-info>` 99 + ></cell-prd-info>`
100 } 100 }
101 }, 101 },
102 { 102 {
@@ -81,11 +81,11 @@ export default () => { @@ -81,11 +81,11 @@ export default () => {
81 title: '商品信息', 81 title: '商品信息',
82 align: 'center', 82 align: 'center',
83 render(row){ 83 render(row){
84 - return `<cell-info 84 + return `<cell-prd-info
85 :sku="row.productSku" 85 :sku="row.productSku"
86 color="mock" 86 color="mock"
87 :size="row.sizeName" 87 :size="row.sizeName"
88 - ></cell-info>` 88 + ></cell-prd-info>`
89 } 89 }
90 }, 90 },
91 { 91 {