stock.js
2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/**
* on stock page store
* @author: wsl <shuiling.wang@yoho.cn>
* @date: 2017/07/13
*/
export default function() {
return {
tableCols: [
{
title: '商品编号',
key: 'productSkn',
align: 'center'
},
{
title: '产品名称',
key: 'productName',
align: 'center'
},
{
title: '厂家编号',
key: 'supplierSku',
align: 'center',
},
{
title: '请购类型',
key: 'sellTypeName',
align: 'center',
},
{
title: '初期数量',
key: 'supplier90Sell',
align: 'center'
},
{
title: '进货数量',
key: 'supplier11Sell',
align: 'center'
},
{
title: '销售数量',
key: 'supplier30Sell',
align: 'center'
},
{
title: '销退数量',
key: 'supplier33Sell',
align: 'center'
},
{
title: '退供应商数量',
key: 'supplier10Sell',
align: 'center'
},
{
title: '其他出库数量',
key: 'supplier60Sell',
align: 'center'
},
{
title: '地面店出库数量',
key: 'supplier70Sell',
align: 'center',
width: 150
},
{
title: '地面店入库数量',
key: 'supplier71Sell',
align: 'center',
width: 150
},
{
title: '期末库存数量',
key: 'supplier100Sell',
align: 'center'
},
{
title: '库房',
key: 'supplierName',
align: 'center'
}
],
tableData: [],
pageData: {
total: 0,
pageNo: 1,
pageSize: 20
},
curDay: Math.round(new Date().getTime() / 1000)
};
}