test_project_1.js 6.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * Created by jimiz on 2017/4/24.
  3. */
  4. var projectData = {
  5. bills: [
  6. {"ID": 0, "ParentID": -1, "NextSiblingID": -1, "projectID": 0, "serialNo": 0, "chapterID": null, "code": "", "fullCode": "", "name": "工程造价", "unit": "", "quantity": null, "programID": null, "comments": "", "xs_Labour": null, "xs_Material": null, "xs_Machine": null, "xs_FeeRate": null, "xs_LabourPrice": null, "xs_MaterialPrice": null, "xs_MachinePrice": null, "isTender_Labour": false, "isTender_Material": false, "isTender_Machine": false, "tenderTargetPrice": null, "tenderTargetUnitPrice": null,
  7. "fees": [
  8. {"fieldName": "integratedPrice", "unitFee": "", "totalFee": "1234567.8", "tenderUnitFee": "", "tenderTotalFee": ""}
  9. ],
  10. "flags": [
  11. {"fieldName": "interim", "flag": 0}
  12. ]
  13. },
  14. {"ID": 1, "ParentID": 0, "NextSiblingID": 3, "projectID": 0, "serialNo": 0, "chapterID": null, "code": "", "fullCode": "", "name": "分部分项工程", "unit": "", "quantity": null, "programID": null, "comments": "", "xs_Labour": null, "xs_Material": null, "xs_Machine": null, "xs_FeeRate": null, "xs_LabourPrice": null, "xs_MaterialPrice": null, "xs_MachinePrice": null, "isTender_Labour": false, "isTender_Material": false, "isTender_Machine": false, "tenderTargetPrice": null, "tenderTargetUnitPrice": null,
  15. "fees": [
  16. {"fieldName": "integratedPrice", "unitFee": "", "totalFee": "123456.78", "tenderUnitFee": "", "tenderTotalFee": ""}
  17. ],
  18. "flags": [
  19. {"fieldName": "interim", "flag": 0}
  20. ]
  21. },
  22. {"ID": 2, "ParentID": 1, "NextSiblingID": -1, "projectID": 0, "serialNo": 0, "chapterID": null, "code": "", "fullCode": "", "name": "挖一般土方", "unit": "m3", "quantity": null, "programID": null, "comments": "", "xs_Labour": null, "xs_Material": null, "xs_Machine": null, "xs_FeeRate": null, "xs_LabourPrice": null, "xs_MaterialPrice": null, "xs_MachinePrice": null, "isTender_Labour": false, "isTender_Material": false, "isTender_Machine": false, "tenderTargetPrice": null, "tenderTargetUnitPrice": null,
  23. "fees": [
  24. {"fieldName": "integratedPrice", "unitFee": "123.4", "totalFee": "12345.678", "tenderUnitFee": "", "tenderTotalFee": ""}
  25. ],
  26. "flags": [
  27. {"fieldName": "interim", "flag": 0}
  28. ]
  29. },
  30. {"ID": 3, "ParentID": 0, "NextSiblingID": -1, "projectID": 0, "serialNo": 0, "chapterID": null, "code": "", "fullCode": "", "name": "措施项目", "unit": "", "quantity": null, "programID": null, "comments": "", "xs_Labour": null, "xs_Material": null, "xs_Machine": null, "xs_FeeRate": null, "xs_LabourPrice": null, "xs_MaterialPrice": null, "xs_MachinePrice": null, "isTender_Labour": false, "isTender_Material": false, "isTender_Machine": false, "tenderTargetPrice": null, "tenderTargetUnitPrice": null,
  31. "fees": [
  32. {"fieldName": "integratedPrice", "unitFee": "", "totalFee": "1234.5678", "tenderUnitFee": "", "tenderTotalFee": ""}
  33. ],
  34. "flags": [
  35. {"fieldName": "interim", "flag": 0}
  36. ]
  37. }
  38. ],
  39. ration: [
  40. {"ID": 0, "projectID": 0, "billsItemID": 2, "serialNo": 0, "libID": 0, "code": "AA0001", "name": "人工挖土方", "maskName": "人工挖土方", "unit": "100m2", "quantity": "123.456", "programID": 1, "adjustState": "", "content": "排地表水", "rationProjName": "土建", "comments": "",
  41. "fees": [
  42. {"fieldName": "totalPrice", "unitFee": "840.84", "totalFee": "103806.74", "tenderUnitFee": "", "tenderTotalFee": ""},
  43. {"fieldName": "integratedPrice", "unitFee": "1626.94", "totalFee": "200855.5", "tenderUnitFee": "", "tenderTotalFee": ""}
  44. ],
  45. "flags": [
  46. {"fieldName": "type", "flag": 0}
  47. ]
  48. },
  49. {"ID": 1, "projectID": 0, "billsItemID": 2, "serialNo": 0, "libID": 0, "code": "AA0122", "name": "人工装机械运土 运距1000m以内 实际运距(m): 2001m", "maskName": "人工装机械运土 运距1000m以内 实际运距(m):%d", "unit": "100m2", "quantity": "123.456", "programID": 1, "adjustState": "+AA0123×2", "content": "排地表水", "rationProjName": "土建", "comments": "",
  50. "fees": [
  51. {"fieldName": "totalPrice", "unitFee": "840.84", "totalFee": "103806.74", "tenderUnitFee": "", "tenderTotalFee": ""},
  52. {"fieldName": "integratedPrice", "unitFee": "1626.94", "totalFee": "200855.5", "tenderUnitFee": "", "tenderTotalFee": ""}
  53. ],
  54. "flags": [
  55. {"fieldName": "type", "flag": 0}
  56. ]
  57. }
  58. ],
  59. GLJ: [
  60. {"ID": 0, "GLJID": 0, "rGLJID": 0, "rationID": 0, "billsItemID": 2, "projectID": 0, "orgRQuantity": "1.5", "rQuantity": "1.5", "customQuantity": "", "quantity": "1.5", "rationItemQuantity": "123.456", "rationPrice": "38", "adjustPrice": "", "price": "50", "tenderQuantity": "", "tenderPrice": "", "type": 1},
  61. {"ID": 1, "GLJID": 1, "rGLJID": 1, "rationID": 0, "billsItemID": 2, "projectID": 0, "orgRQuantity": "1.01", "rQuantity": "1.01", "customQuantity": "", "quantity": "1.01", "rationItemQuantity": "123.456", "rationPrice": "5", "adjustPrice": "", "price": "6", "tenderQuantity": "", "tenderPrice": "", "type": 2},
  62. {"ID": 2, "GLJID": 2, "rGLJID": 2, "rationID": 0, "billsItemID": 2, "projectID": 0, "orgRQuantity": "2.369", "rQuantity": "2.369", "customQuantity": "", "quantity": "2.369", "rationItemQuantity": "123.456", "rationPrice": "569.23", "adjustPrice": "", "price": "569.23", "tenderQuantity": "", "tenderPrice": "", "type": 5},
  63. {"ID": 3, "GLJID": 0, "rGLJID": 0, "rationID": 0, "billsItemID": 2, "projectID": 0, "orgRQuantity": "2.5", "rQuantity": "2.5", "customQuantity": "", "quantity": "2.5", "rationItemQuantity": "123.456", "rationPrice": "38", "adjustPrice": "", "price": "50", "tenderQuantity": "", "tenderPrice": "", "type": 1},
  64. {"ID": 4, "GLJID": 1, "rGLJID": 1, "rationID": 0, "billsItemID": 2, "projectID": 0, "orgRQuantity": "2.01", "rQuantity": "2.01", "customQuantity": "", "quantity": "2.01", "rationItemQuantity": "123.456", "rationPrice": "5", "adjustPrice": "", "price": "6", "tenderQuantity": "", "tenderPrice": "", "type": 2}
  65. ]
  66. }