+
+
+
+
+
+ {{ menu ? 'mdi-chevron-up' : 'mdi-chevron-down' }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.nikename }}
+ {{ item.code }}
+
+
+
+
+
+ نتیجهای یافت نشد
+
+
+
+
+
+ افزودن کاربر جدید
+
+
+
+
+
+
+
+
+
+
+ افزودن کاربر جدید
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ اطلاعات پایه
+ اطلاعات تماس
+ آدرس
+ حسابهای بانکی
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ نوع مشتری
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ افزودن حساب بانکی
+
+
+
+
+
+ حساب بانکی {{ index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ snackbar.text }}
+
+
+ بستن
+
+
+
+
+
+
+
+
+
diff --git a/webUI/src/components/forms/Htabletreeselect.vue b/webUI/src/components/forms/Htabletreeselect.vue
index 1df3ca4..0e866e2 100644
--- a/webUI/src/components/forms/Htabletreeselect.vue
+++ b/webUI/src/components/forms/Htabletreeselect.vue
@@ -137,6 +137,14 @@ export default {
try {
const response = await axios.get('/api/accounting/table/childs/cost');
this.treeItems = response.data;
+
+ if (this.modelValue) {
+ if (this.returnObject) {
+ this.selectedItem = this.modelValue;
+ } else {
+ this.selectedItem = this.findItemById(this.treeItems, this.modelValue);
+ }
+ }
} catch (error) {
console.error('خطا در دریافت دادهها:', error);
this.$toast.error('خطا در بارگذاری دادهها');
diff --git a/webUI/src/views/acc/costs/mod.vue b/webUI/src/views/acc/costs/mod.vue
index 9133677..b117038 100644
--- a/webUI/src/views/acc/costs/mod.vue
+++ b/webUI/src/views/acc/costs/mod.vue
@@ -295,15 +295,7 @@