lilei 6 月之前
父节点
当前提交
1b441e5414

+ 1 - 1
src/components/VTable/index.vue

@@ -66,7 +66,7 @@ export default {
     // 表格宽度和高度
     scroll: {
       type: Object,
-      default: () => ({ x: 0, y: 400 })
+      default: () => { return { x: 0, y: 400 } }
     },
     // 是否显示边框
     bordered: {

+ 1 - 0
src/views/salesManagement/salesQueryNew/comps/productNormalList.vue

@@ -165,6 +165,7 @@
           type="link"
           :loading="delLoading"
           class="button-info"
+          v-if="hasActive"
           :id="'salesEdit-addPromo-'+record.id"
           @click="handleAddPromo(record)"
         >参与促销</a-button>