tools_const.js 1.1 KB

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