随笔分类 - Layui
摘要://单击销售订单 $(document).on('click', '.under-line', function () { var detailsId = $(this).attr('data-id'), orderNo = $(this).attr('data-orderNo'); //windo
阅读全文
摘要:done: function (res, curr, count) { var onwanceTotal=0; layui.each(res.data, function (index, d) { onwanceTotal += Number(d.Description) }) this.elem.
阅读全文
摘要:在模块MtreeTable.js 导出模块名称 在全局配置导出模块
阅读全文
摘要:case 'eventkc': top.layer.prompt({ formType: 0, title: '修改<span style="color:red">' + data.basicId + '</span> 亲优价格', value: data.sku_price_kc, "succes
阅读全文
摘要:table.render({ elem: '#test-table-comelist' ,url: layui.setter.base + 'list/comelist' ,cols: [[]] ,done: function(res, curr, count){ var mycars=new Ar
阅读全文
摘要:@*<a href="javascript:void(0)" title="google" onclick="window.parent.addTab('', '测试', 'Admin/UserRole', '100000')">测试444</a>*@
阅读全文
摘要:lay('.test-item').each(function(){ var d = new Date(); laydate.render({ elem: this ,max: 0 ,value: d.getFullYear() + '-' + lay.digit(d.getMonth() + 1)
阅读全文
摘要:1)关闭特定iframe //当在iframe页面关闭自身时,在iframe页执行以下js脚本 var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执
阅读全文
摘要:case "edit": var indext= layer.open({ type: 2, title: '产品信息列表', //shadeClose: true, //点击遮罩关闭 shade: 0.8, area: ['70%', '90%'], btn: ['确认', '取消'], //按钮
阅读全文
摘要:给链接或按钮 添加 onclick="self.parent.addTab('百度','http://www.baidu.com','icon-add')" 如: <a href="javascript:void(0)" title="google" onclick="self.parent.add
阅读全文