Compare commits

..

No commits in common. "f87ba4dd245265b318f88610c32338a47e8ad110" and "5021be5ea7f7a61e7e16847723e8fc0f429956ba" have entirely different histories.

4 changed files with 1981 additions and 686 deletions

2471
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

@ -135,9 +135,9 @@ onMounted(() => {
getCouponsList() getCouponsList()
}) })
// 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)
const tableData : any= ref([]) const tableData : any= ref([])