开始做开票信息编辑

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

@@ -106,7 +106,6 @@ Page({
let tenements = [{id: "", name: "全部"}];
data.forEach(item => {
if (item.tenements) {
console.log('item.te', item.tenements)
tenements = [...tenements, ...item.tenements]
}
})
@@ -114,6 +113,10 @@ Page({
},
async init(year, tenement) {
const { code, message, data = [], amount = 0 } = await getRechargeList(year, tenement);
if (code !== OK) {
alertInfo(message)
return;
}
this.setData({
list: data,
amount