stock.js 2.32 KB
/**
 * 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)
    };
}