main.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. export const column = [
  2. { label: "计划状态", prop: "status", width: "140", align: "center" },
  3. { label: "采购名称", prop: "planName", width: "200", align: "center", showOverflowTooltip: true },
  4. { label: "流水编号", prop: "businessNo", width: "200", align: "center", hide: true },
  5. { label: "采购类别", prop: "type", width: "120", align: "center" },
  6. { label: "合约规划", prop: "contractPlanName", width: "200", align: "center", showOverflowTooltip: true },
  7. { label: "预算金额 (元)", prop: "budgetAmount", width: "140", align: "center" },
  8. { label: "计划开始日期", prop: "beginDate", width: "140", align: "center" },
  9. { label: "计划完成日期", prop: "endDate", width: "140", align: "center" },
  10. { label: "进场日期", prop: "enterDate", width: "140", align: "center", hide: true },
  11. { label: "采购公司/部门", prop: "deptName", width: "200", align: "center", showOverflowTooltip: true },
  12. { label: "业务所属公司", prop: "belongDeptName", width: "200", align: "center", hide: true, showOverflowTooltip: true },
  13. { label: "采购所属项目", prop: "projectName", width: "200", align: "center", hide: true, showOverflowTooltip: true }
  14. ]
  15. export const statusDic = {
  16. active: {
  17. label: "已驳回",
  18. type: "danger"
  19. },
  20. approve: {
  21. label: "待审核",
  22. type: "warning"
  23. },
  24. done: {
  25. label: "已审核",
  26. type: "success"
  27. }
  28. }
  29. export const useStateDic = {
  30. No_Use: "未占⽤",
  31. Pre_Use: "预占⽤",
  32. In_Use: "已占⽤"
  33. }