jiangxi_2017.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/8/31
  7. * @version
  8. */
  9. //计税方式
  10. const taxModel = {'common': 1, 'simple': 2};
  11. //价格属性:计税方式
  12. const pricePropertiesTemplate = [
  13. {
  14. region: '全省',
  15. taxModel: taxModel.common,
  16. price: {
  17. dataCode: 'price1',
  18. dataName: '单价-一般'
  19. }
  20. },
  21. {
  22. region: '全省',
  23. taxModel: taxModel.simple,
  24. price: {
  25. dataCode: 'price2',
  26. dataName: '单价-简易'
  27. }
  28. }
  29. ];
  30. //消耗量属性:计税方式
  31. const consumeAmtPropertiesTemplate = [
  32. {
  33. region: '全省',
  34. taxModel: taxModel.common,
  35. consumeAmt: {
  36. dataCode: 'consumeAmt1',
  37. dataName: '消耗-一般',
  38. refPrice: 'price1' //关联的单价字段
  39. }
  40. },
  41. {
  42. region: '全省',
  43. taxModel: taxModel.simple,
  44. consumeAmt: {
  45. dataCode: 'consumeAmt2',
  46. dataName: '消耗-简易',
  47. refPrice: 'price2' //关联的单价字段
  48. }
  49. }
  50. ];
  51. if(typeof module !== 'undefined'){
  52. module.exports = {
  53. pricePropertiesTemplate: pricePropertiesTemplate,
  54. consumeAmtPropertiesTemplate: consumeAmtPropertiesTemplate
  55. };
  56. }