Qukaidi 4 éve
szülő
commit
c80c86e012
2 módosított fájl, 22 hozzáadás és 12 törlés
  1. 13 7
      src/views/fleet/sendcar/AddOrUpdate.vue
  2. 9 5
      src/views/index.vue

+ 13 - 7
src/views/fleet/sendcar/AddOrUpdate.vue

@@ -607,7 +607,7 @@
                   label="箱号"
                   align="center"
                   prop="cntrNo"
-                  width="200"
+                  width="140"
                 >
                   <template slot-scope="scope">
                     <el-input
@@ -623,7 +623,7 @@
                   label="车号"
                   align="center"
                   prop="carregNo"
-                  width="150"
+                  width="130"
                 >
                   <template slot-scope="scope">
                     <!-- <el-input
@@ -654,12 +654,15 @@
                   label="司机姓名"
                   align="center"
                   prop="driverName"
+                  width="100"
                 >
                   <template slot-scope="scope">
                     <el-input
                       v-model="scope.row.driverName"
                       placeholder="司机姓名"
-                      :disabled="true"
+                      :disabled="
+                        scope.row.billStatus == 6 || scope.row.billStatus == 3
+                      "
                     />
                   </template>
                 </el-table-column>
@@ -667,14 +670,16 @@
                   label="联系电话"
                   align="center"
                   prop="driverTel"
-                  width="200"
+                  width="130"
                 >
                   <template slot-scope="scope">
                     <el-input
                       v-model="scope.row.driverTel"
                       placeholder="联系电话"
                       v-input-limit="2"
-                      :disabled="true"
+                      :disabled="
+                        scope.row.billStatus == 6 || scope.row.billStatus == 3
+                      "
                     />
                   </template>
                 </el-table-column>
@@ -711,7 +716,8 @@
                   label="操作"
                   align="center"
                   class-name="small-padding fixed-width"
-                  width="200"
+                  width="220"
+                  fixed="right"
                 >
                   <template slot-scope="scope">
                     <el-button
@@ -1749,7 +1755,7 @@ export default {
                 "carQty",
                 response.data.plan.carQty
               );
-              this.$set(row, "orderStatus",response.data.cars.orderStatus);
+            this.$set(row, "orderStatus",response.data.cars.orderStatus);
             this.$set(row, "orgId",response.data.cars.orgId);
             this.$set(row, "id",response.data.cars.id);
             }

+ 9 - 5
src/views/index.vue

@@ -171,7 +171,7 @@
           iconName="el-icon-s-cooperation"
           :More="true"
         >
-          <div slot="content" style="min-height: 250px">
+          <div slot="content" style="height: 312px">
             <div style="padding: 5px 5px 0 5px; font-size: 16px">
               【新闻】新闻
             </div>
@@ -208,7 +208,7 @@
           </div>
         </chi-card>
         <chi-card title="业务待办" iconName="el-icon-s-order" :More="true">
-          <div slot="content" class="upper-right">
+          <div slot="content" class="upper-right2">
             <div
               style="
                 font-size: 14px;
@@ -233,7 +233,7 @@
           </div>
         </chi-card>
         <chi-card title="审核列表" iconName="el-icon-s-order" :More="true">
-          <div slot="content" class="upper-right">
+          <div slot="content" class="upper-right2">
             <div
               style="
                 font-size: 14px;
@@ -1134,14 +1134,18 @@ export default {
   }
   .content-bottom {
     display: flex;
-    height: 70px;
+    height: 81px;
     border-bottom: 1px solid #e6ebf5;
     padding: 10px;
     justify-content: space-between;
   }
   .upper-right {
     padding: 10px 0;
-    min-height: 144px;
+    height: 260px;
+  }
+   .upper-right2 {
+    padding: 10px 0;
+    height: 130px;
   }
 }
 .single_line {