Explorar o código

统一全部提示框

MaiXinRong %!s(int64=5) %!d(string=hai) anos
pai
achega
f17362e2c1

+ 3 - 3
app/public/js/change.js

@@ -73,7 +73,7 @@ class codeRuleSet {
                 case ruleConst.ruleType.text: {
                     rule.text = $('#text>input', obj).val();
                     if (rule.text === '') {
-                        toast('文本内容不允许为空。', 'error');
+                        toastr.error('文本内容不允许为空。');
                         return false;
                     }
                     preview = rule.text;
@@ -87,7 +87,7 @@ class codeRuleSet {
                     rule.format = parseInt($('#format>input', obj).val());
                     rule.start = parseInt($('#text>input', obj).val());
                     if ($('#text>input', obj).val().length !== rule.format) {
-                        toast('起始编号位数和自动编号位数不一致。', 'error');
+                        toastr.error('起始编号位数和自动编号位数不一致。');
                         return false;
                     }
                     const s = '0000000000';
@@ -95,7 +95,7 @@ class codeRuleSet {
                     break;
                 }
                 default: {
-                    toast('请选择组件再添加', 'error');
+                    toastr.error('请选择组件再添加');
                     return false;
                 }
             }

+ 7 - 6
app/public/js/global.js

@@ -99,6 +99,7 @@ $(function(){
     });
 });
 
+
 /**
  * 提示框
  *
@@ -148,7 +149,7 @@ const postData = function (url, data, successCallback, errorCallBack, showWaitin
                     successCallback(result.data);
                 }
             } else {
-                toast('error: ' + result.msg, 'error', 'exclamation-circle');
+                toastr.error('error: ' + result.msg);
                 if (errorCallBack) {
                     errorCallBack(result.msg);
                 }
@@ -156,7 +157,7 @@ const postData = function (url, data, successCallback, errorCallBack, showWaitin
             if (showWaiting) closeWaitingView();
         },
         error: function(jqXHR, textStatus, errorThrown){
-            toast('error ' + textStatus + " " + errorThrown, 'error', 'exclamation-circle');
+            toastr.error('error: ' + textStatus + " " + errorThrown);
             if (errorCallBack) {
                 errorCallBack();
             }
@@ -191,7 +192,7 @@ const postDataCompress = function (url, data, successCallback, errorCallBack, sh
                     successCallback(result.data);
                 }
             } else {
-                toast('error: ' + result.msg, 'error', 'exclamation-circle');
+                toastr.error('error: ' + result.msg);
                 if (errorCallBack) {
                     errorCallBack(result.msg);
                 }
@@ -199,7 +200,7 @@ const postDataCompress = function (url, data, successCallback, errorCallBack, sh
             if (showWaiting) closeWaitingView();
         },
         error: function(jqXHR, textStatus, errorThrown){
-            toast('error ' + textStatus + " " + errorThrown, 'error', 'exclamation-circle');
+            toastr.error('error: ' + textStatus + " " + errorThrown);
             if (errorCallBack) {
                 errorCallBack();
             }
@@ -238,7 +239,7 @@ const postDataWithFile = function (url, formData, successCallback, errorCallBack
                     successCallback(result.data);
                 }
             } else {
-                toast('error: ' + result.msg, 'error', 'exclamation-circle');
+                toastr.error('error: ' + result.msg);
                 if (errorCallBack) {
                     errorCallBack();
                 }
@@ -246,7 +247,7 @@ const postDataWithFile = function (url, formData, successCallback, errorCallBack
             if (showWaiting) closeWaitingView();
         },
         error: function(jqXHR, textStatus, errorThrown){
-            toast('error ' + textStatus + " " + errorThrown, 'error', 'exclamation-circle');
+            toastr.error('error: ' + textStatus + " " + errorThrown);
             if (errorCallBack) {
                 errorCallBack();
             }

+ 0 - 18
app/public/js/ledger.js

@@ -24,24 +24,6 @@ const invalidFields = {
 };
 
 $(document).ready(function() {
-    // 提示窗
-    toastr.options = {
-        "closeButton": false,
-        "debug": false,
-        "newestOnTop": false,
-        "progressBar": false,
-        "positionClass": "toast-top-center",
-        "preventDuplicates": false,
-        "onclick": null,
-        "showDuration": "300",
-        "hideDuration": "1000",
-        "timeOut": "5000",
-        "extendedTimeOut": "1000",
-        "showEasing": "swing",
-        "hideEasing": "linear",
-        "showMethod": "fadeIn",
-        "hideMethod": "fadeOut"
-    };
     autoFlashHeight();
     // 初始化台账
     const ledgerSpread = SpreadJsObj.createNewSpread($('#ledger-spread')[0]);

+ 0 - 17
app/public/js/revise.js

@@ -11,23 +11,6 @@
 const ckBillsSpread = window.location.pathname + '-billsSelect';
 
 $(document).ready(() => {
-    toastr.options = {
-        "closeButton": false,
-        "debug": false,
-        "newestOnTop": false,
-        "progressBar": false,
-        "positionClass": "toast-top-center",
-        "preventDuplicates": false,
-        "onclick": null,
-        "showDuration": "300",
-        "hideDuration": "1000",
-        "timeOut": "5000",
-        "extendedTimeOut": "1000",
-        "showEasing": "swing",
-        "hideEasing": "linear",
-        "showMethod": "fadeIn",
-        "hideMethod": "fadeOut"
-    };
     autoFlashHeight();
     // 初始化spread
     const billsSpread = SpreadJsObj.createNewSpread($('#bills-spread')[0]);

+ 0 - 17
app/public/js/revise_history.js

@@ -10,23 +10,6 @@
 const ckBillsSpread = window.location.pathname + '-billsSelect';
 
 $(document).ready(() => {
-    toastr.options = {
-        "closeButton": false,
-        "debug": false,
-        "newestOnTop": false,
-        "progressBar": false,
-        "positionClass": "toast-top-center",
-        "preventDuplicates": false,
-        "onclick": null,
-        "showDuration": "300",
-        "hideDuration": "1000",
-        "timeOut": "5000",
-        "extendedTimeOut": "1000",
-        "showEasing": "swing",
-        "hideEasing": "linear",
-        "showMethod": "fadeIn",
-        "hideMethod": "fadeOut"
-    };
     autoFlashHeight();
     // 初始化spread
     const billsSpread = SpreadJsObj.createNewSpread($('#bills-spread')[0]);

+ 3 - 3
app/public/js/setting.js

@@ -79,11 +79,11 @@ $(document).ready(() => {
                         throw response.msg;
                     }
                     $("#reset-password").val('');
-                    toast('重置成功', 'success', 'check');
+                    toastr.success('重置成功');
                 }
             });
         } catch (error) {
-            toast(error, 'error', 'exclamation-circle');
+            toastr.error(error);
             console.log(error);
         }
     });
@@ -194,7 +194,7 @@ function checkUserForm(status) {
             }
         }
     } catch (err) {
-        toast(err, 'error', 'exclamation-circle');
+        toastr.error(err);
         return false;
     }
 }

+ 24 - 54
app/public/js/stage.js

@@ -124,24 +124,6 @@ function getNodeList(node) {
 }
 
 $(document).ready(() => {
-    // 提示窗
-    toastr.options = {
-        "closeButton": false,
-        "debug": false,
-        "newestOnTop": false,
-        "progressBar": false,
-        "positionClass": "toast-top-center",
-        "preventDuplicates": false,
-        "onclick": null,
-        "showDuration": "300",
-        "hideDuration": "1000",
-        "timeOut": "5000",
-        "extendedTimeOut": "1000",
-        "showEasing": "swing",
-        "hideEasing": "linear",
-        "showMethod": "fadeIn",
-        "hideMethod": "fadeOut"
-    };
     // 界面布局
     autoFlashHeight();
     // 初始化 台账树结构 数据结构
@@ -315,18 +297,9 @@ $(document).ready(() => {
                     if (c.uamount) {
                         const vamount = (!c.vamount || checkZero(c.vamount)) ? 0 : c.vamount;
                         if (c.uamount > vamount) {
-                            toast('变更令:' + c.code + ' 超计,请修改本期计量后,再提交', 'error');
+                            toastr.error('变更令:' + c.code + ' 超计,请修改本期计量后,再提交');
                             return;
                         }
-                        // if (!c.vamount || checkZero(c.vamount)) {
-                        //     toast('变更令:' + c.code + ' 当前不可使用', 'error');
-                        //     return;
-                        // } else {
-                        //     if (c.uamount > c.vamount) {
-                        //         toast('变更令:' + c.code + ' 超计,请修改本期计量后,再提交', 'error');
-                        //         return;
-                        //     }
-                        // }
                         data.change.push({ cid: c.cid, cbid: c.cbid, qty: c.uamount });
                     }
                 }
@@ -413,11 +386,10 @@ $(document).ready(() => {
             const sheet = this.spread.getActiveSheet();
             if (this.changes) {
                 sheet.setSelection(0, 0, 1, 1);
-                //SpreadJsObj.loadSheetData(sheet, SpreadJsObj.DataType.Data, this.changes);
                 this._filterChange(!$('#filterEmpty')[0].checked, $('#matchPos')[0].checked);
                 this._loadChangeDetail(this.changes[0]);
             } else {
-                toast('查询变更令有误,请刷新页面后重试', 'warning');
+                toastr.error('查询变更令有误,请刷新页面后重试');
             }
         }
         _filterChange(filterEmpty, matchPosName) {
@@ -428,10 +400,8 @@ $(document).ready(() => {
                 if ((filterVisible && matchVisible) || (c.org_uamount)) {
                     this.displayChanges.push(c);
                 }
-                //c.visible = filterVisible && matchVisible;
             }
             SpreadJsObj.loadSheetData(this.spread.getActiveSheet(), SpreadJsObj.DataType.Data, this.displayChanges);
-            //SpreadJsObj.refreshTreeRowVisible(this.spread.getActiveSheet());
         }
         loadChanges(data) {
             this.callData = data;
@@ -527,19 +497,19 @@ $(document).ready(() => {
                 }
                 if (col.field.indexOf('_dgn_') > 0) {
                     if (node.b_code && node.b_code !== '') {
-                        toast('仅项目节可输入设计数量');
+                        toastr.error('仅项目节可输入设计数量');
                         SpreadJsObj.reLoadRowData(info.sheet, info.row);
                         return;
                     }
                 } else if (col.field !== 'postil') {
                     if (node.children && node.children.length > 0) {
-                        toast('清单父项不可计量', 'error');
+                        toastr.error('清单父项不可计量');
                         SpreadJsObj.reLoadRowData(info.sheet, info.row);
                         return;
                     } else {
                         const nodePos = stagePos.getLedgerPos(node.id);
                         if (nodePos && nodePos.length > 0) {
-                            toast('该清单有部位明细,请在部位明细处计量', 'error');
+                            toastr.error('该清单有部位明细,请在部位明细处计量');
                             SpreadJsObj.reLoadRowData(info.sheet, info.row);
                             return;
                         }
@@ -638,7 +608,7 @@ $(document).ready(() => {
                 for (let iCol = range.col; iCol < range.col + range.colCount; iCol++) {
                     const col = info.sheet.zh_setting.cols[iCol];
                     if ((stageField.indexOf(col.field) === -1) && setting.dgnUpFields.indexOf(col.field) === -1) {
-                        toast('不可修改此数据', 'error');
+                        toastr.error('不可修改此数据');
                         info.cancel = true;
                         return;
                     }
@@ -892,7 +862,7 @@ $(document).ready(() => {
                 }
                 // 台账模式下,不可新增
                 if (checkTzMeasureType() && !posData) {
-                    toast('台账模式不可新增部位明细数据', 'error');
+                    toastr.error('台账模式不可新增部位明细数据');
                     SpreadJsObj.reLoadRowData(info.sheet, info.row);
                     return ;
                 }
@@ -900,15 +870,15 @@ $(document).ready(() => {
                 //const node = SpreadJsObj.getSelectObject(slSpread.getActiveSheet());
                 const node = stagePosSpreadObj.stageTreeNode;
                 if (!node) {
-                    toast('数据错误, 请刷新页面后再试', 'warning');
+                    toastr.warning('数据错误, 请刷新页面后再试');
                     SpreadJsObj.reLoadRowData(info.sheet, info.row);
                     return;
                 } else if (info.editingText !== '' && node.children && node.children > 0) {
-                    toast('父节点不可插入部位明细', 'error');
+                    toastr.error('父节点不可插入部位明细');
                     SpreadJsObj.reLoadRowData(info.sheet, info.row);
                     return;
                 } else if (info.editingText !== '' && !node.b_code || node.b_code === '') {
-                    toast('项目节不可插入部位明细', 'error');
+                    toastr.error('项目节不可插入部位明细');
                     SpreadJsObj.reLoadRowData(info.sheet, info.row);
                     return;
                 }
@@ -916,7 +886,7 @@ $(document).ready(() => {
                 const data = {};
                 if (col.field === 'name') {
                     if ((!info.editingText || info.editingText === '') && posData) {
-                        toast('部位名称不可为空', 'error', 'exclamation-circle');
+                        toastr.error('部位名称不可为空');
                         SpreadJsObj.reLoadRowData(info.sheet, info.row);
                         return;
                     } else if (!posData) {
@@ -933,7 +903,7 @@ $(document).ready(() => {
                         data.updateData = {pid: posData.id, lid: posData.lid, name: info.editingText};
                     }
                 } else if (!posData) {
-                    toast('新增部位请先输入名称', 'warning');
+                    toastr.warning('新增部位请先输入名称');
                 } else {
                     data.updateType = 'update';
                     data.updateData = {pid: posData.id, lid: posData.lid};
@@ -969,14 +939,14 @@ $(document).ready(() => {
                     const col = info.sheet.zh_setting.cols[iCol];
                     if (validField.indexOf(col.field) === -1) {
                         if (checkTzMeasureType()) {
-                            toast('不可修改此数据', 'error');
+                            toastr.error('不可修改此数据');
                             info.cancel = true;
                             return;
                         } else {
                             for (let iRow = range.row; iRow < range.row + range.rowCount; iRow) {
                                 const pos = sortData(iRow);
                                 if (pos.add_stage !== stage.id || pos.add_times !== stage.times) {
-                                    toast('不可修改此数据', 'error');
+                                    toastr.error('不可修改此数据');
                                     info.cancel = true;
                                     return;
                                 }
@@ -995,7 +965,7 @@ $(document).ready(() => {
                 if (sortData && (info.cellRange.row >= sortData.length)) {
                     data.updateType = 'add';
                     if (info.cellRange.col !== 0) {
-                        toast('新增部位请先输入名称', 'warning');
+                        toastr.warning('新增部位请先输入名称');
                         self.loadCurPosData();
                         return;
                     }
@@ -1068,7 +1038,7 @@ $(document).ready(() => {
                         for (const iCol of validCols) {
                             const colSetting = sheet.zh_setting.cols[iCol];
                             if (colSetting.field === 'name') {
-                                toast('部位名称不能为空', 'error');
+                                toastr.error('部位名称不能为空');
                                 return;
                             }
                             data[colSetting.field] = null;
@@ -1595,17 +1565,17 @@ $(document).ready(() => {
         formData.append('lid', node.id);
         for (const file of files) {
             if (file === undefined) {
-                toast('未选择上传文件!', 'error');
+                toastr.error('未选择上传文件!');
                 return false;
             }
             const filesize = file.size;
             if (filesize > 10 * 1024 * 1024) {
-                toast('存在上传文件大小过大!', 'error');
+                toastr.error('存在上传文件大小过大!');
                 return false;
             }
             const fileext = '.' + file.name.toLowerCase().split('.').splice(-1)[0];
             if (whiteList.indexOf(fileext) === -1) {
-                toast('只能上传指定格式的附件!', 'error');
+                toastr.error('只能上传指定格式的附件!');
                 return false;
             }
             formData.append('size', filesize);
@@ -1619,7 +1589,7 @@ $(document).ready(() => {
             getAllList();
             getNodeList(node.id);
         }, function () {
-            toast('附件上传失败', 'error');
+            toastr.error('附件上传失败');
         });
         $('#upload-file').val('');
     });
@@ -1661,7 +1631,7 @@ $(document).ready(() => {
         } else {
             $('#showAttachment').hide();
             $('#showAttachment').attr('file-id', '');
-            toast('附件信息获取失败', 'error');
+            toastr.error('附件信息获取失败');
         }
     });
     $('body').on('click', '#btn-att a', function () {
@@ -1726,7 +1696,7 @@ $(document).ready(() => {
                 $('#btn-att a').eq(2).hide();
                 $('#btn-att a').eq(3).hide();
             }, function () {
-                toast('附件上传失败', 'error');
+                toastr.error('附件上传失败');
             });
             $('#change-att-btn').val('');
         } else if (content === 'del') {
@@ -1754,12 +1724,12 @@ $(document).ready(() => {
         const fileext = name.substr(name.indexOf("."));
         const filesize = file.size;
         if (filesize > 10 * 1024 * 1024) {
-            toast('文件大小过大!', 'error');
+            toastr.error('文件大小过大!');
             $('#change-att-btn').val('');
             return false;
         }
         if (whiteList.indexOf(fileext) === -1) {
-            toast('只能上传指定格式的附件!', 'error');
+            toastr.error('只能上传指定格式的附件!');
             $('#change-att-btn').val('');
             return false;
         }

+ 2 - 2
app/public/js/stage_audit.js

@@ -29,7 +29,7 @@ $(document).ready(function () {
                 $('p', resultDiv).text(data.company);
                 resultDiv.show();
             } else {
-                toast('未查询到该审核人', 'info');
+                toastr.info('未查询到该审核人');
                 resultDiv.hide();
             }
         }, () => {
@@ -145,7 +145,7 @@ $(document).ready(function () {
 // 检查上报情况
 function checkAuditorFrom () {
     if ($('#auditors li').length === 0) {
-        toast('请先选择审批人,再上报数据', 'error', 'exclamation-circle');
+        toast.error('请先选择审批人,再上报数据');
         return false;
     }
 }

+ 1 - 1
app/public/js/stage_change.js

@@ -311,7 +311,7 @@ $(document).ready(() => {
     // 本期已用变更
     $('#used-change').click(function () {
         if (usedChangesId.length === 0 && this.checked) {
-            toast('本期无已用变更令', 'hint');
+            toastr.info('本期无已用变更令');
             this.checked = false;
         }
         changeSpreadObj.filterUsedChange(this.checked);

+ 2 - 2
app/public/js/stage_detail.js

@@ -176,7 +176,7 @@ $(document).ready(() => {
             if (info.sheet.zh_setting && info.sheet.zh_data) {
                 const col = info.sheet.zh_setting.cols[info.cellRange.col];
                 if (info.cellRange.colCount > 1) {
-                    toast('请勿同时复制粘贴多列数据', 'warning');
+                    toastr.warning('请勿同时复制粘贴多列数据');
                     SpreadJsObj.reLoadSheetData(paySpread.getActiveSheet());
                     return;
                 }
@@ -684,7 +684,7 @@ $(document).ready(() => {
         const ext = file.name.toLowerCase().split('.').splice(-1)[0];
         const imgStr = /(jpg|jpeg|png|bmp|BMP|JPG|PNG|JPEG)$/;
         if (!imgStr.test(ext)) {
-            toast('请上传正确的图片格式文件', 'error');
+            toastr.error('请上传正确的图片格式文件');
             return
         }
         if ($(this).val()) {

+ 0 - 17
app/public/js/stage_pay.js

@@ -47,23 +47,6 @@ function makeAttTable(payNode) {
 }
 
 $(document).ready(() => {
-    toastr.options = {
-        "closeButton": false,
-        "debug": false,
-        "newestOnTop": false,
-        "progressBar": false,
-        "positionClass": "toast-top-center",
-        "preventDuplicates": false,
-        "onclick": null,
-        "showDuration": "300",
-        "hideDuration": "1000",
-        "timeOut": "5000",
-        "extendedTimeOut": "1000",
-        "showEasing": "swing",
-        "hideEasing": "linear",
-        "showMethod": "fadeIn",
-        "hideMethod": "fadeOut"
-    };
     autoFlashHeight();
     const payCalc = (function (b) {
         class PayCalc {

+ 0 - 21
app/view/change/info.ejs

@@ -715,28 +715,7 @@
         </div>
     </div>
 </div>
-<link href="/public/css/toastr.css" rel="stylesheet">
-<script src="/public/js/toastr.min.js"></script>
 <script>
-    $(document).ready(() => {
-        toastr.options = {
-            "closeButton": false,
-            "debug": false,
-            "newestOnTop": false,
-            "progressBar": false,
-            "positionClass": "toast-top-right",
-            "preventDuplicates": false,
-            "onclick": null,
-            "showDuration": "300",
-            "hideDuration": "1000",
-            "timeOut": "5000",
-            "extendedTimeOut": "1000",
-            "showEasing": "swing",
-            "hideEasing": "linear",
-            "showMethod": "fadeIn",
-            "hideMethod": "fadeOut"
-        };
-    })
     let table = '';
     const totalPriceUnit = '<%- tpUnit %>';
     const unitPriceUnit = '<%- upUnit %>';

+ 20 - 3
app/view/layout/layout.ejs

@@ -14,8 +14,8 @@
     <link rel="stylesheet" href="/public/css/spreadjs/sheets/gc.spread.sheets.excelsmartcost.css">
     <link rel="stylesheet" href="/public/css/jquery-contextmenu/jquery.contextMenu.min.css">
     <link rel="stylesheet" href="/public/css/ztree/zTreeStyle.css" type="text/css">
-    <link rel="stylesheet" href="/public/css/datepicker/datepicker.min.css" rel="stylesheet" type="text/css">
-    <link href="/public/css/toastr.css" rel="stylesheet">
+    <link rel="stylesheet" href="/public/css/datepicker/datepicker.min.css" type="text/css">
+    <link rel="stylesheet" href="/public/css/toastr.css">
     <!-- JS. -->
     <% for (const file of jsFiles) { %>
     <script type="text/javascript" src="<%- file %>"></script>
@@ -39,6 +39,23 @@
 </div>
 <%- modal %>
 <script type="text/javascript">
+    toastr.options = {
+        "closeButton": false,
+        "debug": false,
+        "newestOnTop": false,
+        "progressBar": false,
+        "positionClass": "toast-top-center",
+        "preventDuplicates": false,
+        "onclick": null,
+        "showDuration": "300",
+        "hideDuration": "1000",
+        "timeOut": "5000",
+        "extendedTimeOut": "1000",
+        "showEasing": "swing",
+        "hideEasing": "linear",
+        "showMethod": "fadeIn",
+        "hideMethod": "fadeOut"
+    };
     let toastInfo = '<%- message %>';
     try {
         toastInfo = toastInfo !== '' && toastInfo !== 'null' ? JSON.parse(toastInfo) : '';
@@ -47,7 +64,7 @@
     }
 
     if (toastInfo !== '') {
-        toast(toastInfo.message, toastInfo.type, toastInfo.icon);
+        toastr[type](toastInfo.message);
     }
     let user = '<%= ctx.session.sessionUser.name %>';
 </script>

+ 1 - 6
config/web.js

@@ -48,6 +48,7 @@ const JsFiles = {
         "/public/js/lodash.js",
         "/public/js/lz-string/lz-string.js",
         "/public/js/number-precision.js",
+        "/public/js/toastr.min.js",
         "/public/js/global.js",
     ],
     controller: {
@@ -109,7 +110,6 @@ const JsFiles = {
                     "/public/js/js-xlsx/xlsx.utils.js",
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
                     "/public/js/decimal.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",
@@ -143,7 +143,6 @@ const JsFiles = {
                 files: [
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
                     "/public/js/decimal.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",
@@ -162,7 +161,6 @@ const JsFiles = {
                 files: [
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
                     "/public/js/decimal.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",
@@ -179,7 +177,6 @@ const JsFiles = {
                 files: [
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
                     "/public/js/decimal.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",
@@ -199,7 +196,6 @@ const JsFiles = {
                 files: [
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
                     "/public/js/decimal.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",
@@ -233,7 +229,6 @@ const JsFiles = {
             pay: {
                 files: [
                     "/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js",
-                    "/public/js/toastr.min.js",
                 ],
                 mergeFiles: [
                     "/public/js/sub_menu.js",