开始做发票

This commit is contained in:
2024-04-22 17:37:07 +08:00
parent d873a722a1
commit 11f208a513
17 changed files with 219 additions and 23 deletions

View File

@@ -87,7 +87,7 @@ Page({
show: false,
title: ""
})
this.init(year, e)
this.init(year, id)
},
/**
* 生命周期函数--监听页面显示
@@ -103,9 +103,10 @@ Page({
alertInfo(message)
return
}
let tenements = [];
let tenements = [{id: "", name: "全部"}];
data.forEach(item => {
if (item.tenements) {
console.log('item.te', item.tenements)
tenements = [...tenements, ...item.tenements]
}
})