【新增】MALL: 满减送活动赠送优惠券(80%)

This commit is contained in:
puhui999
2024-08-23 16:22:46 +08:00
parent 10cb91ad59
commit a08684089d
5 changed files with 111 additions and 59 deletions

View File

@ -176,6 +176,7 @@ const queryParams = reactive({
createTime: []
})
const queryFormRef = ref() // 搜索的表单
const selectedCouponList = ref<CouponTemplateApi.CouponTemplateVO[]>([]) // 选择的数据
/** 查询列表 */
const getList = async () => {
@ -214,11 +215,11 @@ const handleSelectionChange = (val: CouponTemplateApi.CouponTemplateVO[]) => {
emit('update:multipleSelection', val)
return
}
emit('change', val)
selectedCouponList.value = val
}
const submitForm = () => {
dialogVisible.value = false
emit('change', selectedCouponList.value)
}
// TODO @puhui999提前 todo先不用改未来单独成组件其它模块可以服用例如说满减送可以选择优惠劵
</script>