zhangzeli
2022-01-05 7220683e68d6cdccd1a7358aee7824b37f2b8e98
src/views/your/customerReceive-manage/customerReceive.vue
@@ -522,7 +522,7 @@
      addOil() {
        this.getAllCar();
        this.modalType = 0;
        this.modalTitle = "添加加油记录";
        this.modalTitle = "添加记录";
        this.$refs.addOilForm.resetFields();
        delete this.addOilForm.id;
        this.roleModalVisible = true;
@@ -531,7 +531,7 @@
        this.getAllCar();
        this.addDate = v.addDate;
        this.modalType = 1;
        this.modalTitle = "编辑加油信息";
        this.modalTitle = "编辑信息";
        this.$refs.addOilForm.resetFields();
        // 转换null为""
        for (let attr in v) {
@@ -541,7 +541,6 @@
        }
        let str = JSON.stringify(v);
        let roleInfo = JSON.parse(str);
        this.addOilForm = roleInfo;
        this.roleModalVisible = true;
      },