diff --git a/webUI/src/views/acc/accounting/viewDoc.vue b/webUI/src/views/acc/accounting/viewDoc.vue index dfd28b4..a202278 100644 --- a/webUI/src/views/acc/accounting/viewDoc.vue +++ b/webUI/src/views/acc/accounting/viewDoc.vue @@ -1,145 +1,123 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/webUI/src/views/acc/component/documentLogButton.vue b/webUI/src/views/acc/component/documentLogButton.vue index 87a798d..0eaad8a 100644 --- a/webUI/src/views/acc/component/documentLogButton.vue +++ b/webUI/src/views/acc/component/documentLogButton.vue @@ -8,16 +8,16 @@ export default defineComponent({ docCode: String }, data: ()=>{return { - logPermision : ref(false), - itemsSelected: [], - searchValue: '', + dialog: false, loading: ref(true), items:[], headers: [ - { text: "تاریخ", value: "date"}, - { text: "کاربر", value: "user"}, - { text: "شرح", value: "des"}, - ] + { title: "تاریخ", key: "date", align: "center" as const}, + { title: "کاربر", key: "user", align: "center" as const}, + { title: "شرح", key: "des", align: "center" as const}, + ], + searchValue: '', + logPermision: ref(false) }}, methods:{ loadData(){ @@ -31,7 +31,6 @@ export default defineComponent({ }); } }); - } }, mounted(){ @@ -41,47 +40,56 @@ export default defineComponent({ \ No newline at end of file diff --git a/webUI/src/views/acc/component/notes.vue b/webUI/src/views/acc/component/notes.vue index e8999d7..365d1e4 100644 --- a/webUI/src/views/acc/component/notes.vue +++ b/webUI/src/views/acc/component/notes.vue @@ -129,16 +129,21 @@ export default defineComponent({ :disabled="loading" @keyup.enter="save" :loading="loading" - > - - mdi-content-save - ثبت یادداشت - + + diff --git a/webUI/src/views/acc/costs/list.vue b/webUI/src/views/acc/costs/list.vue index abdc6ec..3b97008 100644 --- a/webUI/src/views/acc/costs/list.vue +++ b/webUI/src/views/acc/costs/list.vue @@ -69,7 +69,7 @@ - - + + + + + + + + + + @@ -457,17 +608,17 @@ export default { } }); this.salarys.forEach((item) => { - if (item.id == null || item.id == '') { + if (item.person == null || item.person == '') { sideOK = false; } }) this.cashdesks.forEach((item) => { - if (item.id == null || item.id == '') { + if (item.person == null || item.person == '') { sideOK = false; } }) this.persons.forEach((item) => { - if (item.id == null || item.id == '') { + if (item.person == null || item.person == '') { sideOK = false; } }) @@ -510,7 +661,7 @@ export default { this.banks.forEach((item) => { if (item.des == '') item.des = 'هزینه' rows.push({ - id: item.id.id, + id: item.id, bs: parseInt(item.amount), bd: 0, des: item.des, @@ -522,7 +673,7 @@ export default { this.salarys.forEach((item) => { if (item.des == '') item.des = 'هزینه' rows.push({ - id: item.id.id, + id: item.person, bs: parseInt(item.amount), bd: 0, des: item.des, @@ -534,7 +685,7 @@ export default { this.cashdesks.forEach((item) => { if (item.des == '') item.des = 'هزینه' rows.push({ - id: item.id.id, + id: item.person, bs: parseInt(item.amount), bd: 0, des: item.des, @@ -546,7 +697,7 @@ export default { this.persons.forEach((item) => { if (item.des == '') item.des = 'هزینه' rows.push({ - id: item.id.id, + id: item.person, bs: parseInt(item.amount), bd: 0, des: item.des, diff --git a/webUI/src/views/acc/persons/list.vue b/webUI/src/views/acc/persons/list.vue index b4672e1..b3a7e9b 100644 --- a/webUI/src/views/acc/persons/list.vue +++ b/webUI/src/views/acc/persons/list.vue @@ -58,16 +58,16 @@ - - - + + +