tools_const.js 1.0 KB

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