shish 1 an în urmă
părinte
comite
e2c4fa7d67
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      ghs/src/views/in/list.vue

+ 3 - 2
ghs/src/views/in/list.vue

@@ -85,7 +85,8 @@
 
       <template #slot-column-option="{scope}">
 
-        <el-button @click.stop="detailShowFn(scope.row)" size="small" type="success">详情</el-button>
+        <el-button @click.stop="detailShowFn(scope.row)" size="small" v-if="scope.row.status == 5 || scope.row.status == 1">详情</el-button>
+        <el-button @click.stop="detailShowFn(scope.row)" size="small" type="success" v-else>详情</el-button>
 
         <el-button size="small" v-if="scope.row.status == 5">改价入库</el-button>
         <el-button @click.stop="changePrice(scope.row)" size="small" type="primary" v-else-if="scope.row.status == 4">修改售价</el-button>
@@ -472,7 +473,7 @@ export default {
                 prop: 'itemNum',
                 label: '数量',
                 align: 'center',
-                width: '80'
+                width: '70'
               },
               {
                 prop: 'seatSn',