statementDetailsOrder.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <!-- 火运计费账单所属详单页面 -->
  3. <div class="purchaseOrder">
  4. <div class="top">
  5. </div>
  6. <el-divider content-position="left">计费详单</el-divider>
  7. <dilTable v-bind.sync="option">
  8. <el-table-column fixed="right" label="操作" align="center" width="100">
  9. <template slot-scope="scope">
  10. <el-button @click="btnclick(scope.row.detailsId)" type="text" size="small"
  11. >火运实绩</el-button
  12. >
  13. <!-- <el-button @click="onclick(scope.row.batchId)" type="text" size="small"
  14. >汽运实绩</el-button
  15. > -->
  16. </template>
  17. </el-table-column>
  18. </dilTable>
  19. </div>
  20. </template>
  21. <script>
  22. export default {
  23. name: "purchaseOrder",
  24. data() {
  25. return {
  26. input:"",
  27. option: {
  28. // 表格请求数据的地址
  29. requestUrl: "/api/v1/bms/getComplateTrainDetailsList?apiId=118&batchId="
  30. + this.$route.params.batchId + "&statementId=" + this.$route.query.statementId,
  31. },
  32. tableData: [{
  33. shipperName: '',
  34. shipCost: '',
  35. lossCost: '',
  36. waterFees: '',
  37. statementTotalAmount: ''
  38. }]
  39. };
  40. },
  41. mounted(){
  42. // this.initialization();
  43. },
  44. methods: {
  45. // initialization(){
  46. // this.$axios.post('/api/v1/bmsship/bmsshipstatement/getAllCost?batchId='+this.$route.params.batchId).then((res)=>{
  47. // this.tableData = res.data.data
  48. // })
  49. // },
  50. // onclick(batchId) {
  51. // this.$route.push("/bmsship/shipResult/" + batchId)
  52. // },
  53. btnclick(detailsId) {
  54. this.$router.push("/bmstrain/trainResult/" + detailsId);
  55. },
  56. // click(batchId) {
  57. // this.$route.push("/bmsship/shipResult/" + batchId)
  58. // },
  59. },
  60. };
  61. </script>
  62. <style lang='scss' scoped>
  63. .purchaseOrder {
  64. .top {
  65. padding: 1.25rem 1.875rem;
  66. }
  67. }
  68. </style>