摘要: 老是忘,记下来 string s1 = string.Format("'{0}'", SourceName.Replace(",", "','")); 阅读全文
posted @ 2020-10-28 11:39 小小小菜鸟1 阅读(1814) 评论(0) 推荐(2) 编辑
摘要: let sql = `select consignor_Id from Base_Agent_Rate where agent_Id = ? group by consignor_Id UNION ALL SELECT consignor_Id FROM Base_Agent_RateTwo WHE 阅读全文
posted @ 2020-08-19 11:32 小小小菜鸟1 阅读(318) 评论(0) 推荐(1) 编辑
摘要: <el-form :inline="true" :model="formData"> <el-form-item label="所属仓库"> <el-select v-model="formData.storageName" placeholder="请选择" class="w-200" @chan 阅读全文
posted @ 2020-08-16 18:21 小小小菜鸟1 阅读(1081) 评论(1) 推荐(0) 编辑
摘要: import moment = require("moment"); let days = Number(baseprodInfo.shelfLifeDay); // 拿到生产日期 天数 // 生产日期加上保质期天数,得到有效期 let effectivedate = moment(produceD 阅读全文
posted @ 2020-08-12 16:03 小小小菜鸟1 阅读(586) 评论(0) 推荐(0) 编辑
摘要: a. filter(): 主要用于筛选过滤数组,返回符合筛选条件的数据,不会改变原数组。 b. map():主要用于循环遍历数组,也可以根据某些条件筛选数据,不会改变原数组。 c. find(): 主要用于查找数组的数据,只要查找到一条符合条件的数据,直接返回,不会再继续查找下去。没有找到符合条件的 阅读全文
posted @ 2020-06-10 14:46 小小小菜鸟1 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Node.js 前端 || 并且 if(a >3 || b >6) // a大于3 或者 b 大于 6 任意一个条件满足就执行后面的代码 { } && 或者 if(a >3 && b >6) // a大于3 同时 b 大于 6 的才执行后面的代码 { } 阅读全文
posted @ 2020-06-05 18:40 小小小菜鸟1 阅读(118) 评论(0) 推荐(0) 编辑
摘要: let groupList = this.dataListSelections.reduce( (all, next) => (all.some(item => item.agentName == next.agentName) ? all : [...all, next]), [] ); if(g 阅读全文
posted @ 2020-05-28 10:34 小小小菜鸟1 阅读(484) 评论(0) 推荐(0) 编辑
摘要: const Core = require("@alicloud/pop-core"); var client = new Core({ accessKeyId: "xxxxxx", accessKeySecret: "xxxxxxx", endpoint: "https://dysmsapi.ali 阅读全文
posted @ 2020-03-22 16:34 小小小菜鸟1 阅读(757) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-22 16:30 小小小菜鸟1 阅读(39) 评论(0) 推荐(0) 编辑
摘要: string strPatern2= @"(^(\d{3,4}-)?\d{6,8}$)"; string strPatern = @"(^1[3-8]\d{9}$|^\d{3}-\d{8}$|^\d{4}-\d{7}$)"; System.Text.RegularExpressions.Regex 阅读全文
posted @ 2019-09-24 16:28 小小小菜鸟1 阅读(430) 评论(1) 推荐(0) 编辑