From e69cc83c653ce78691aad2eedd4c71ca70f559c4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 15 二月 2023 17:53:46 +0800
Subject: [PATCH] 2023-02-15

---
 src/tabviews/custom/components/module/voucher/voucherTable/index.jsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx b/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
index 68aa28d..327a6c9 100644
--- a/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
+++ b/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
@@ -748,21 +748,21 @@
             if (record.sup_accounting && record.supAccounts) {
               record.supAccounts.forEach(item => {
                 if (item.sup_acc_type === 'supplier') {
-                  val += item.suppliercode ? '_' + item.suppliercode : ''
+                  val += item.suppliercode ? '_' + item.suppliercode + ' ' + item.suppliername : ''
                 } else if (item.sup_acc_type === 'customer') {
-                  val += item.customercode ? '_' + item.customercode : ''
+                  val += item.customercode ? '_' + item.customercode + ' ' + item.customername : ''
                 } else if (item.sup_acc_type === 'department') {
-                  val += item.co_pro_code ? '_' + item.co_pro_code : ''
+                  val += item.co_pro_code ? '_' + item.co_pro_code + ' ' + item.co_pro_name : ''
                 } else if (item.sup_acc_type === 'project') {
-                  val += item.projectcode ? '_' + item.projectcode : ''
+                  val += item.projectcode ? '_' + item.projectcode + ' ' + item.projectname : ''
                 } else if (item.sup_acc_type === 'inventory') {
-                  val += item.productcode ? '_' + item.productcode : ''
+                  val += item.productcode ? '_' + item.productcode + ' ' + item.productname : ''
                 } else if (item.sup_acc_type === 'employee') {
-                  val += item.workercode ? '_' + item.workercode : ''
+                  val += item.workercode ? '_' + item.workercode + ' ' + item.workername : ''
                 } else if (item.sup_acc_type === 'cash_flow') {
-                  val += item.cash_flow_code ? '_' + item.cash_flow_code : ''
+                  val += item.cash_flow_code ? '_' + item.cash_flow_code + ' ' + item.cash_flow_name : ''
                 } else if (item.sup_acc_code) {
-                  val += '_' + item.sup_acc_code
+                  val += '_' + item.sup_acc_code + ' ' + item.sup_acc_name
                 }
               })
             }

--
Gitblit v1.8.0