修改开票时确认信息的错误,,调整电费账单查看

This commit is contained in:
2024-05-06 14:13:53 +08:00
parent ce81f9fe0a
commit 5885281810
4 changed files with 35 additions and 14 deletions

View File

@@ -12,6 +12,7 @@ Page({
data: {
money: 0,
tenement: "",
tenementName: "",
ids: [],
count: 0,
show: false,
@@ -22,8 +23,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
const { money = 10, tenement, ids = 'q', count = 10 } = options;
this.setData({ money, tenement, ids: ids.split(","), count })
console.log('options', options)
const { money = 0, tenement, ids = '', count = 0, tenementName } = options;
this.setData({ money, tenement, ids: ids.split(","), count, tenementName })
this.getDetail();
},
async getDetail() {
@@ -42,9 +44,6 @@ Page({
*/
onReady() {
},
onSubmit() {
console.log('----------')
},
/**
* 生命周期函数--监听页面显示