lichao 3 роки тому
батько
коміт
c6f1f6342f
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/views/dealer/allocation/detail.vue

+ 1 - 0
src/views/dealer/allocation/detail.vue

@@ -160,6 +160,7 @@
               icon="el-icon-printer"
               size="small"
               @click="openReport"
+              :disabled="!form.id || dataList.length === 0"
             >报表打印</el-button>
           </template>
           <template slot="menu" slot-scope="{ row, index }">