|
|
|
@ -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", |
|
|
|
|