|
|
@ -209,7 +209,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<!-- <el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="每份样品量" prop="samplePieceSize"> |
|
|
|
<el-input |
|
|
|
v-model="data.samplePieceSize" |
|
|
@ -217,7 +217,7 @@ |
|
|
|
:disabled="isSamplePieceSizeDisabled" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> --> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="生效时间" prop="effectiveDate"> |
|
|
|
<el-date-picker |
|
|
@ -802,7 +802,7 @@ const data = ref({ |
|
|
|
available: 'TRUE', |
|
|
|
dynamicUpdateCode: '', |
|
|
|
description: '', |
|
|
|
samplePieceSize: 1, |
|
|
|
samplePieceSize: '', |
|
|
|
uom: '', |
|
|
|
process: [] |
|
|
|
}) |
|
|
@ -828,10 +828,10 @@ const rules = ref({ |
|
|
|
// splitRule: [{ required: true, message: '请选择拆分规则', trigger: ['blur', 'change'] }], |
|
|
|
aql: [{ required: true, message: '请选择aql', trigger: ['blur', 'change'] }], |
|
|
|
inspectionLevel: [{ required: true, message: '请选择检验水平', trigger: ['blur', 'change'] }], |
|
|
|
// samplePieceSize: [ |
|
|
|
// { required: true, message: '请输入每份样品量', trigger: ['blur', 'change'] }, |
|
|
|
// { validator: validateTwoNum, message: '小数点后最多2位', trigger: 'blur' } |
|
|
|
// ], |
|
|
|
samplePieceSize: [ |
|
|
|
{ required: true, message: '请输入每份样品量', trigger: ['blur', 'change'] }, |
|
|
|
{ validator: validateTwoNum, message: '小数点后最多2位', trigger: 'blur' } |
|
|
|
], |
|
|
|
|
|
|
|
effectiveDate: [{ required: true, message: '请选择生效时间', trigger: ['blur', 'change'] }], |
|
|
|
expirationDate: [{ required: true, message: '请选择失效时间', trigger: ['blur', 'change'] }], |
|
|
@ -1017,7 +1017,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any |
|
|
|
available: 'TRUE', |
|
|
|
dynamicUpdateCode: '', |
|
|
|
description: '', |
|
|
|
samplePieceSize: 1, |
|
|
|
samplePieceSize: '', |
|
|
|
uom: '', |
|
|
|
process: [] |
|
|
|
} |
|
|
|