|
@@ -338,8 +338,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -349,8 +349,8 @@ export default {
|
|
|
gdzctz: [
|
|
|
{ required: true, message: "固定资产投资不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -369,24 +369,24 @@ export default {
|
|
|
jckzz: [
|
|
|
{ required: true, message: "进、出口总值不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
jkzz: [
|
|
|
{ required: true, message: "进口总值不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
ckzz: [
|
|
|
{ required: true, message: "出口总值不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -397,8 +397,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -409,8 +409,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -421,24 +421,24 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
hgss: [
|
|
|
{ required: true, message: "海关税收不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
swbmss: [
|
|
|
{ required: true, message: "税务部门税收不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -456,8 +456,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -468,8 +468,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -480,8 +480,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -492,8 +492,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
@@ -504,8 +504,8 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
- message: "不能为负数",
|
|
|
+ pattern: /^[+-]?(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,
|
|
|
+ message: "数值需为整数 或 负数 或 小数",
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|