订单列表

parent 526fd2be
...@@ -199,7 +199,8 @@ const stateList = ref({}); ...@@ -199,7 +199,8 @@ const stateList = ref({});
const orderDic = ref(); const orderDic = ref();
onLoad(async (options) => { onLoad(async (options) => {
// await signIn(); // await signIn();
if (!getToken()) await signIn2(); if (!getToken()) await signIn();
// if (!getToken()) await signIn2();
if (!getOrderDic()) await orderStatus(); if (!getOrderDic()) await orderStatus();
orderDic.value = getOrderDic(); orderDic.value = getOrderDic();
orderDic.value.baseOrder[0].value = 'all'; orderDic.value.baseOrder[0].value = 'all';
...@@ -321,7 +322,7 @@ const catalog = reactive({ ...@@ -321,7 +322,7 @@ const catalog = reactive({
endDate: '', endDate: '',
keyword: '', keyword: '',
status: '', // 待付款-not_pay,待使用-not_use,待评价not_eval,退款-after_sales status: '', // 待付款-not_pay,待使用-not_use,待评价not_eval,退款-after_sales
orderType: 'logistics', // 团购到店-store,外卖订单-takeaway,筑农物流logistics orderType: '', // 团购到店-store,外卖订单-takeaway,筑农物流logistics
}); });
const getList = async () => { const getList = async () => {
if (isEnd.value) return; if (isEnd.value) return;
......
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