shish 2 лет назад
Родитель
Сommit
0957d29bf7
1 измененных файлов с 9 добавлено и 9 удалено
  1. 9 9
      ghs/src/views/order/add.vue

+ 9 - 9
ghs/src/views/order/add.vue

@@ -19,29 +19,29 @@
       <audio ref="hitPlay"><source src="@/static/hit.mp3" type="audio/mpeg"></audio>
       <audio ref="noStockPlay"><source src="@/static/noStock.mp3" type="audio/mpeg"></audio>
       <audio ref="successPlay"><source src="@/static/success1.mp3" type="audio/mpeg"></audio>
-      <el-table ref="singleTable" :data="selectList" highlight-current-row style="width:84%" border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" 
-      class="tableBox active" @row-click="pickModifyItem" height="25rem">
-        <el-table-column prop="id" label="编号" width="120" align="center"></el-table-column>
+      <el-table ref="singleTable" :data="selectList" highlight-current-row style="width:84vw" border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" 
+      class="tableBox active" @row-click="pickModifyItem" height="70vh">
+        <el-table-column prop="id" label="编号" width="90" align="center"></el-table-column>
 
-        <el-table-column prop="cover" label="图片" align="center" width="130">
+        <el-table-column prop="cover" label="图片" align="center" width="90">
           <template slot-scope="scope">
             <img :src="scope.row.cover" style="width:40px;margin:0 auto;" />
           </template>
         </el-table-column>
 
         <el-table-column prop="name" label="名称" align="center"></el-table-column>
-        <el-table-column prop="userPrice" label="单价" width="150" align="center"></el-table-column>
-        <el-table-column prop="bigCount" label="数量" width="150" align="center"></el-table-column>
-        <el-table-column prop="sumPrice" label="金额" width="150" align="center"></el-table-column>
+        <el-table-column prop="userPrice" label="单价" width="90" align="center"></el-table-column>
+        <el-table-column prop="bigCount" label="数量" width="90" align="center"></el-table-column>
+        <el-table-column prop="sumPrice" label="金额" width="90" align="center"></el-table-column>
 
-        <el-table-column prop="ratioType" label="单位比" align="center" width="150">
+        <el-table-column prop="ratioType" label="单位比" align="center" width="90">
           <template slot-scope="scope">
             <span v-if="scope.row.ratioType == 0">{{ scope.row.ratio }}{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
             <span v-else>若干{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column prop="addTime" label="操作" align="center" width="150">
+        <el-table-column prop="addTime" label="操作" align="center" width="90">
           <template slot-scope="scope">
             <el-button type="primary" size="mini" @click.stop="delItem(scope.row)">删除</el-button>
           </template>