From 0753a27f9bea485f57f5c026a8fc8f1cf40c9236 Mon Sep 17 00:00:00 2001
From: qb <1191961160@qq.com>
Date: Tue, 24 Dec 2024 12:01:59 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=B9=E8=B4=A6=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../finance/ReconciliationDepositSlip.js | 2 +
.../finance/ReconciliationDepositSlip.vue | 50 ++++++++++++++-----
2 files changed, 40 insertions(+), 12 deletions(-)
diff --git a/src/option/finance/ReconciliationDepositSlip.js b/src/option/finance/ReconciliationDepositSlip.js
index a845170a..b91e665b 100644
--- a/src/option/finance/ReconciliationDepositSlip.js
+++ b/src/option/finance/ReconciliationDepositSlip.js
@@ -712,6 +712,7 @@ export const columnList = [
checkarr: [],
fixed: false,
sortable: true,
+ isshowSummary: true,
head: false,
},
// {
@@ -1485,6 +1486,7 @@ export const columnListB = [
checkarr: [],
fixed: false,
sortable: true,
+ isshowSummary: true,
head: false,
},
// {
diff --git a/src/views/finance/ReconciliationDepositSlip.vue b/src/views/finance/ReconciliationDepositSlip.vue
index ce726560..3f89633c 100644
--- a/src/views/finance/ReconciliationDepositSlip.vue
+++ b/src/views/finance/ReconciliationDepositSlip.vue
@@ -28,18 +28,35 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
// listType 1 -- toB ; 2 -- toC
submitData.listType = details.pageStatus;
+ const keys = Object.keys(submitData);
+
+ for (let i = 0; i < keys.length; i++) {
+ const key = keys[i];
+
+ if (getObjType(submitData[key]) === 'array' && submitData[key].length === 0)
+ delete submitData[key];
+ }
+
// 获取暂存单列表
const res = await postPageList(submitData);
console.log('res :>> ', res);