Compare commits
2 Commits
9bcc3fd0b1
...
4951ab1daf
Author | SHA1 | Date | |
---|---|---|---|
4951ab1daf | |||
dc782cfa39 |
|
@ -136,7 +136,7 @@ onMounted(() => {
|
||||||
})
|
})
|
||||||
|
|
||||||
const handleSelectionChange = (row: any) => {
|
const handleSelectionChange = (row: any) => {
|
||||||
id.value = JSON.parse(JSON.stringify(row));
|
// id.value = JSON.parse(JSON.stringify(row));
|
||||||
}
|
}
|
||||||
const DialogVisible = ref(false)
|
const DialogVisible = ref(false)
|
||||||
const total = ref(0)
|
const total = ref(0)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- 搜索-->
|
<!-- 搜索 -->
|
||||||
<div>
|
<!-- <div>
|
||||||
<el-input style="width: 200px; height: 30px; margin-right: 10px;" suffix-icon="Search" placeholder="请输入商品名称"
|
<el-input style="width: 200px; height: 30px; margin-right: 10px;" suffix-icon="Search" placeholder="请输入商品名称"
|
||||||
v-model="Couponsname"></el-input>
|
v-model="Couponsname"></el-input>
|
||||||
<el-button class="ml-5" type="primary" @click="load" style="height: 25px;">搜索</el-button>
|
<el-button class="ml-5" type="primary" @click="load" style="height: 25px;">搜索</el-button>
|
||||||
<el-button type="warning" @click="reset" style="height:25px">重置</el-button>
|
<el-button type="warning" @click="reset" style="height:25px">重置</el-button>
|
||||||
</div>
|
</div> -->
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
<div style="margin: 15px 0">
|
<!-- <div style="margin: 15px 0">
|
||||||
<el-popconfirm class="ml-5" confirm-button-text='确定' cancel-button-text='取消' icon="InfoFilled" icon-color="red"
|
<el-popconfirm class="ml-5" confirm-button-text='确定' cancel-button-text='取消' icon="InfoFilled" icon-color="red"
|
||||||
title="您确定批量删除这些数据吗?" @confirm="delBatch" width=180>
|
title="您确定批量删除这些数据吗?" @confirm="delBatch" width=180>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
|
@ -16,9 +16,9 @@
|
||||||
</el-icon></el-button>
|
</el-icon></el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</div>
|
</div> -->
|
||||||
<!-- 数据展示-->
|
<!-- 数据展示-->
|
||||||
<el-table :data="tableData" border stripe header-cell-class-name="headerBg"
|
<!-- <el-table :data="tableData" border stripe header-cell-class-name="headerBg"
|
||||||
:cell-style="{ 'text-align': 'center', 'font-size': '16px' }" @selection-change="handleSelectionChange"
|
:cell-style="{ 'text-align': 'center', 'font-size': '16px' }" @selection-change="handleSelectionChange"
|
||||||
:header-cell-style="{ 'text-align': 'center' }">
|
:header-cell-style="{ 'text-align': 'center' }">
|
||||||
<el-table-column type="selection" width="55"></el-table-column>
|
<el-table-column type="selection" width="55"></el-table-column>
|
||||||
|
@ -58,16 +58,16 @@
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table> -->
|
||||||
<!-- 分页-->
|
<!-- 分页-->
|
||||||
<div style="padding: 10px 0">
|
<!-- <div style="padding: 10px 0">
|
||||||
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
||||||
:current-page="searchParams.current" :page-size="searchParams.pageSize" :page-sizes="[5, 10, 15, 20]"
|
:current-page="searchParams.current" :page-size="searchParams.pageSize" :page-sizes="[5, 10, 15, 20]"
|
||||||
:small="null" :disabled="null" :background="null" layout="total, sizes, prev, pager, next, jumper"
|
:small="null" :disabled="null" :background="null" layout="total, sizes, prev, pager, next, jumper"
|
||||||
:total="total" />
|
:total="total" />
|
||||||
</div>
|
</div> -->
|
||||||
<!-- 详情,编辑-->
|
<!-- 详情,编辑-->
|
||||||
<el-dialog v-model="DialogVisible" :title="title">
|
<!-- <el-dialog v-model="DialogVisible" :title="title">
|
||||||
<el-form label-width="100px" :disabled="disabled">
|
<el-form label-width="100px" :disabled="disabled">
|
||||||
<el-form-item label="优惠券编号">
|
<el-form-item label="优惠券编号">
|
||||||
<el-input v-model="editForm.id" disabled></el-input>
|
<el-input v-model="editForm.id" disabled></el-input>
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
<el-button type="primary" @click="saveEdit" :disabled="disabled">确认</el-button>
|
<el-button type="primary" @click="saveEdit" :disabled="disabled">确认</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog> -->
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user