摘要: 1 function xx(){ 2 //确认提示框 3 $.messager.confirm('提示', '确认XX吗?', function(r){ 4 if (r){ 5 6 7 } 8 }); 9 10 } 阅读全文
posted @ 2021-09-01 14:40 强者qiang 阅读(19) 评论(0) 推荐(0)
摘要: {title:'单价',field:'fPrice', width:60,align:'right',formatter: function(value,rowData){ if (rowData.quotationId!=''&&rowData.quotationId!=undefined){ v 阅读全文
posted @ 2021-09-01 11:24 强者qiang 阅读(43) 评论(0) 推荐(0)
摘要: 1 /* 获取系统当前时间方法start */ 2 3 function datetime() { 4 var now = new Date(); 5 $('#createDate').val(now.getFullYear() + "-" 6 + (now.getMonth() + 1) + "- 阅读全文
posted @ 2021-09-01 09:42 强者qiang 阅读(119) 评论(0) 推荐(0)
摘要: 1 //把数字金额转换成中文大写数字 2 function changeNumMoneyToChinese(money) { 3 var cnNums = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"); //汉字的数字 4 v 阅读全文
posted @ 2021-08-26 14:24 强者qiang 阅读(916) 评论(0) 推荐(0)
摘要: 1 function updateRows() { //获取新数据 2 var prows = parent.getRows(); 3 var rows = jQuery('#mydatagrid').datagrid('getRows'); 4 $(rows).each(function (ind 阅读全文
posted @ 2021-08-26 14:22 强者qiang 阅读(874) 评论(0) 推荐(0)