Browse Source

去掉参数

dev
pref_mail@163.com 4 weeks ago
parent
commit
6bc973356f
  1. 9
      src/views/finance/ReconciliationDepositSlip.vue

9
src/views/finance/ReconciliationDepositSlip.vue

@ -428,6 +428,10 @@ const onLoad = async () => {
// listType 1 -- toB ; 2 -- toC // listType 1 -- toB ; 2 -- toC
submitData.listType = details.pageStatus; submitData.listType = details.pageStatus;
if (submitData.listType === 1) {
delete submitData.signStatus
} else delete submitData.signStatuses
const keys = Object.keys(submitData); const keys = Object.keys(submitData);
for (let i = 0; i < keys.length; i++) { for (let i = 0; i < keys.length; i++) {
@ -790,6 +794,11 @@ const handleExport = () => {
submitData.listType = details.pageStatus; submitData.listType = details.pageStatus;
if (submitData.listType === 1) {
delete submitData.signStatus
} else delete submitData.signStatuses
if (getObjType(submitData.createTimeArr) === 'array' && submitData.createTimeArr.length > 0) { if (getObjType(submitData.createTimeArr) === 'array' && submitData.createTimeArr.length > 0) {
submitData.createTimeStartStr = submitData.createTimeArr[0]; submitData.createTimeStartStr = submitData.createTimeArr[0];
submitData.createTimeEndStr = submitData.createTimeArr[1]; submitData.createTimeEndStr = submitData.createTimeArr[1];

Loading…
Cancel
Save