chenyc
2023-06-04 e559855816a4b2397e052f1557d19d0cba13e26a
更新积分商城
2个文件已修改
8 ■■■■ 已修改文件
src/views/jifenShangCheng/components/gouwuche.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/jifenShangCheng/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/jifenShangCheng/components/gouwuche.vue
@@ -99,6 +99,7 @@
    import dizhi from '../components/dizhi.vue'
    import { userInfoStore } from '@/stores/userInfo'
    const userInfo = userInfoStore()
    const emit = defineEmits(['fanhuiFun'])
    const AllChecked=ref(false)
    const loading = ref(false)
    const isAdmin=ref(false)
@@ -209,6 +210,7 @@
            Toast.success('删除成功')
            console.log(re)
            isAdmin.value=false
            emit('fanhuiFun')
            getPages()
        })
@@ -237,6 +239,7 @@
                console.log(re)
                if (re==='OK'){
                    Toast.success('您已经兑换成功')
                    emit('fanhuiFun')
                    show.value=false
                } else {
                    Toast('兑换失败')
src/views/jifenShangCheng/index.vue
@@ -124,7 +124,7 @@
            <dizhi @fanhui-fun="feihuDizhi" ref="dizhiRef"></dizhi>
        </div>
        <div>
            <gouwuche ref="gouwucheRef"></gouwuche>
            <gouwuche ref="gouwucheRef" @fanhui-fun="feihuGwc"></gouwuche>
        </div>
        <div>
            <myOrder ref="myOrderRef"></myOrder>
@@ -273,6 +273,9 @@
            patientAddress:row.address,
        }
    }
    const feihuGwc=()=>{
        getListGwc()
    }
    const getListGwc=()=>{
        ajaxPost('/eshop/cart/list',`page=0&size=0&wherecondition=patient_code=\'${patientInfo.value.patientInfo.code}\'`)
            .then((re:any)=>{