From 9a11e62adeb8d435b52a361eb62d5b59e1deef2a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 23 五月 2024 21:14:50 +0800 Subject: [PATCH] 2024-05-23 --- 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