Compare commits

..

2 Commits

Author SHA1 Message Date
f87ba4dd24 test 2024-11-03 19:11:40 +08:00
0f33730f93 打包测试 2024-11-03 19:00:42 +08:00
4 changed files with 672 additions and 1967 deletions

2629
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,4 +18,5 @@ app.use(ElementPlus, {size: 'small'})
app.use(router)
//使用pinia
app.use(pinia)
app.mount('#app')

View File

@ -86,7 +86,6 @@ onMounted(() => {
})
const AddCoupon = async () => {
console.log(form)
const values = Object.values(form.value);
if (values.some(value => value === null || value === undefined || value === '')) {
ElMessage({

View File

@ -123,7 +123,7 @@
<el-button type="primary" @click="saveEdit" :disabled="disabled">确认</el-button>
</span>
</template>
</el-dialog>
</el-dialog>
</template>
<script lang="ts" setup>
@ -135,9 +135,9 @@ onMounted(() => {
getCouponsList()
})
const handleSelectionChange = (row: any) => {
id.value = JSON.parse(JSON.stringify(row));
}
// const handleSelectionChange = (row: any) => {
// id.value = JSON.parse(JSON.stringify(row));
// }
const DialogVisible = ref(false)
const total = ref(0)
const tableData : any= ref([])