Browse Source

Bug Fix: 050

chris 3 năm trước cách đây
mục cha
commit
d62080a925
1 tập tin đã thay đổi với 10 bổ sung4 xóa
  1. 10 4
      src/views/modules/order/order-add-or-update.vue

+ 10 - 4
src/views/modules/order/order-add-or-update.vue

@@ -84,40 +84,45 @@
               prop="productName"
               header-align="center"
               align="center"
+              min-width="120"
+              :show-tooltip-when-overflow="true"
               label="产品名称">
             </el-table-column>
             <el-table-column
               prop="cnt"
               header-align="center"
               align="center"
+              min-width="160"
               label="数量">
               <template slot-scope="scope">
-                <el-input-number v-model="scope.row.cnt" :disabled="display" :min="1" style="width: 120px;"/>
+                <el-input-number v-model="scope.row.cnt" :disabled="display" :min="1" style="width: 140px;"/>
               </template>
             </el-table-column>
             <el-table-column
               prop="productNumber"
               header-align="center"
               align="center"
+              min-width="125"
               label="订单编号">
               <template slot-scope="scope">
-                <el-input v-model="scope.row.productNumber" :disabled="display" :min="1" style="width: 120px;"/>
+                <el-input v-model="scope.row.productNumber" :disabled="display" :min="1" style="width: 100px;"/>
               </template>
             </el-table-column>
             <el-table-column
               prop="price"
               header-align="center"
               align="center"
+              min-width="160"
               label="含税单价">
               <template slot-scope="scope">
-                <el-input-number v-model="scope.row.price" :disabled="display" :precision="1" :step="0.1" :min="0" style="width: 120px;"/>
+                <el-input-number v-model="scope.row.price" :disabled="display" :precision="1" :step="0.1" :min="0" style="width: 140px;"/>
               </template>
             </el-table-column>
             <el-table-column
               prop="amount"
               header-align="center"
               align="center"
-              width="80"
+              min-width="100"
               label="含税总价">
               <template slot-scope="scope">
                 <span>{{ (scope.row.cnt*scope.row.price).toFixed(1) }}</span>
@@ -127,6 +132,7 @@
               prop="rate"
               header-align="center"
               align="center"
+              min-width="130"
               label="税率">
               <template slot-scope="scope">
                 <el-input type="number" v-model="scope.row.rateVal" :disabled="display">