地址刷新修改

parent d8e32148
......@@ -122,3 +122,21 @@ export function confirmReceipt(data) {
method: 'POST',
});
}
// 退换货填写物流单号
export function fillGoodsInfo(data) {
return request({
url: '/sgyrdd/sgyOrder/afterSales/goodsInfo',
method: 'POST',
data,
});
}
// 售后撤销申请
export function revokeApplication(data) {
return request({
url: '/sgyrdd/sgyOrder/afterSales/revoke',
method: 'POST',
data,
});
}
......@@ -57,7 +57,11 @@ const getAddressListData = async () => {
}
};
onLoad(() => {});
getAddressListData();
onShow(() => {
  getAddressListData();
});
const addNewAddress = () => {
xma.navigateTo({ url: '/pages/address/addressEdit?new=true' });
};
......
......@@ -136,6 +136,7 @@
</template>
<script setup>
import { afterSale, fillGoodsInfo, revokeApplication } from '@/api/order';
const time = ref(30 * 60 * 60 * 1000);
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment