{"text_format":"2","workbook":"xlsx","n_sheets":3,"sheets":["销售单","结算","销售退货"],"not_rendered":{"charts":0,"images":0,"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":77,"n_cols":6,"rows_kept":77,"cut":false,"hidden":false,"merged":[[53,1,53,5],[28,1,28,5],[1,1,1,5],[41,1,41,5]]}
[]
[null,"sms_sales_bill(销售单)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,null,"sid"]
[null,"billNo","varchar(64)",null,null,"单据编号"]
[null,"createTime","times",null,null,"单据日期"]
[null,"createBySid","varchar(64)",null,null,"制单人sid（用户sid）"]
[null,"createByName","varchar(64)",null,null,"制单人姓名"]
[null,"subjectSid","varchar(64)",null,null,"科目sid"]
[null,"subject","varchar(64)",null,null,"科目"]
[null,"waitorSid","varchar(64)",null,null,"销售用户sid单选）（销售用户sid）"]
[null,"waitorName","varchar(64)",null,null,"销售姓名"]
[null,"barCode","varchar(64)",null,null,"条形码"]
[null,"shotRemarks","varchar(64)",null,null,"快捷备注（选择）"]
[null,"printRemarks","varchar(64)",null,null,"备注(打印)"]
[null,"remarks","varchar(64)",null,null,"备注"]
[null,"discountAmount","decimal(10,2)",null,null,"整体优惠金额"]
[null,"coupon","decimal(10,2)",null,null,"整体优惠券"]
[null,"scoreDeduct","decimal(10,2)",null,null,"积分抵扣"]
[null,"customerSid","varchar(64)",null,null,"客户sid"]
[null,"customerName","varchar(64)",null,null,"客户名称"]
[null,"mobile","varchar(64)",null,null,"联系电话"]
[null,"customerOrg","varchar(64)",null,null,"客户单位"]
[null,"memberCardSid","varchar(64)",null,null,"会员卡sid"]
[null,"memberCardNumber","varchar(64)",null,null,"会员卡号"]
[null,"useOrgSid","varchar(64)",null,null,"使用组织sid"]
[null,"createOrgSid","varchar(64)",null,null,"创建组织sid"]
[]
[null,"sms_sales_bill_extend(销售单扩展)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"purchaseBillSid","varchar(64)",null,null,"采购单sid"]
[null,"shipperName","varchar(64)",null,null,"收货人姓名"]
[null,"shipperMob","varchar(64)",null,null,"收货人手机"]
[null,"deliveryProvinceSid","varchar(64)",null,null,"收货省sid"]
[null,"deliveryCitySid","varchar(64)",null,null,"收货市sid"]
[null,"deliveryCountySid","varchar(64)",null,null,"收货县区sid"]
[null,"deliveryAddress","varchar(200)",null,null,"收货详细地址"]
[null,"buyerMessage","varchar(200)",null,null,"买家留言"]
[null,"remarks","varchar(200)",null,null,"备注"]
[]
[null,"sms_sales_bill_invoice(销售单-发票)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)"]
[null,"billSid","varchar(64)",null,null,"工单sid"]
[null,"isInvoicing","int",null,null,"是否需要开发票（是1，否0）"]
[null,"invoiceType","varchar(64)",null,null,"发票类型"]
[null,"invoiceTitle","varchar(100)",null,null,"开票名称"]
[null,"taxpayerNo","varchar(64)",null,null,"税号"]
[null,"invoiceCode","varchar(64)",null,null,"发票号码"]
[null,"taxRate","decimal(10,2)",null,null,"税率"]
[]
[]
[null,"sms_sales_bill_detail(销售单-商品清单)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"billSid","varchar(64)",null,null,"工单sid"]
[null,"inventorySid","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,"unit","varchar(64)",null,null,"计量单位"]
[null,"warehouseSid","varchar(64)",null,null,"仓库sid"]
[null,"warehouse","varchar(64)",null,null,"仓库名称"]
[null,"subjectSid","varchar(64)",null,null,"科目sid"]
[null,"subject","varchar(64)",null,null,"科目（自费、保内等）"]
[null,"currentCount","decimal(10,2)",null,null,"销售前库存数量"]
[null,"price","decimal(10,2)",null,null,"销售价"]
[null,"count","decimal(10,2)",null,null,"数量"]
[null,"discount","int",null,null,"折扣（0-10，0免费，10不打折）"]
[null,"discountAmount","decimal(10,2)",null,null,"优惠金额（=销售价*(折扣*0.1））"]
[null,"amount","decimal(10,2)",null,null,"金额（销售价-优惠金额）"]
[null,"outboundCount ","decimal(10,2)",null,null,"已出库数量（仓储中具体出库数量）"]
[null,"remarks","varchar(64)",null,null,"备注"]

{"sheet":"结算","index":1,"n_rows":16,"n_cols":6,"rows_kept":16,"cut":false,"hidden":false,"merged":[[0,1,0,5]]}
[null,"sms_sales_bill_settle(采购单-结算)"]
[null,"字段","类型","能否为空","默认值","注释"]
[null,"sid","varchar(64)",null,"无","sid"]
[null,"sourceBillSid","varchar(64)",null,null,"来源单sid（销售单sid）"]
[null,"sourceBillNo","varchar(64)",null,null,"来源单编号"]
[null,"receivableAmount","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,"结算人姓名"]

{"sheet":"销售退货","index":2,"n_rows":37,"n_cols":6,"rows_kept":37,"cut":false,"hidden":false,"merged":[[0,1,0,5],[19,1,19,5]]}
[null,"sms_sales_return (销售退货单据)"]
[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,"sms_sales_return_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,"specification","varchar(64)",null,null,"规格"]
[null,"currentCount","decimal(10,2)",null,null,"退货前的库存数量"]
[null,"unit","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,"退货金额"]