shish 1 tahun lalu
induk
melakukan
e2c4fa7d67
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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}">
       <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 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>
         <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',
                 prop: 'itemNum',
                 label: '数量',
                 label: '数量',
                 align: 'center',
                 align: 'center',
-                width: '80'
+                width: '70'
               },
               },
               {
               {
                 prop: 'seatSn',
                 prop: 'seatSn',