From 4cc738e535d1a20701d206e12cf9de8cc5a01170 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 01 六月 2024 15:24:12 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/module/invoice/index.jsx | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/module/invoice/index.jsx b/src/tabviews/custom/components/module/invoice/index.jsx index e50407c..ad7b49b 100644 --- a/src/tabviews/custom/components/module/invoice/index.jsx +++ b/src/tabviews/custom/components/module/invoice/index.jsx @@ -541,6 +541,22 @@ outBill = () => { const { config, BID, saveType } = this.state + if (window.GLOB.storeFiles) { + if (!window.GLOB.storeDate || window.GLOB.storeDate < 0) { + Modal.warning({ + title: `鐢靛瓙妗f瀛樺偍鍖呭凡杩囨湡銆俙, + okText: '鐭ラ亾浜�' + }) + return + } else if (window.GLOB.storeDate < 30) { + notification.warning({ + top: 92, + message: `鐢靛瓙妗f瀛樺偍鍖呰繕鍓�${window.GLOB.storeDate}澶┿�俙, + duration: 5 + }) + } + } + if (window.GLOB.systemType === 'production' && !config.billOutBtn.proInterface) { notification.warning({ top: 92, @@ -797,6 +813,10 @@ param.data.invoiceTypeCode = trans[param.data.invoiceTypeCode] || '' + if (window.GLOB.storeFiles) { + param.store = true + } + let url = '' if (window.GLOB.systemType === 'production') { url = config.billOutBtn.proInterface -- Gitblit v1.8.0