Compare commits
No commits in common. "3a3e268f6924d80174765f55c495e903e42466eb" and "087756c014b5e5b39822973ec210ff896978dcd0" have entirely different histories.
3a3e268f69
...
087756c014
|
@ -465,4 +465,3 @@ onMounted(() => {
|
|||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
||||
@/pages/finance-bill-manage/billCancel
|
||||
|
|
|
@ -392,13 +392,12 @@ const refresh = () => {
|
|||
getTableData();
|
||||
};
|
||||
// 判断menuManagement里面是否存在数据
|
||||
const getPersonName = async () => {
|
||||
const getPersonName = () => {
|
||||
let arr = JSON.parse(localStorage.getItem("ReceiptList"));
|
||||
if (arr) {
|
||||
personName.value = arr.personName;
|
||||
} else {
|
||||
await personList();
|
||||
getTableData();
|
||||
personList();
|
||||
}
|
||||
};
|
||||
// 判断menuManagement里面是否存在数据
|
||||
|
@ -430,8 +429,8 @@ const getTableData = async () => {
|
|||
};
|
||||
|
||||
onMounted(async () => {
|
||||
await getPersonName();
|
||||
await getTableData();
|
||||
getPersonName();
|
||||
getTableData();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@ export const useReceiptList = defineStore("ReceiptList", {
|
|||
async getPersonNameList() {
|
||||
const { data } = await reqPersonName();
|
||||
this.personName = data;
|
||||
console.log(this.personName);
|
||||
return this.personName;
|
||||
},
|
||||
|
||||
async getReceiptList(obj) {
|
||||
console.log("222");
|
||||
const { data } = await reqReceiptList(obj);
|
||||
this.receiptList = data;
|
||||
return this.receiptList;
|
||||
|
|
Loading…
Reference in New Issue
Block a user