Authored by 陈峰

Merge branch 'feature/statisticsExport' into 'master'

Feature/statistics export

修改

See merge request !74
@@ -8,8 +8,9 @@ @@ -8,8 +8,9 @@
8 <p class="tip">*该功能提供整体库存情况查询、JIT合作模式库存维护请使用[仓库管理-JIT可调拨库存]</p> 8 <p class="tip">*该功能提供整体库存情况查询、JIT合作模式库存维护请使用[仓库管理-JIT可调拨库存]</p>
9 <dl> 9 <dl>
10 <dt class="bold">可售库存范畴:</dt> 10 <dt class="bold">可售库存范畴:</dt>
11 - <dd><label class="normal">仓库可售库存:</label>正常可以售卖的商品数量</dd>  
12 - <dd><label class="normal">JIT可调拨库存:</label>JIT合作模式使用,供应商可供销售调拨的商品库存数</dd> 11 + <dd><label class="normal">可售库存:</label>前台可以进行售卖的商品数量。可售库存可理解为:可卖货位+JIT库存-占用库存</dd>
  12 + <dd><label class="normal">JIT库存:</label>JIT合作模式中,供应商自己维护的商品库存,商品销售调拨进入有货仓库之后,会被扣减</dd>
  13 + <dd><label class="normal">可卖货位:</label>在有货仓库中,纳入可售范畴的货位上的商品数量。商品寄出后,会有相应库存扣减</dd>
13 </dl> 14 </dl>
14 <dl> 15 <dl>
15 <dt class="bold">不可售库存范畴:</dt> 16 <dt class="bold">不可售库存范畴:</dt>
@@ -18,9 +19,6 @@ @@ -18,9 +19,6 @@
18 <dd><label class="normal">残次货位:</label>商品有质量问题,不可售卖</dd> 19 <dd><label class="normal">残次货位:</label>商品有质量问题,不可售卖</dd>
19 <dd><label class="normal">不可售(其他):</label>商品借出拍摄、测量或被有货其他渠道销售占用的库存等,不可在有货平台售卖,具体情况可联系品牌经理进行查询</dd> 20 <dd><label class="normal">不可售(其他):</label>商品借出拍摄、测量或被有货其他渠道销售占用的库存等,不可在有货平台售卖,具体情况可联系品牌经理进行查询</dd>
20 </dl> 21 </dl>
21 - <dl>  
22 - <dd><label class="bold">库存总计:</label>全部商品库存的数量。其中,<span class="bold">可售库存,即作为商品在前台用于销售的库存,是有货仓库的可售库存和JIT可调拨库存的总和</span></dd>  
23 - </dl>  
24 </div> 22 </div>
25 23
26 <div slot="footer" style="textAlign: center;"> 24 <div slot="footer" style="textAlign: center;">
@@ -75,9 +73,10 @@ export default { @@ -75,9 +73,10 @@ export default {
75 padding-top: 10px; 73 padding-top: 10px;
76 padding-bottom: 10px; 74 padding-bottom: 10px;
77 box-sizing: border-box; 75 box-sizing: border-box;
  76 + font-size: 13px;
78 border-bottom: 1px solid #e9eaec; 77 border-bottom: 1px solid #e9eaec;
79 78
80 - &:nth-child(4) { 79 + &:nth-child(3) {
81 border-bottom: none; 80 border-bottom: none;
82 } 81 }
83 } 82 }
@@ -35,16 +35,21 @@ export default function() { @@ -35,16 +35,21 @@ export default function() {
35 }, 35 },
36 }, 36 },
37 { 37 {
38 - title: '仓库可售库存', 38 + title: '可售库存',
39 key: 'total', 39 key: 'total',
40 align: 'center' 40 align: 'center'
41 }, 41 },
42 { 42 {
43 - title: 'JIT可调拨库存(可售)', 43 + title: 'jit库存',
44 key: 'jitVirtual', 44 key: 'jitVirtual',
45 align: 'center' 45 align: 'center'
46 }, 46 },
47 { 47 {
  48 + title: '可卖货位',
  49 + key: 'shiftLogs',
  50 + align: 'center'
  51 + },
  52 + {
48 title: '订单占用', 53 title: '订单占用',
49 key: 'orderBuy', 54 key: 'orderBuy',
50 align: 'center' 55 align: 'center'
@@ -63,19 +68,6 @@ export default function() { @@ -63,19 +68,6 @@ export default function() {
63 title: '仓库不可售(其他)', 68 title: '仓库不可售(其他)',
64 key: 'otherStorage', 69 key: 'otherStorage',
65 align: 'center' 70 align: 'center'
66 - },  
67 - {  
68 - title: '库存总计',  
69 - key: 'total',  
70 - align: 'center',  
71 - render: (h, params) => {  
72 - return (  
73 - <span>{params.row.total + params.row.jitVirtual +  
74 - params.row.orderBuy + params.row.returnSupplier +  
75 - params.row.defective + params.row.otherStorage}  
76 - (可售:{params.row.total + params.row.jitVirtual})</span>  
77 - );  
78 - },  
79 }], 71 }],
80 tableData: [], 72 tableData: [],
81 pageData: { 73 pageData: {