{"text_format":"2","workbook":"xlsx","n_sheets":1,"sheets":["采购"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":0,"comments":1,"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":132,"n_cols":7,"rows_kept":132,"cut":false,"hidden":false,"merged":[[108,1,108,5],[1,1,1,5],[31,1,31,5],[48,1,48,5],[73,1,73,5],[89,1,89,5]]}
[]
[null,"pms_purchase_bill(采购单)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"state","int",null,null,"0正常,1作废"]
[null,"sourceBillSid","varchar(64)",null,null,"来源单sid（工单sid）"]
[null,"sourceBillNo","varchar(64)",null,null,"来源单编号/外部编号"]
[null,"billNo","varchar(64)",null,"无","单据编号"]
[null,"createTime","timestamp",null,null,"单据日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"purchaseTypeKey",null,null,null,"采购类型Key"]
[null,"purchaseTypeValue","varchar(64)",null,null,"采购类型Value（厂家采购、外采、其他）"]
[null,"supplierSid","varchar(64)",null,null,"供应商sid"]
[null,"supplierName","varchar(64)",null,null,"供应商名称"]
[null,"supplierPhone","varchar(64)",null,null,"供应商联系电话"]
[null,"billTypeKey","varchar(64)",null,null,"票据类型key"]
[null,"billTypeValue","varchar(64)",null,null,"票据类型sid(不含税、增值税、普通税、已含增值税)"]
[null,"isInvoicing","int",null,null,"是否需要开发票（是1，否0）"]
[null,"invoiceCode","varchar(64)",null,null,"发票号码"]
[null,"purchaserSid","varchar(64)",null,null,"采购员sid（单选）"]
[null,"purchaserName","varchar(64)",null,null,"采购员姓名"]
[null,"storekeeperSid","varchar(64)",null,null,"库管员sid（单选）"]
[null,"storekeeperName","varchar(64)",null,null,"库管员姓名"]
[null,"freight","decimal(10,2)",null,null,"运费"]
[null,"discountAmount","decimal(10,2)",null,null,"优惠金额"]
[null,"payableAmount","decimal(10,2)",null,null,"应付金额（=采购金额+运费-优惠金额）"]
[null,"remarks","varchar(200)",null,null,"备注"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[null,"pms_purchase_bill_extend(采购单扩展)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"purchaseBillSid","varchar(64)",null,null,"采购单sid"]
[null,"markupType","varchar(64)",null,null,"加价方式（统一加价率、区间加价率、仓库加价率）"]
[null,"priceStrategy","varchar(64)",null,null,"进价不同时的价格策略（加权平均、分别计价）"]
[null,"tempMarkupRate","int",null,null,"临时加价率"]
[null,"errorAmount","decimal(10,2)",null,null,"误差调整金额"]
[null,"shipperName","varchar(64)",null,null,"发货人姓名"]
[null,"shipperMob","varchar(64)",null,null,"发货人手机"]
[null,"deliveryAreaSid","varchar(64)",null,null,"发货省市区sid"]
[null,"deliveryAddress","varchar(200)",null,null,"发货详细地址"]
[null,"arrivalDate","timestamp",null,null,"到货日期"]
[null,"paymentTerm","timestamp",null,null,"付款期限"]
[null,"wareHouseSid","varchar(64)",null,null,"仓库sid"]
[null,"remarks","varchar(200)",null,null,"备注"]
[]
[null,"pms_purchase_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,"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,"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,"salesPrice","deciaml(10,2)",null,null,"销售单价","销售价格1"]
[null,"minimumSalesPrice","deciaml(10,2)",null,null,"最低零售价","销售价格2"]
[]
[null,"pms_purchase_bill_settle(采购单-结算)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid","varchar(64)",null,null,"采购单sid"]
[null,"payableAmount","decimal(10,2)",null,null,"应付金额"]
[null,"prepaymentdeductAmount","decimal(10,2)",null,null,"预付款抵扣"]
[null,"settleKey","varchar(64)",null,null,"结算方式key"]
[null,"settleValue","varchar(64)",null,null,"结算方式value"]
[null,"settleAmount","decimal(10,2)",null,null,"结算金额"]
[null,"otherSettleKey","varchar(64)",null,null,"其他结算方式"]
[null,"otherSettleValue","varchar(64)",null,null,"其他结算金额"]
[null,"debts","decimal(10,2)",null,null,"欠款金额"]
[null,"settleTime","times",null,null,"结算时间"]
[null,"createBySid","varchar(64)",null,null,"结算人sid"]
[null,"createByName","varchar(64)",null,null,"结算人姓名"]
[]
[null,"pms_purchaseback_bill(采购退货单据)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"state","int",null,null,"0正常,1作废"]
[null,"sourceBillSid","varchar(64)",null,null,"来源单sid（采购单sid）"]
[null,"sourceBillNo","varchar(64)",null,null,"来源单编号"]
[null,"billNo","varchar(64)",null,"无","单据编号"]
[null,"remarks","varchar(100)",null,null,"备注"]
[null,"createTime","timestamp",null,null,"单据日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"backErrorAmount","decimal(10,2)",null,null,"退误差调整金额"]
[null,"backDiscountAmount","decimal(10,2)",null,null,"退优惠金额"]
[null,"deductDebts","decimal(10,2)",null,null,"抵扣欠款"]
[null,"deductBillNo","varchar(64)",null,null,"抵扣单号"]
[null,"toPrepayment","decimal(10,2)",null,null,"转入预付款"]
[null,"useOrgSid","varchar(64)",null,"无","使用组织sid"]
[null,"createOrgSid","varchar(64)",null,"无","创建组织sid"]
[]
[null,"pms_purchaseback_detail(采购退货单据明细)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid","varchar(64)",null,null,"单据sid"]
[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(64)",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,"areaSid","varchar(64)",null,null,"库区/货位sid"]
[null,"warehouseAreaName","varchar(64)",null,null,"库区名称"]
[null,"rackSid","varchar(64)",null,null,"货架sid"]
[null,"warehouseName","varchar(64)",null,null,"货架名称"]
[null,"returnedCount","decimal(10,2)",null,null,"已退数量"]
[null,"backCount","decimal(10,2)",null,null,"退货数量"]
[null,"maxAmount","decimal(10,2)",null,null,"税额"]
[null,"maxPrice","decimal(10,2)",null,null,"含税价"]
[null,"backAmount","decimal(10,2)",null,null,"退货金额"]