2024年10月10日

合并exel、exel 字体颜色、exel 背景颜色

摘要: //合并exel$newobj->mergeCells('A1:A3'); //exel 字体颜色$newobj->getStyle('A1:A2')->getFont()->getColor()->setARGB('ff0000'); //exel 背景颜色$newobj->getStyle('A 阅读全文

posted @ 2024-10-10 16:20 磊有三颗小石头 阅读(7) 评论(0) 推荐(0) 编辑

2024年9月19日

sql左联表更新数据

摘要: UPDATE tms_supplier tsLEFT JOIN ams_supplier_main_account am ON am.asma_id = ts.asma_id SET ts.tms_sup_bank_name = am.bank_name WHERE ts.asma_id IN ( 阅读全文

posted @ 2024-09-19 09:35 磊有三颗小石头 阅读(11) 评论(0) 推荐(0) 编辑

2024年8月12日

js 防抖

摘要: ipt.oninput = antishake(function(){ console.log(this.value) },500); function antishake(fn,delay){ var t = null; return function(){ if(t !== null){ cle 阅读全文

posted @ 2024-08-12 18:15 磊有三颗小石头 阅读(5) 评论(0) 推荐(0) 编辑

2024年6月6日

td 数字换行css

摘要: word-break:break-all; 阅读全文

posted @ 2024-06-06 09:10 磊有三颗小石头 阅读(4) 评论(0) 推荐(0) 编辑

2024年6月4日

input 复选框 和文字 对齐样式

摘要: .box_sp{ display: flex; align-items: center;}.box_sp span{ display: inline-block; height: 15px; line-height: 17px;} <td class="box_sp"> <input class=" 阅读全文

posted @ 2024-06-04 15:53 磊有三颗小石头 阅读(6) 评论(0) 推荐(0) 编辑

input 只读置灰样式

摘要: input[readonly]{ background: #eee;}select[readonly]{ background: #eee;} 阅读全文

posted @ 2024-06-04 15:17 磊有三颗小石头 阅读(9) 评论(0) 推荐(0) 编辑

2024年4月22日

input js 只能输入数字和两位小数

摘要: function onlyNumber(obj){ //得到第一个字符是否为负号 var t = obj.value.charAt(0); //先把非数字的都替换掉,除了数字和.和-号 obj.value = obj.value.replace(/[^\d\.]/g,''); //前两位不能是0加数 阅读全文

posted @ 2024-04-22 10:00 磊有三颗小石头 阅读(239) 评论(0) 推荐(0) 编辑

2023年12月12日

input js 只能输入两位小数

摘要: onkeyup="value = (value || '').replace(/[^\d\.]/, '').replace(/^0{1,}(\d+)/, '$1').replace(/^\.{1,}(\d*)/, '$1') .replace(/^(\d+)\.+(\d*)$/, '$1.$2'). 阅读全文

posted @ 2023-12-12 14:01 磊有三颗小石头 阅读(236) 评论(0) 推荐(0) 编辑

2023年11月30日

2024年系统节假日sql

摘要: CREATE TABLE `system_workday` ( `day_id` int(11) NOT NULL AUTO_INCREMENT, `day_day` int(11) DEFAULT NULL COMMENT '时间 年月日', `day_type` int(4) DEFAULT ' 阅读全文

posted @ 2023-11-30 09:51 磊有三颗小石头 阅读(692) 评论(0) 推荐(0) 编辑

2023年11月22日

添加索引 yii获取sql

摘要: //添加索引sqlALTER TABLE `work_map` ADD INDEX idx_wmp_region_id ( `wmp_region_id` ) 仓库工作单方案准备列表,展示角色所配置城市的工作单信息短信消息模版调整 git remote update origin --prune y 阅读全文

posted @ 2023-11-22 17:41 磊有三颗小石头 阅读(16) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示