{"text_format":"2","workbook":"xlsx","n_sheets":3,"sheets":["仓储","仓库设置","Sheet1"],"not_rendered":{"charts":0,"images":7,"macros":0,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"run_cost":"one","rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"仓储","index":0,"n_rows":253,"n_cols":6,"rows_kept":253,"cut":false,"hidden":false,"merged":[[252,0,252,5],[175,1,175,5],[189,1,189,5],[214,1,214,5],[232,0,232,5],[235,0,235,5],[61,1,61,5],[92,1,92,5],[110,1,110,5],[131,1,131,5],[151,1,151,5],[0,1,0,5],[1,1,1,5],[2,1,2,5],[3,1,3,5],[39,1,39,5]]}
[null,"增加单独的库存表；出入库记录中存储当时库存数量；增加库存结算功能。"]
[null,"仓储的操作都是围绕库存进行的，因此库存sid为重要字段，各单据中必须存储。另一个重要字段是商品sid。"]
[null,"旧件专门建立旧件仓，与新件共用数据库表。"]
[null,"wms_inventory(商品库存-台账)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,null,"sid"]
[null,"goodsID","varchar(64)",null,null,"商品ID（唯一编码，入库时生成）"]
[null,"goodSpuSid","varchar(64)",null,null,"商品基础信息Sid"]
[null,"goodsSpuName","varchar(64)",null,null,"商品名称"]
[null,"goodsSkuSid","varchar(64)",null,null,"商品Skusid"]
[null,"goodsSkuTitle","varchar(200)",null,null,"商品Sku名称"]
[null,"goodsSkuCode","varchar(64)",null,null,"商品编码（图号）"]
[null,"goodsSkuOwnSpec","varchar(200)",null,null,"规格型号"]
[null,"billSid","varchar(64)",null,null,"入库单sid"]
[null,"billDetailSid","varchar(64)",null,null,"入库单明细sid"]
[null,"price1","decimal(10,2)",null,null,"销售价格1"]
[null,"price2","decimal(10,2)",null,null,"销售价格2"]
[null,"price3","decimal(10,2)",null,null,"销售价格3"]
[null,"price4","decimal(10,2)",null,null,"销售价格4"]
[null,"price5","decimal(10,2)",null,null,"销售价格5"]
[null,"unit","varchar(64)",null,null,"计量单位"]
[null,"count","decimal(10,2)",null,null,"库存数量"]
[null,"minimumPrice","decimal(10,2)",null,null,"销售底价"]
[null,"freePrice","decimal(10,2)",null,null,"三包价格"]
[null,"firstMaintainPrice","decimal(10,2)",null,null,"首保价格"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouseName","varchar(64)",null,null,"仓库名称"]
[null,"warehouseAreaSid","varchar(64)",null,null,"库区sid"]
[null,"warehouseArea","varchar(64)",null,null,"库区名称"]
[null,"warehouseRackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseRackName","varchar(64)",null,null,"货架名称"]
[null,"isShowDiscount","int",null,null,"是否显示折扣标志"]
[null,"firstInDate","timestamp",null,null,"首次入库日期-计算库龄的依据"]
[null,"lockCount","decimal(10,2)",null,null,"锁定数量，计算字段，出库申请通过，但未实际出库"]
[null,"sortNo","int",null,null,"排序"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_inventory_bill(出入库单据)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"state","int",null,null,"0正常,1作废；申请-审批中-完成-作废"]
[null,"sourceBillSid","varchar(64)",null,null,"来源单sid"]
[null,"billNo","varchar(64)",null,"无","单据编号"]
[null,"billType","varchar(64)",null,null,"单据类型（入库、出库）"]
[null,"createTime","timestamp",null,null,"单据日期"]
[null,"createBySid","varchar(64)",null,null,"制单人"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"busTypeKey","varchar(64)",null,null,"业务类型key（采购入库、维修出入库、销售出入库等）"]
[null,"busTypeValue","varchar(64)",null,null,"业务类型value（采购入库、维修出入库、销售出入库等）"]
[null,"remarks","varchar(100)",null,null,"备注"]
[null,"billObjSid","varchar(64)",null,null,"客户/供应商sid"]
[null,"billObjName","varchar(64)",null,null,"客户/供应商名称"]
[null,"warehouseManagerSid","varchar(64)",null,null,"库管操作人sid"]
[null,"warehouseManager","varchar(64)",null,null,"库管操作人"]
[null,"outTime","timestamp",null,null,"实际出库时间"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_inventory_bill_detail(单据明细)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid","varchar(64)",null,null,"单据sid"]
[null,"goodSpuSid","varchar(64)",null,null,"商品基础信息Sid"]
[null,"goodsSpuName","varchar(64)",null,null,"商品名称"]
[null,"goodsSkuSid","varchar(64)",null,null,"商品Skusid"]
[null,"goodsSkuTitle","varchar(200)",null,null,"商品Sku名称"]
[null,"goodsSkuCode","varchar(64)",null,null,"商品编码（图号）"]
[null,"goodsSkuOwnSpec","varchar(200)",null,null,"规格型号"]
[null,"currentCount","decimal(10,2)",null,null,"出入库后的库存量"]
[null,"unit","varchar(64)",null,null,"计量单位"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouseName","varchar(64)",null,null,"仓库名称"]
[null,"warehouseAreaSid","varchar(64)",null,null,"库区sid"]
[null,"warehouseArea","varchar(64)",null,null,"库区名称"]
[null,"warehouseRackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseRackName","varchar(64)",null,null,"货架名称"]
[null,"cost","decimal(10,2)",null,null,"单位成本（进货价）"]
[null,"count","decimal(10,2)",null,null,"数量（出库为负）"]
[null,"taxAmount","decimal(10,2)",null,null,"税额（出库为负）"]
[null,"taxPrice","decimal(10,2)",null,null,"含税价（出库为负）"]
[null,"amount","decimal(10,2)",null,null,"金额（出库为负）"]
[null,"price1","decimal(10,2)",null,null,"销售价1"]
[null,"price2","decimal(10,2)",null,null,"销售价2"]
[null,"subjectSid","varchar(64)",null,null,"科目sid（出库时）"]
[null,"subject","varchar(64)",null,null,"科目（出库时）"]
[null,"operTime","timestamp",null,null,"操作时间"]
[null,"operUserSid","varchar(64)",null,null,"操作人"]
[]
[]
[null,"wms_inventory_checkbill(库存盘点)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billNo","varchar(64)",null,null,"单据编号"]
[null,"createTime","timestamp",null,null,"制单日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"checkType","varchar(64)",null,null,"盘点类型"]
[null,"checkState","decimal(10,2)",null,null,"盘点状态（盘点中1，盘点完成2）"]
[null,"profitCount","decimal(10,2)",null,null,"盘盈数量"]
[null,"profitAmount","decimal(10,2)",null,null,"盘盈金额"]
[null,"lossCount","decimal(10,2)",null,null,"盘亏数量"]
[null,"lossAmount","decimal(10,2)",null,null,"盈亏金额"]
[null,"remarks","varchar(100)",null,null,"备注"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_inventory_checkbill_detail(库存盘点-明细)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid","varchar(64)",null,null,"盘点单sid"]
[null,"inventorySid","varchar(64)",null,null,"商品库存sid"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouseName","varchar(64)",null,null,"仓库名称"]
[null,"warehouseAreaSid","varchar(64)",null,null,"库区sid"]
[null,"warehouseArea","varchar(64)",null,null,"库区名称"]
[null,"warehouseRackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseRackName","varchar(64)",null,null,"货架名称"]
[null,"taxPrice","decimal(10,2)",null,null,"含税价"]
[null,"bookCount","decimal(10,2)",null,null,"账面数量"]
[null,"realCount","decimal(10,2)",null,null,"实盘数量"]
[null,"state","decimal(10,2)",null,null,"状态（0正常、2盘亏、1盘盈）"]
[{"$nulls":5},"盈亏数（|实盘数量-账面数量|）"]
[{"$nulls":5},"盈亏金额（盈亏数*含税价）"]
[null,"picUrl","varchar（1000）",null,null,"现场照片（多张中间用英文逗号分隔）"]
[null,"remarks","varchar(100)",null,null,"备注"]
[]
[]
[null,"wms_inventory_allocatebill(调拨单)-调出方操作"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billNo","varchar(64)",null,null,"单据编号"]
[null,"createTime","timestamp",null,null,"制单日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"outOrgSid","varchar(64)",null,null,"调出分公司sid"]
[null,"inOrgSid","varchar(64)",null,null,"调入分公司sid"]
[null,"count","decimal(10,2)",null,null,"调拨数量"]
[null,"amount","decimal(10,2)",null,null,"调拨金额"]
[null,"remark","varchar(64)",null,null,"备注"]
[null,"state","int",null,null,"状态（未完成0、已完成1）"]
[null,"confirmSid","varchar(64)",null,null,"确认人sid"]
[null,"confirmName","varchar(64)",null,null,"确认人姓名"]
[null,"finishTime","timestamp",null,null,"完成时间"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_inventory_allocatebill_detail(调拨单-明细)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid",null,null,null,"盘点单sid"]
[null,"inventorySid","varchar(64)",null,null,"商品库存sid"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouseName","varchar(64)",null,null,"仓库名称"]
[null,"warehouseAreaSid","varchar(64)",null,null,"库区sid"]
[null,"warehouseArea","varchar(64)",null,null,"库区名称"]
[null,"warehouseRackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseRackName","varchar(64)",null,null,"货架名称"]
[null,"taxPrice","decimal(10,2)",null,null,"含税价"]
[null,"stockCount","decimal(10,2)",null,null,"库存数量"]
[null,"inWarehouseSid","varchar(64)",null,null,"调入仓库sid"]
[null,"inWarehouseName","varchar(64)",null,null,"调入货位"]
[null,"inwarehouseAreaSid","varchar(64)",null,null,"调入库区sid"]
[null,"inwarehouseArea","varchar(64)",null,null,"调入库区名称"]
[null,"inwarehouseRackSid","varchar(64)",null,null,"调入货架sid"]
[null,"inwarehouseRackName","varchar(64)",null,null,"调入货架名称"]
[null,"count","decimal(10,2)",null,null,"调拨数量"]
[null,"amount","decimal(10,2)",null,null,"调拨金额（调拨数量*含税价）"]
[null,"remarks","varchar(64)",null,null,"备注"]
[]
[]
[null,"wms_inventory_settlebill库存结算单"]
[null,"sid","varchar(64)"]
[null,"billNo","varchar(64)",null,null,"结算单编号"]
[null,"createTime","timestamp",null,null,"制单日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"settleState","int",null,null,"库存结算状态（1进行中 2已完成）"]
[null,"settleType","int",null,null,"库存结算类型（1月结 2年结）"]
[null,"settle_startTime","timestamp",null,null,"开始时间"]
[null,"settle_endTime","timestamp",null,null,"结束时间"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_inventory_settlebill_detail库存结算明细"]
[null,"sid","varchar(64)"]
[null,"billSid","varchar(64)",null,null,"结算单sid"]
[null,"settleType","timestamp",null,null,"库存结算类型（1月结 2年结）"]
[null,"inventorySid","varchar(64)",null,null,"商品库存sid"]
[null,"goodSpuSid","varchar(64)",null,null,"商品基础信息Sid"]
[null,"goodsSpuName","varchar(64)",null,null,"商品名称"]
[null,"goodsSkuSid","varchar(64)",null,null,"商品Skusid"]
[null,"goodsSkuTitle","varchar(200)",null,null,"商品Sku名称"]
[null,"goodsSkuCode","varchar(64)",null,null,"商品编码（图号）"]
[null,"goodsSkuOwnSpec","varchar(200)",null,null,"规格型号"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouseName","varchar(64)",null,null,"仓库名称"]
[null,"warehouseAreasid","varchar(64)",null,null,"货位sid"]
[null,"warehouseAreaName","varchar(64)",null,null,"货位名称"]
[null,"warehouseRackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseRackName","varchar(64)",null,null,"货架名称"]
[null,"preBalance","decimal(10,2)",null,null,"上期结存"]
[null,"currentBalance","decimal(10,2)",null,null,"本期结存"]
[null,"currentEnter","decimal(10,2)",null,null,"本期入库"]
[null,"currentOut","decimal(10,2)",null,null,"本期出库"]
[null,"currentCheck","decimal(10,2)",null,null,"本期盘点"]
[]
[]
[]
[null,"报损表"]
[{"$nulls":5},"sid"]
[{"$nulls":5},"商品库存sid"]
[{"$nulls":5},"商品sid"]
[{"$nulls":5},"商品名称"]
[{"$nulls":5},"商品编码（图号）"]
[{"$nulls":5},"单位"]
[{"$nulls":5},"仓库sid"]
[{"$nulls":5},"仓库名称"]
[{"$nulls":5},"货位sid"]
[{"$nulls":5},"货位名称"]
[{"$nulls":5},"损费量"]
[{"$nulls":5},"上报时间"]
[{"$nulls":5},"上报人"]
[{"$nulls":5},"现场拍照"]
[{"$nulls":5},"是否同步到系统库存"]
[{"$nulls":5},"损废确认人"]
[{"$nulls":5},"损废确认时间"]
["注：发现商品报废、损坏无法使用时，应从库存中剔除，报损记录同步库存时用增减方式同步，同步操作可以任何时候进行，除盘库阶段外。"]
[]
[]
["报损处理表"]
[{"$nulls":5},"商品库存sid"]
[{"$nulls":5},"商品sid"]
[{"$nulls":5},"商品名称"]
[{"$nulls":5},"商品编码（图号）"]
[{"$nulls":5},"规格"]
[{"$nulls":5},"车型"]
[{"$nulls":5},"单位"]
[{"$nulls":5},"仓库sid"]
[{"$nulls":5},"仓库名称"]
[{"$nulls":5},"货位"]
[{"$nulls":5},"处理量"]
[{"$nulls":5},"处理时间"]
[{"$nulls":5},"处理人"]
[{"$nulls":5},"处理方式（另存、出库（丢弃、回收卖出））"]
[{"$nulls":5},"处理确认人"]
[{"$nulls":5},"处理确认时间"]
["注：对损坏、报废商品的处置记录"]

{"sheet":"仓库设置","index":1,"n_rows":62,"n_cols":7,"rows_kept":62,"cut":false,"hidden":false,"merged":[[23,1,23,5],[34,1,34,5],[54,1,54,5]]}
[null,"表名：wms_warehouse_info"]
[null,"注释：仓库信息"]
[null,"字段","类型","能否为空","默认值","注释","比对捷成"]
[null,"sid","varchar(36)","NO","无","sid"]
[null,"wareHousecode","varchar(20)","NO","无","仓库编码"]
[null,"wareHouseName","varchar(100)","NO","无","仓库名称","仓库"]
[null,"contacts","varchar(20)","YES","无","联系人"]
[null,"mob","varchar(20)",null,null,"手机"]
[null,"telephone","varchar(12)","YES","无","联系电话"]
[null,"manager","varchar(20)",null,null,"主管"]
[null,"areaSid","varchar(64)","YES",null,"地区sid"]
[null,"address","varchar(500)","YES","无","地址"]
[null,"longitude","decimal(20,17)","YES","无","经度"]
[null,"latitude","decimal(20,17)","YES","无","纬度"]
[null,"warehouseTypeKey","varchar(64)","YES","无","仓库类型Key"]
[null,"warehouseTypeValue","varchar(64)",null,null,"仓库类型value"]
[null,"usageStatus","int","NO",1,"使用状态,0停用 1正常"]
[null,"squareMeter","varchar(10)","YES","无","平方米"]
[null,"sortNo","int",null,null,"排序"]
[null,"remarks","varchar(100)","YES","无","备注"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[null,"wms_warehouse_extend（仓库扩展)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"warehouseSid","varchar(64)",null,"无","仓库sid"]
[null,"markupRate1","int",null,null,"加价率1","加价率1"]
[null,"markupRate2","int",null,null,"加价率2","加价率2"]
[null,"markupRate3","int",null,null,"加价率3","加价率3"]
[null,"markupRate4","int",null,null,"加价率4","加价率4"]
[null,"markupRate5","int",null,null,"加价率5","加价率5"]
[]
[]
[null,"wms_warehouse_area（库位)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"areaName","varchar(64)",null,"无","库位名称"]
[null,"areaCode","varchar(64)",null,"无","库位编码"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"volume","decimal(10,2)",null,null,"库位容量"]
[null,"unit","varchar(64)",null,null,"计量单位"]
[null,"areaTypeSid","varchar(64)",null,null,"库位类型sid"]
[null,"remarks","varchar(100)",null,null,"备注"]
[]
[null,"表名：wms_warehouse_area_type"]
[null,"注释：库位类型"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(36)","NO","无","sid"]
[null,"warehouseAreaTypeName","varchar(50)","NO","无","库位类型名称"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[]
[null,"wms_warehouse_rack（货架)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"rackName","varchar(64)",null,"无","货架名称"]
[null,"rackCode","varchar(64)",null,"无","货架编码"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"locationSid","varchar(64)",null,null,"库位sid"]
[null,"remarks","varchar(100)",null,null,"备注"]

{"sheet":"Sheet1","index":2,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":false,"merged":[]}