|
@@ -480,35 +480,11 @@ export default {
|
|
|
form: {},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
- names: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "综合保税区经济运行主要指标表主键不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- pattern: /^-?(([0-9]*(\.[0-9]{1,3})$)|([0-9]+$))/,
|
|
|
- message: "值需为数字或小数",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- id: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "综合保税区经济运行主要指标表主键不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- {
|
|
|
- pattern: /^-?(([0-9]*(\.[0-9]{1,3})$)|([0-9]+$))/,
|
|
|
- message: "值需为数字或小数",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
+
|
|
|
jckzz: [
|
|
|
{ required: true, message: "进出口总值 不能为空", trigger: "blur" },
|
|
|
{
|
|
|
- pattern: /^-?(([0-9]*(\.[0-9]{1,3})$)|([0-9]+$))/,
|
|
|
+ pattern: /^-?(([0-9]*(\.[0-9]{1,100})$)|([0-9]+$))/,
|
|
|
message: "值需为数字或小数",
|
|
|
trigger: "blur",
|
|
|
},
|
|
@@ -520,7 +496,7 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
{
|
|
|
- pattern: /^-?(([0-9]*(\.[0-9]{1,3})$)|([0-9]+$))/,
|
|
|
+ pattern: /^-?(([0-9]*(\.[0-9]{1,100})$)|([0-9]+$))/,
|
|
|
message: "值需为数字或小数",
|
|
|
trigger: "blur",
|
|
|
},
|