赛亿提成统计系统

commission.sql 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : saiyi
  4. Source Server Type : SQLite
  5. Source Server Version : 3021000
  6. Source Schema : main
  7. Target Server Type : SQLite
  8. Target Server Version : 3021000
  9. File Encoding : 65001
  10. Date: 20/08/2020 11:51:47
  11. */
  12. PRAGMA foreign_keys = false;
  13. -- ----------------------------
  14. -- Table structure for normal
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS "commission";
  17. CREATE TABLE "commission" (
  18. "id" integer NOT NULL COLLATE BINARY PRIMARY KEY AUTOINCREMENT,
  19. "month" text, -- 计提月份
  20. "company" text, -- 公司名称
  21. "contract_no" text, -- 合同号
  22. "goods_category" text, -- 产品类别
  23. "goods_type" text, -- 产品型号
  24. "amount" real, -- 数量(KG)
  25. "price" real, -- 单价(元)
  26. "contract_value" real, -- 合同额(元)
  27. "receive_money" real, -- 收款金额(元)
  28. "period_balance" real, -- 上期结余(元)
  29. "agency" real, -- 代理费(元)
  30. "base_price" real, -- 基准单价/公司低价(元)
  31. "shipping" real, -- 货物运输费(元)
  32. "project" real, -- 工程费成本(元)
  33. "type" integer, -- 提成类型 0,正常; 1,特批1; 2,特批2
  34. "seller" text -- 销售员
  35. );
  36. -- ----------------------------
  37. -- Auto increment value for normal
  38. -- ----------------------------
  39. PRAGMA foreign_keys = true;