|
|
@@ -12,17 +12,18 @@
|
|
|
<template #tableHeader="scope">
|
|
|
<div class="table-header-btn">
|
|
|
<div class="header-actions">
|
|
|
- <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">
|
|
|
- <el-tab-pane v-for="tab in allTabOptions" :key="tab.name" :label="tab.label" :name="tab.name" />
|
|
|
- </el-tabs>
|
|
|
+ <!-- <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">-->
|
|
|
+ <!-- <el-tab-pane v-for="tab in allTabOptions" :key="tab.name" :label="tab.label" :name="tab.name" />-->
|
|
|
+ <!-- </el-tabs>-->
|
|
|
+ <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #tableHeaderRight="scope">
|
|
|
- <div class="action-buttons">
|
|
|
- <el-button :icon="Plus" class="button" type="primary" @click="newGroupBuying" v-if="type"> 新建代金券 </el-button>
|
|
|
- <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>
|
|
|
- </div>
|
|
|
+ <!-- <div class="action-buttons">-->
|
|
|
+ <!-- <el-button :icon="Plus" class="button" type="primary" @click="newGroupBuying" v-if="type"> 新建代金券 </el-button>-->
|
|
|
+ <!-- <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>-->
|
|
|
+ <!-- </div>-->
|
|
|
</template>
|
|
|
<template #status="scope">
|
|
|
<!-- 代金券:显示状态和审核状态两行 -->
|
|
|
@@ -181,7 +182,7 @@ const formInventory: any = ref({
|
|
|
singleQty: "",
|
|
|
newInventory: ""
|
|
|
});
|
|
|
-const activeName = ref("1");
|
|
|
+const activeName = ref("2");
|
|
|
// 查看拒绝原因弹窗相关
|
|
|
const rejectReasonDialogVisible = ref(false);
|
|
|
const rejectReasonData = ref<any>({
|