/** * 默认相关产品数据字段 */ 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", color: '#B9B9B9' }, { label: "进行中", value: "1", type: "primary", color: '#075985' }, { label: "已完成", value: "2", type: "success", color: '#07C160' }, { label: "已超时", value: "3", type: "danger", color: '#EE0A24' }, ]; // 合同状态 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: '已完全回款' }, ] export const fixedFieldPermissionOptions = [ { value: 0, label: '仅本人' }, { value: 1, label: '本人及下属' }, { value: 2, label: '仅本部门' }, { value: 3, label: '本部门及下属部门' }, ] export const fixedFieldDateOptions = [ { value: 0, label: '本月' }, { value: 1, label: '本周' }, { value: 2, label: '本年' }, { value: -1, label: '自定义' }, ]