From cefe914628acd813a729a8a7ec697fe9810812f3 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期三, 05 一月 2022 11:37:06 +0800
Subject: [PATCH] 优化

---
 src/views/your/addOil-manage/addOilManage.vue |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/src/views/your/addOil-manage/addOilManage.vue b/src/views/your/addOil-manage/addOilManage.vue
index 1cd128a..24f7109 100644
--- a/src/views/your/addOil-manage/addOilManage.vue
+++ b/src/views/your/addOil-manage/addOilManage.vue
@@ -82,24 +82,32 @@
         <Row :gutter="0">
           <Col span="12">
             <FormItem label="鍔犳补閲�" prop="amount">
-              <Input v-model="addOilForm.amount" type="number"/>
+              <Input v-model="addOilForm.amount" type="number">
+                <span slot="append">鍗�</span>
+              </Input>
             </FormItem>
           </Col>
           <Col span="12">
             <FormItem label="鍗曚环" prop="unitPrice">
-              <Input v-model="addOilForm.unitPrice" type="number"/>
+              <Input v-model="addOilForm.unitPrice" type="number">
+                <span slot="append">鍏�</span>
+              </Input>
             </FormItem>
           </Col>
         </Row>
         <Row :gutter="0">
           <Col span="12">
             <FormItem label="鍔犳补閲戦" prop="money">
-              <Input v-model="addOilForm.money" type="number"/>
+              <Input v-model="addOilForm.money" type="number">
+                <span slot="append">鍏�</span>
+              </Input>
             </FormItem>
           </Col>
           <Col span="12">
             <FormItem label="閲岀▼" prop="mileage">
-              <Input v-model="addOilForm.mileage" type="number"/>
+              <Input v-model="addOilForm.mileage" type="number">
+                <span slot="append">鍏噷</span>
+              </Input>
             </FormItem>
           </Col>
         </Row>
@@ -274,19 +282,18 @@
           {
             title: "杞︾墝鍙�",
             key: "carNo",
-            width: 100,
+            width: 120,
             sortable: true,
           },
           {
             title: "鍔犳补鍗″彿",
             key: "addOilCode",
             width: 100,
-            sortable: true,
           },
           {
             title: "鍔犳补鏃ユ湡",
             key: "addDate",
-            width: 150,
+            width: 120,
             sortable: true,
           },
           {
@@ -304,13 +311,13 @@
           {
             title: "鍔犳补閲戦",
             key: "money",
-            minWidth: 100,
+            minWidth: 120,
             sortable: true,
           },
           {
             title: "鍔犳补鏃堕噷绋�",
             key: "mileage",
-            minWidth: 100,
+            minWidth: 130,
             sortable: true,
           },
           {
@@ -446,7 +453,7 @@
           this.loading = false;
           if (res.success) {
             this.data = res.result.records;
-            this.total = res.result.length;
+            this.total = res.result.total;
           }
         });
       },

--
Gitblit v1.9.1