chenyc
2023-06-04 b8ce0e7f0652aab9d9b0df9c5fbaebd924d31cc2
upbug
2个文件已修改
6 ■■■■ 已修改文件
src/views/jifenShangCheng/components/dizhi.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/jifenShangCheng/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/jifenShangCheng/components/dizhi.vue
@@ -51,6 +51,7 @@
    const addressEditRef = ref<AddressEditInstance>()
    const chosenAddressId = ref(1)
    const addressInfo=ref({
        code:'',
        id:0,
        name:'',
        addressDetail:'',
@@ -130,6 +131,7 @@
        console.log('用户信息')
        console.log(userInfo.patient)
        addressInfo.value={
            code:'',
            id:0,
            name:userInfo.patient.patientInfo.patientName,
            addressDetail:userInfo.patient.patientInfo.patientAddress,
@@ -144,6 +146,7 @@
    const onEdit = (item:any, index:number) =>{
        console.log(item,index)
        addressInfo.value={
            code:item.code,
            id:item.id,
            name:item.name,
            addressDetail:item.address,
@@ -160,6 +163,7 @@
        const pasm={
            addressArea: [form.city,form.county].toString(),
            id: addressInfo.value.id,
            code:addressInfo.value.code,
            patientAddress: form.addressDetail,
            patientCode: userInfo.patient.patientInfo.code,
            patientIsDefault: form.isDefault===true?1:0,
src/views/jifenShangCheng/index.vue
@@ -19,7 +19,7 @@
                        <!-- 订单 -->
                        <van-icon @click="openOrder" size="26px" name="balance-list-o" color="#67C23A" style="margin-top: 10px; margin-right: 20px;" />
                        <!-- 购物车 -->
                        <van-icon @click="openGwc" size="26px" name="cart-circle-o" color="#F56C6C" style="margin-top: 10px;" />
                        <van-icon @click="openGwc" size="26px" name="cart-circle-o" color="#F56C6C" :badge="gwcBadge" style="margin-top: 10px;" />
                    </div>
                    <div v-if="items.length > 0" style="border-left: 1px solid rgb(229, 226, 225); background: #f7f8fa;">
                        <van-card