From 7220683e68d6cdccd1a7358aee7824b37f2b8e98 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期三, 05 一月 2022 10:47:15 +0800
Subject: [PATCH] 车辆加油卡号

---
 src/views/your/car-manage/carManage.vue |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/views/your/car-manage/carManage.vue b/src/views/your/car-manage/carManage.vue
index 2e08b84..aa41752 100644
--- a/src/views/your/car-manage/carManage.vue
+++ b/src/views/your/car-manage/carManage.vue
@@ -80,6 +80,9 @@
         <FormItem label="鐗岀収" prop="carNo">
           <Input v-model="carForm.carNo" />
         </FormItem>
+        <FormItem label="鍔犳补鍗″彿" prop="addOilCode">
+          <Input v-model="carForm.addOilCode" type="number"/>
+        </FormItem>
         <FormItem label="椹鹃┒浜�" prop="userId">
           <Select v-model="carForm.userId" filterable>
             <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
@@ -377,6 +380,12 @@
         {
           title: "璐疆骞翠唤",
           key: "buyYear",
+          minWidth: 120,
+          sortable: true,
+        },
+        {
+          title: "鍔犳补鍗″彿",
+          key: "addOilCode",
           minWidth: 120,
           sortable: true,
         },
@@ -750,6 +759,7 @@
                 this.$Message.success("鎿嶄綔鎴愬姛");
                 this.getDataList();
                 this.roleModalVisible = false;
+                this.carForm={};
               }
             });
           } else {
@@ -760,6 +770,7 @@
                 this.$Message.success("鎿嶄綔鎴愬姛");
                 this.getDataList();
                 this.roleModalVisible = false;
+                this.carForm={};
               }
             });
           }
@@ -780,6 +791,7 @@
                 this.getEquipmentList(this.carId);
                 this.addEquipmentVisible = false;
                 this.getEquipmentList(this.carId);
+                this.equipmentForm={};
               }
             });
           } else {
@@ -790,6 +802,7 @@
                 this.$Message.success("鎿嶄綔鎴愬姛");
                 this.getEquipmentList(this.carId);
                 this.addEquipmentVisible = false;
+                this.equipmentForm={};
               }
             });
           }

--
Gitblit v1.9.1