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