修改发票显示问题和暂存工作台修改

This commit is contained in:
2025-02-19 19:54:02 +08:00
parent 103c10347c
commit 616c6a53fb
47 changed files with 1142 additions and 82 deletions

View File

@@ -12,7 +12,7 @@ export const getOwnTenementList = async function() {
return await GET(`/wx/getOwnTenements`);
}
// 获取商户详情
// 获取商户详情(简易)
export const getTenementDetail = async function(id) {
return await GET(`/wx/getTenementDetail/${id}`);
}
@@ -20,4 +20,21 @@ export const getTenementDetail = async function(id) {
// 获取商户是否限电
export const getTenementExceptionalCase = async function(pid, tid) {
return await GET(`/wx/exceptionalCase/${pid}/${tid}`);
}
}
// 获取商户详情b端
export const getTenementInfoDetail = async function(id) {
return await GET(`/wx/getTenementDetail/${id}`);
}
// 创建商户
export const createTenement = async function(pid, data) {
return await POST(`/vx/tenement/${pid}`, data)
}
// 修改商户
export const updateTenement = async function(pid, data) {
return await POST(`/vx/tenement/${pid}`, data)
}
// 解绑电表
export const unbindMeter = async function(pid, tid, code) {
return await POST(`/tenement/${pid}/${tid}/binding/${code}/unbind`)
}