/** * 默认相关产品数据字段 */ export const defaultRelatedProductDataFields = { productId: "", // 产品id productType: "", // 产品类型 unit: "", // 单位 price: "", // 标准价格 inventory: "", // 库存 sellingPrice: "", // 售价 quantity: "", // 数量 discount: "", // 折扣 totalPrice: "", // 总价 } // 任务优先级 export const fixedFieldPriority = [ { label: "高", value: 2 }, { label: "中", value: 1 }, { label: "低", value: 0 }, ] // 任务类型 export const fixedFieldTaskType = [ { label: "客户", value: 0, show: true }, { label: "商机", value: 1, show: true }, { label: "销售订单", value: 2, show: true }, { label: "线索", value: 3, show: false }, ] //任务状态 export const fixedFieldTaskStatus = [ { label: "未开始", value: "0", type: "info" }, { label: "进行中", value: "1", type: "primary" }, { label: "已完成", value: "2", type: "success" }, { label: "已超时", value: "3", type: "danger" }, ]; // 合同状态 export const fixedFieldStatusArray = [ { label: "审核通过", value: "0", color: "color:#67c23a;" }, { label: "待审核", value: "1", color: "color:#e6a23c;" }, { label: "已驳回", value: "2", color: "color:#f56c6c;" }, ] // 任务重复类型 export const fixedFieldRepetitiveType = [ { label: "每天", value: 0 }, { label: "每周", value: 1 }, { label: "每月", value: 2 }, { label: "自定义周期", value: 3 }, { label: "自定义日期", value: 4 }, ] // 回款状态 export const fixedFieldPaymentStatus = [ { value: 0, label: '未回款' }, { value: 1, label: '已回款' }, { value: 2, label: '已完全回款' }, ]