开始做开票信息编辑

This commit is contained in:
2024-04-24 16:54:11 +08:00
parent d41978e2e8
commit ff36356543
34 changed files with 549 additions and 274 deletions

View File

@@ -1,9 +1,9 @@
import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取创建的发开票信息列表
export const getInvoiceInfoList = async function() {
return await GET(`/wx/getInvoiceInfoList`);
// 获取当前商户开票信息
export const getInvoiceInfo = async function() {
return await GET(`/wx/getInvoiceInfo/${wx.getStorageSync('tenement').id}`);
}
// 创建开票信息
@@ -13,7 +13,7 @@ export const createInvoiceInfo = async function(data) {
// 修改开票信息
export const updateInvoiceInfo = async function(data) {
return await PUT(`/wx/updateInvoiceInfo/${id}`, data);
return await PUT(`/wx/updateInvoiceInfo`, data);
}
// 删除发票信息