defaultData.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /**
  2. * 默认相关产品数据字段
  3. */
  4. export const defaultRelatedProductDataFields = {
  5. productId: "", // 产品id
  6. productType: "", // 产品类型
  7. unit: "", // 单位
  8. price: "", // 标准价格
  9. inventory: "", // 库存
  10. sellingPrice: "", // 售价
  11. quantity: "", // 数量
  12. discount: "", // 折扣
  13. totalPrice: "", // 总价
  14. }
  15. // 任务优先级
  16. export const fixedFieldPriority = [
  17. { label: "高", value: 2 },
  18. { label: "中", value: 1 },
  19. { label: "低", value: 0 },
  20. ]
  21. // 任务类型
  22. export const fixedFieldTaskType = [
  23. { label: "客户", value: 0, show: true },
  24. { label: "商机", value: 1, show: true },
  25. { label: "销售订单", value: 2, show: true },
  26. { label: "线索", value: 3, show: false },
  27. ]
  28. //任务状态
  29. export const fixedFieldTaskStatus = [
  30. { label: "未开始", value: "0", type: "info" },
  31. { label: "进行中", value: "1", type: "primary" },
  32. { label: "已完成", value: "2", type: "success" },
  33. { label: "已超时", value: "3", type: "danger" },
  34. ];
  35. // 合同状态
  36. export const fixedFieldStatusArray = [
  37. { label: "审核通过", value: "0", color: "color:#67c23a;" },
  38. { label: "待审核", value: "1", color: "color:#e6a23c;" },
  39. { label: "已驳回", value: "2", color: "color:#f56c6c;" },
  40. ]
  41. // 任务重复类型
  42. export const fixedFieldRepetitiveType = [
  43. { label: "每天", value: 0 },
  44. { label: "每周", value: 1 },
  45. { label: "每月", value: 2 },
  46. { label: "自定义周期", value: 3 },
  47. { label: "自定义日期", value: 4 },
  48. ]
  49. // 回款状态
  50. export const fixedFieldPaymentStatus = [
  51. { value: 0, label: '未回款' },
  52. { value: 1, label: '已回款' },
  53. { value: 2, label: '已完全回款' },
  54. ]