sichuan_2013.js 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. let isSC2013 = true;
  2. function overwriteRationCalcBases(taxType) {
  3. if (typeof rationCalcBases == 'undefined') return;
  4. for (let key in rationCalcBases) delete rationCalcBases[key];
  5. rationCalcBases['人工费'] = function (node, isTender) {
  6. return calcTools.rationBaseFee(node, [gljType.LABOUR], priceTypes.ptMarketPrice, isTender);
  7. };
  8. rationCalcBases['材料费'] = function (node, isTender) {
  9. return calcTools.rationBaseFee(node, baseMaterialTypes, priceTypes.ptMarketPrice, isTender);
  10. };
  11. rationCalcBases['施工机械使用费'] = function (node, isTender) {
  12. return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptMarketPrice, isTender);
  13. };
  14. rationCalcBases['商品砼费'] = function (node, isTender) {
  15. return calcTools.rationBaseFee(node, [gljType.COMMERCIAL_CONCRETE, gljType.COMMERCIAL_MORTAR], priceTypes.ptMarketPrice, isTender);
  16. };
  17. rationCalcBases['外购砼构件费'] = function (node, isTender) {
  18. return calcTools.rationBaseFee(node, [gljType.PURCHASE_COMPONENT], priceTypes.ptMarketPrice, isTender);
  19. };
  20. };
  21. (function overwriteFeeTypes() {
  22. if (typeof cpFeeTypes == 'undefined') return;
  23. cpFeeTypes = [
  24. { type: 'marketDirect', name: '直接费' },
  25. { type: 'marketDirectWork', name: '直接工程费' },
  26. { type: 'marketLabour', name: '人工费' },
  27. { type: 'marketMaterial', name: '材料费' },
  28. { type: 'marketMachine', name: '施工机械使用费' },
  29. { type: 'otherFee', name: '其他工程费' },
  30. { type: 'otherFee1', name: '其他工程费I' },
  31. { type: 'otherFee2', name: '其他工程费II' },
  32. { type: "indirect", name: '间接费' },
  33. { type: 'manage', name: '企业管理费' },
  34. { type: 'force', name: '规费' },
  35. { type: 'profit', name: '利润' },
  36. { type: 'tax', name: '税金' },
  37. { type: 'common', name: '建安费' }
  38. ];
  39. })();
  40. if (typeof gljUtil !== "undefined") {
  41. gljUtil.getAssUsedPrice = function(g){//四川辅助生产人工费取市场价
  42. return g.marketPrice;
  43. }
  44. gljUtil.getElecCode = function () {
  45. return "865";
  46. }
  47. }
  48. if (typeof module !== 'undefined') {
  49. module.exports = {
  50. getDefalutAssistProductionFeeRate: function () {
  51. return 5
  52. }
  53. };
  54. }