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);