feat(订单页面): 开票

This commit is contained in:
李琦
2026-07-28 12:45:56 +08:00
parent 8b455b1920
commit 77a690a071
9 changed files with 763 additions and 59 deletions

View File

@@ -136,7 +136,9 @@
store_id: uni.getStorageSync('store_id') || '11001',
}
}).then((res) => {
if (res.data.errcode == 0) {
const ok = res.data && (res.data.code === 0 || res.data.errcode === 0)
if (ok) {
uni.setStorageSync('delivery_method', 0)
uni.showLoading({
title: "加载中"
});
@@ -150,6 +152,12 @@
});
}, 1300)
} else {
uni.showToast({
title: (res.data && (res.data.message || res.data.msg)) || '更新失败',
icon: 'none',
duration: 1500
})
}
})
}