Demo
2024-02-19 1204e1ae66a50ec99b4dea80e839c1264c36ef48
HTML/views/ASNSetting/LabelPrint.html
@@ -119,12 +119,17 @@
            var expirationTime = getQueryString('ExpirationTime');
            var storeTime = getQueryString('StoreTime');  
            
            var doing = true;
            // console.log(productionTime);
            // console.log(expirationTime);
            // console.log(storeTime);
            //生成
            $('#btnAdd').on('click', function () {
                if(doing){
                    doing= false;
                var param = {
                    Id: parseInt(id),
                    IsReset:reset, 
@@ -142,15 +147,19 @@
                        }, function () {
                            parent.location.reload();
                            parent.layer.close(layer.index);
                                doing = true;
                        });
                        
                    } else { //不成功
                        layer.msg(res.msg, {
                            icon: 2,
                            time: 2000 //2秒关闭(如果不配置,默认是3秒)
                        }, function () { });
                            }, function () {
                                doing = true;
                            });
                    }
                });
                }
            });
            //打印
            $('#btnPrint').on('click', function () {