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

+ 3 - 1
ghs/src/views/order/list.vue

@@ -81,7 +81,9 @@
 
         <el-button v-if="scope.row.status != 1 && scope.row.status != 5" @click.stop="printOrder(scope.row)" size="small" type="primary">打A4</el-button>
         <el-button v-else size="small">打A4</el-button>
-        <el-button @click.stop="detailShowFn(scope.row)" size="small" type="success">详情</el-button>
+
+        <el-button @click.stop="detailShowFn(scope.row)" size="small" type="primary" v-if="scope.row.status != 1 && scope.row.status != 5">详情</el-button>
+        <el-button v-else size="small" @click.stop="detailShowFn(scope.row)">详情</el-button>
         
         <el-button @click.stop="down(scope.row)" size="small" type="primary" v-if="scope.row.status!=5 && scope.row.status!=1">下载</el-button>
         <el-button size="small" v-else>下载</el-button>