<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_50328560的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_50328560</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_50328560]]></copyright><item><title><![CDATA[批量插入复选框控件]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/121443646</link><guid>https://blog.csdn.net/weixin_50328560/article/details/121443646</guid><author>weixin_50328560</author><pubDate>Sat, 20 Nov 2021 18:51:48 +0800</pubDate><description><![CDATA[批量插入复选框控件
实现原理：
复选框可以通过手工逐个插入，并关联相应单元格，但若要批量插入好几百，再逐一插入，这样的工作效率会非常低。
其实excel软件提供了宏功能，你可以编写一段宏然后执行，即可批量执行插入复选框的动作。
操作步骤：
1、插入模块，写入以下代码：开发工具选项卡—Visual Basic—插入模块
Sub 添加复选框()

On Error Resume Next

'注释：关闭屏幕刷新，加快运行速度。

Application.ScreenUpdating = False

Dim 单]]></description><category></category></item><item><title><![CDATA[postman访问后端接口新手使用手册]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113417384</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113417384</guid><author>weixin_50328560</author><pubDate>Sat, 30 Jan 2021 10:49:04 +0800</pubDate><description><![CDATA[1.访问本地的token  localhost或本地地址都可以  类型post连接

2.设置连接方式  application + 接受数据为json格式 + 设置编码charset=utf8避免出现格式问题

3.输入body中的的访问参数

4.点击发送即可获取token令牌
5.需要访问后端的接口

6.携带token令牌进行访问即可

...]]></description><category></category></item><item><title><![CDATA[vue表单列表加字段显示]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113369200</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113369200</guid><author>weixin_50328560</author><pubDate>Fri, 29 Jan 2021 10:23:24 +0800</pubDate><description><![CDATA[1.根据物料编号从物料表查询物料型号
&lt;template v-slot:_spec="{ row, column }"&gt;
   {{ specMap[row.materialCode] ? specMap[row.materialCode].specificationType : '--'}}
&lt;/template&gt;

2.调用后端接口的方法
import { findAllMaterials } from '@/api/basicdata/api-Material'

3.用map]]></description><category></category></item><item><title><![CDATA[动态表单属性溢出处理]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113250763</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113250763</guid><author>weixin_50328560</author><pubDate>Wed, 27 Jan 2021 15:50:27 +0800</pubDate><description><![CDATA[{
   slotName: '_material',
   prop: 'materialCode',
   label: '物料',
   'show-overflow-tooltip': true,
   align: 'center'
},


]]></description><category></category></item><item><title><![CDATA[vue列表前增加复选框并选中取消]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113243532</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113243532</guid><author>weixin_50328560</author><pubDate>Wed, 27 Jan 2021 11:01:00 +0800</pubDate><description><![CDATA[columns: [
    {
       type: 'selection',
       width: '55'
    },
 {


]]></description><category></category></item><item><title><![CDATA[el-form-item不同状态并以id存入数据库]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113242760</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113242760</guid><author>weixin_50328560</author><pubDate>Wed, 27 Jan 2021 10:36:33 +0800</pubDate><description><![CDATA[&lt;el-form-item label="是否合格 :" prop="isQualified"&gt;
      &lt;!-- &lt;el-input v-model="saveOrUpdateForm.isQualified" /&gt; --&gt;
      &lt;el-radio v-model="saveOrUpdateForm.isQualified" label="1"&gt;是&lt;/el-radio&gt;
      &lt;el-radio v-model="save]]></description><category></category></item><item><title><![CDATA[vue不同状态存入数据库]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/113240528</link><guid>https://blog.csdn.net/weixin_50328560/article/details/113240528</guid><author>weixin_50328560</author><pubDate>Wed, 27 Jan 2021 09:34:31 +0800</pubDate><description><![CDATA[processType: {
          label: '工艺类型',
          key: 'processType',
          span: 24,
          component: 'BaseElSelect',
          rules: [
            { required: true, message: '请选择工艺类型', trigger: 'blur' }
          ],
          props: {
          ]]></description><category></category></item><item><title><![CDATA[java验证字符]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112970300</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112970300</guid><author>weixin_50328560</author><pubDate>Thu, 21 Jan 2021 19:33:49 +0800</pubDate><description><![CDATA[java验证字符串是否为中文
[\u4e00-\u9fa5]

正则
// 联系人验证
    var contactName = (rule, value, callback) =&gt; {
      if (!value) {
        return callback(new Error('联系人不能为空'))
      } else {
        const reg = /^(?:[\u4e00-\u9fa5])+$/
        if (reg.test(value)) {
 ]]></description><category></category></item><item><title><![CDATA[生成编码规则字母加数字]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112845307</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112845307</guid><author>weixin_50328560</author><pubDate>Tue, 19 Jan 2021 16:06:28 +0800</pubDate><description><![CDATA[// 参考bai三目运算
int i=1;//
String b=String.valueOf(i);//转换成string类型
b = (b.length() == 1 ? "000" + b : b.length() == 2 ? "00" + b: b.length() == 3 ? "0" + b : b);  //百/十/个
b="B"+b;
System.out.println(b);//输出结zhuan果shu为：B0001
}


...]]></description><category></category></item><item><title><![CDATA[mysql名称排序]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112836544</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112836544</guid><author>weixin_50328560</author><pubDate>Tue, 19 Jan 2021 15:11:39 +0800</pubDate><description><![CDATA[select * from person ORDER BY CONVERT(name USING gbk);

]]></description><category></category></item><item><title><![CDATA[vue翻页自增序号]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112686728</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112686728</guid><author>weixin_50328560</author><pubDate>Fri, 15 Jan 2021 20:05:15 +0800</pubDate><description><![CDATA[&lt;el-table-column
        label="序号"
        type="index"
        width="50"
        align="center"&gt;
    &lt;template scope="scope"&gt;
        &lt;span&gt;{{(page - 1) * pageSize + scope.$index + 1}}&lt;/span&gt;
    &lt;/template&gt;
&lt;/el-table-c]]></description><category></category></item><item><title><![CDATA[vue模糊查询无反应]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112685513</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112685513</guid><author>weixin_50328560</author><pubDate>Fri, 15 Jan 2021 18:56:12 +0800</pubDate><description><![CDATA[经排查,问题点1:
$$LIKE必须大写,小写会失效
&lt;el-form-item label="请验单编号:" label-width="100px"&gt;
   &lt;el-input v-model="searchForm.inspection_request_no$$LIKE" placeholder="请验单编号" /&gt;
&lt;/el-form-item&gt;

问题点2:
include标签不能去掉
a:WhereSql
b:OrderSql
&lt;select id="f.]]></description><category></category></item><item><title><![CDATA[设置主键唯一UNIQUE]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112649964</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112649964</guid><author>weixin_50328560</author><pubDate>Fri, 15 Jan 2021 10:39:30 +0800</pubDate><description><![CDATA[设置主键唯一UNIQUE


]]></description><category></category></item><item><title><![CDATA[vue验证表中内容是否存在]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112612066</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112612066</guid><author>weixin_50328560</author><pubDate>Thu, 14 Jan 2021 17:40:39 +0800</pubDate><description><![CDATA[验证表中内容是否存在
data(){
	rules: [
        { required: true, message: '请输入供应商编码', trigger: 'blur' },
        { max: 20, message: '最大长度在20个字符', trigger: 'blur' },
        { validator: this.validatorCode, trigger: 'blur' }
     ]
  },
}

编码检查
// 编码检查
    async val]]></description><category></category></item><item><title><![CDATA[vue 表格内容居中]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112601033</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112601033</guid><author>weixin_50328560</author><pubDate>Thu, 14 Jan 2021 10:19:07 +0800</pubDate><description><![CDATA[1.在每个el-table-column标签上边设置align="center"
&lt;el-table-column
		prop="id"
		label="ID"
		align="center"&gt;
&lt;/el-table-column&gt;

2.引用
在el-table标签中添加属性:cell-style=“rowStyle”
在methods方法中定义方法rowStyle
&lt;el-table
      :data="tableData"
      :cell-style=]]></description><category></category></item><item><title><![CDATA[三目运算符来解决按钮显示内容不一问题]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112599644</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112599644</guid><author>weixin_50328560</author><pubDate>Thu, 14 Jan 2021 09:21:17 +0800</pubDate><description><![CDATA[新增编辑删除按钮显示内容不一样,用三目运算符来表示
{{ type === 'add' ? '新增供应商联系人' :( type === 'detail' ? '供应商联系人详情' : '编辑供应商联系人' ) }}


]]></description><category></category></item><item><title><![CDATA[vue实现文本框默认值]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112587551</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112587551</guid><author>weixin_50328560</author><pubDate>Wed, 13 Jan 2021 20:07:02 +0800</pubDate><description><![CDATA[&lt;el-form-item label="角色名称" prop="role_name"&gt;
            &lt;el-input
              v-model="add_edit_form.role_name"
              placeholder="请输入"
              style="width: 400px;"
            /&gt;
          &lt;/el-form-item&gt;


...]]></description><category></category></item><item><title><![CDATA[极耳胶id转名称]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112521471</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112521471</guid><author>weixin_50328560</author><pubDate>Tue, 12 Jan 2021 13:36:49 +0800</pubDate><description><![CDATA[&lt;!-- 极耳胶类型 --&gt;
&lt;template v-slot:_glueType="{ row, column }"&gt;
{{ glueTypeMap[row.glueType] ? glueTypeMap[row.glueType].glueType : '--' }}
&lt;/template&gt;

import { getGlueTypeList } from '@/api/basicdata/api-GlueType'

data() {
return {
glueTy]]></description><category></category></item><item><title><![CDATA[vue中必填项有值,还弹出异常,F12报XXX is required]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112509051</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112509051</guid><author>weixin_50328560</author><pubDate>Tue, 12 Jan 2021 10:39:33 +0800</pubDate><description><![CDATA[1.属性绑定错误，确保绑定的是  :model   而不是v-model !
&lt;el-form
    ref="add_edit_form"
    :model="add_edit_form"
    :rules="add_edit_rules"
    label-width="110px"  
&gt;

2.是否在其他el-form 中使用了相同的ref 名

]]></description><category></category></item><item><title><![CDATA[vue element-ui验证手机号码]]></title><link>https://blog.csdn.net/weixin_50328560/article/details/112270841</link><guid>https://blog.csdn.net/weixin_50328560/article/details/112270841</guid><author>weixin_50328560</author><pubDate>Wed, 06 Jan 2021 14:21:28 +0800</pubDate><description><![CDATA[// 手机号码验证
    var contactPhone = (rule, value, callback) =&gt; {
      if (!value) {
        return callback(new Error('手机号不能为空'))
      } else {
        const reg = /^1[3|4|5|7|8][0-9]\d{8}$/
        if (reg.test(value)) {
          callback()
        } e]]></description><category></category></item></channel></rss>