tools_const.js 1.1 KB

123456789101112131415161718192021222324252627
  1. "use strict";
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/8/15
  7. * @version
  8. */
  9. //允许使用的工料机类型:人工、普通材料、混凝土、砂浆、配合比、商品混凝土、商品砂浆、外购砼构件、绿化苗木
  10. // 机械台班、机械组成物、机上人工、设备
  11. let allowGljType = [
  12. 1, 201, 202, 203, 204, 205, 206, 208, 209, 301, 302, 303, 5, 9, 10, 11
  13. ];
  14. //允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班
  15. let allowComponent = [202, 203, 204, 301];
  16. //可以作为组成物的工料机类型:普通材料、机械组成物、机上人工
  17. let componentType = [201, 302, 303];
  18. //允许含有组成物的机械工料机类型:机械台班
  19. let machineAllowComponent = [301];
  20. //可以作为机械工料机组成物的工料机类型:机械组成物、机上人工、普通材料
  21. let machineComponent = [201, 302, 303];
  22. //允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
  23. let materialAllowComponent = [202, 203, 204];
  24. //可以作为材料工料机组成物的工料机类型:普通材料
  25. let materialComponent = [201];