wang-hao-jie
2022-06-06 818d4458d77505b25ea057b49b409b1868ea8cff
src/views/your/carCost-manage/carCostManage.vue
@@ -247,21 +247,18 @@
            title: "加油卡号",
            key: "addOilCode",
            width: 120,
            sortable: true,
            align: "center",
          },
          {
            title: "加油日期",
            key: "addDate",
            width: 120,
            sortable: true,
            align: "center",
          },
          {
            title: "加油量(升)",
            key: "amount",
            width: 130,
            sortable: true,
            align: "center",
            render: (h, params) => {
              return h("div",params.row.amount==0 ? '':params.row.amount);
@@ -271,7 +268,6 @@
            title: "含税金额(元)",
            key: "money",
            width: 140,
            sortable: true,
            align: "center",
            render: (h, params) => {
              return h("div",params.row.money==0 ? '':params.row.money);
@@ -281,28 +277,24 @@
            title: "过路过桥费(元)",
            key: "",
            width: 150,
            sortable: true,
            align: "center",
          },
          {
            title: "年审费(元)",
            key: "",
            width: 130,
            sortable: true,
            align: "center",
          },
          {
            title: "洗车停车费(元)",
            key: "",
            width: 150,
            sortable: true,
            align: "center",
          },
          {
            title: "保险费含(车船税)",
            key: "",
            width: 170,
            sortable: true,
            align: "center",
          },
        ],
@@ -473,8 +465,12 @@
          this.searchForm.endTime = this.selectDate(this.value[1]);
          this.page=false;
        }else{
          this.searchForm.beginTime = "";
          this.searchForm.endTime = "";
          var date = new Date();
          this.searchForm.endTime = this.selectDate(date);
          this.value[1] = this.searchForm.endTime;
          date.setDate(1);
          this.value[0] = date;
          this.searchForm.beginTime = this.selectDate(date);
        }
        getOilExcel(this.searchForm).then((res) => {
          this.loading = false;