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

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

@@ -1,8 +1,8 @@
import { getLoginParkList } from "../../service/park"
import { getLoginParkList, getParkBuildingList } from "../../service/park"
import { getParkSimpleMeterList } from "../../service/meter"
import { alertInfo } from "../../utils/index";
import request from "../../utils/request"
import { payWays } from "../../utils/data";
import { payWays, feeType } from "../../utils/data";
import { getTenementList } from "../../service/tenement";
const { OK } = request;
@@ -86,9 +86,13 @@ Component({
return;
case "meter":
this.onSearchMeter();
return
case "tenement":
this.onSearchTenement();
return;
case "building":
this.onSearchBuilding();
return;
}
},
async onSearchPark() {
@@ -127,6 +131,18 @@ Component({
list: data,
})
},
async onSearchBuilding() {
const { park } = this.data;
const { code, message, data = [] } = await getParkBuildingList(park);
if (code !== OK) {
alertInfo(message)
return
}
this.setData({
columns: data?.length ? data?.map(item => item?.name) : [],
list: data,
})
},
}
})