修改未开发票列表商户未传的问题

This commit is contained in:
qiaomu
2024-05-06 09:50:26 +08:00
parent 9c717eeb80
commit 369faf6b92
2 changed files with 6 additions and 4 deletions

View File

@@ -23,7 +23,8 @@ export const deleteInvoiceInfo = async function(id) {
// 获取可开发票列表
export const getInvoiceList = async function() {
return await GET(`/wx/getInvoiceList`);
const tenement = wx.getStorageSync('tenement');
return await GET(`/wx/getInvoiceList?tenement=${tenement?.id}`);
}
// 获取创建的发开票信息详情