Compare commits
No commits in common. "f87ba4dd245265b318f88610c32338a47e8ad110" and "5021be5ea7f7a61e7e16847723e8fc0f429956ba" have entirely different histories.
f87ba4dd24
...
5021be5ea7
2657
package-lock.json
generated
2657
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -18,5 +18,4 @@ app.use(ElementPlus, {size: 'small'})
|
|||
app.use(router)
|
||||
//使用pinia
|
||||
app.use(pinia)
|
||||
|
||||
app.mount('#app')
|
||||
|
|
|
@ -86,6 +86,7 @@ onMounted(() => {
|
|||
|
||||
})
|
||||
const AddCoupon = async () => {
|
||||
console.log(form)
|
||||
const values = Object.values(form.value);
|
||||
if (values.some(value => value === null || value === undefined || value === '')) {
|
||||
ElMessage({
|
||||
|
|
|
@ -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([])
|
||||
|
|
Loading…
Reference in New Issue
Block a user