Jelajahi Sumber

01/27 备注显示优化

1
mo 4 tahun lalu
induk
melakukan
86ee4a45ee

+ 4 - 4
src/views/businessManager/orderManager/financeManager.vue

@@ -317,10 +317,10 @@
               scope.row.status | dealStatus
               scope.row.status | dealStatus
             }}</template>
             }}</template>
           </el-table-column>
           </el-table-column>
-          <el-table-column align="center" label="备注">
-            <template slot-scope="scope">{{
-              scope.row.memo ? scope.row.memo : "-"
-            }}</template>
+          <el-table-column align="center" label="备注" width="220px">
+           <template slot-scope="scope">
+                       <overflow-text width="200px" :text="scope.row.memo"/>
+                     </template>
           </el-table-column>
           </el-table-column>
           <el-table-column
           <el-table-column
             align="center"
             align="center"

+ 4 - 4
src/views/businessManager/orderManager/income.vue

@@ -290,10 +290,10 @@
               scope.row.status | dealStatus
               scope.row.status | dealStatus
             }}</template>
             }}</template>
           </el-table-column>
           </el-table-column>
-          <el-table-column align="center" label="备注">
-            <template slot-scope="scope">{{
-              scope.row.memo ? scope.row.memo : "-"
-            }}</template>
+          <el-table-column align="center" label="备注" width="220px">
+            <template slot-scope="scope">
+                       <overflow-text width="200px" :text="scope.row.memo"/>
+                     </template>
           </el-table-column>
           </el-table-column>
           <el-table-column align="center" width="150px" label="操作">
           <el-table-column align="center" width="150px" label="操作">
             <template slot-scope="scope">
             <template slot-scope="scope">

+ 8 - 1
src/views/studentManager/components/studentOrder.vue

@@ -158,7 +158,14 @@
           label="订单说明"
           label="订单说明"
           align="center"
           align="center"
           prop="memo"
           prop="memo"
-        ></el-table-column>
+          width="220px"
+        >
+         <template slot-scope="scope">
+                       <overflow-text width="200px" :text="scope.row.memo"/>
+                     </template>
+        </el-table-column>
+        <el-table-column>
+        </el-table-column>
       </el-table>
       </el-table>
       <pagination
       <pagination
         sync
         sync