|
|
@ -187,6 +187,16 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="每份样品量" prop="samplePieceSize"> |
|
|
|
<el-input v-model="data.samplePieceSize" placeholder="请填写每份样品量" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="是否整检" prop="isWhole"> |
|
|
|
<el-switch v-model="data.isWhole" active-value="TRUE" inactive-value="FALSE" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="生效时间" prop="effectiveDate"> |
|
|
|
<el-date-picker |
|
|
@ -637,6 +647,7 @@ import * as DynamicRuleApi from '@/api/qms/dynamicRule' //动态修改规则 |
|
|
|
import { DynamicRule } from '@/views/qms/basicDataManage/dynamicRule/dynamicRule.data' //动态修改规则 |
|
|
|
import * as SelectedSetApi from '@/api/qms/selectedSet' //选择集 |
|
|
|
import { SelectedSet } from '@/views/qms/basicDataManage/selectedSet/selectedSet.data' //选择集 |
|
|
|
import {validateTwoNum} from '@/utils/validator' |
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
|
|
|
@ -696,6 +707,8 @@ const data = ref({ |
|
|
|
available: 'TRUE', |
|
|
|
dynamicUpdateCode: '', |
|
|
|
description:'', |
|
|
|
samplePieceSize:'', |
|
|
|
isWhole:'TRUE', |
|
|
|
process: [] |
|
|
|
}) |
|
|
|
|
|
|
@ -721,7 +734,13 @@ 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'] }], |
|
|
|
inspectionLevel: [ |
|
|
|
{ required: true, message: '请选择检验水平', trigger: ['blur', 'change'] }, |
|
|
|
], |
|
|
|
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'] }], |
|
|
|
'inspectionCharacteristicsBaseVO.description': [ |
|
|
@ -826,6 +845,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any |
|
|
|
available: 'TRUE', |
|
|
|
dynamicUpdateCode:'', |
|
|
|
description:"", |
|
|
|
isWhole:"TRUE", |
|
|
|
process: [] |
|
|
|
} |
|
|
|
} |
|
|
|