From 70afd6e1e3a538dab381f28796c63ad8c33d978b Mon Sep 17 00:00:00 2001 From: wangjiadong <1654135867@qq.com> Date: Tue, 27 Dec 2022 16:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E7=95=99=E6=AD=A3=E6=95=B4=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E4=B8=94=E4=BF=9D=E7=95=99=E4=B8=80=E4=BD=8D=E5=B0=8F?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/modules/CustomerMeasureForm.vue | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue index be465466..ba0f415c 100644 --- a/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue +++ b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue @@ -153,6 +153,58 @@ { required: false}, { validator: (rule, value, callback) => validateDuplicateValue('customer_measure', 'sort', value, this.model.id, callback)}, ], + height: [ + { required: true, message: '请输入身高!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + weight: [ + { required: true, message: '请输入体重!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + cuff: [ + { required: true, message: '请输入袖口!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + sleeveLength: [ + { required: true, message: '请输入袖长!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + bust: [ + { required: true, message: '请输入胸围!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + theWaist: [ + { required: true, message: '请输入腰围!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + shoulderWidth: [ + { required: true, message: '请输入肩宽!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + forebodyLength: [ + { required: true, message: '请输入前身长!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + neck: [ + { required: true, message: '请输入领围!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + hipline: [ + { required: true, message: '请输入臀围!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + length: [ + { required: true, message: '请输入衣长!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + sternalDistance: [ + { required: true, message: '请输入胸距!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], + hem: [ + { required: true, message: '请输入下摆!'}, + {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, + ], }, url: { add: "/customermeasure/customerMeasure/add",