Browse Source

修改bug。

master_hella_20240701
liuchen864 7 months ago
parent
commit
615ca197bd
  1. 8
      src/views/qms/basicDataManage/inspectionScheme/addForm.vue
  2. 16
      src/views/qms/inspection/inspectionRequest/inspectionRequestMain.data.ts

8
src/views/qms/basicDataManage/inspectionScheme/addForm.vue

@ -104,7 +104,13 @@
'检验模板',
InspectionTemplateMain.allSchemas,
InspectionTemplateApi.inspectionTemplatePage,
null,
[
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
],
false,
'main',
null

16
src/views/qms/inspection/inspectionRequest/inspectionRequestMain.data.ts

@ -370,8 +370,8 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
// 表单校验
export const InspectionRequestPackageRules = reactive({
packageCode: [required],
packageSpecificationCode: [required],
// packageCode: [required],
// packageSpecificationCode: [required],
amount: [required,{ validator:validateTwoNum, message: '小数点后最多2位', trigger: 'blur'}],
measuringUnit: [required],
})
@ -388,9 +388,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{
disabled:true
},
table:{
width:200
},
isTableForm:false,
form:{
componentProps:{
@ -406,9 +403,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{
disabled:false
},
table:{
width:200
}
},
{
label: '包装规格',
@ -418,9 +412,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{
disabled:false
},
table:{
width:180
}
},
{
label: '数量',
@ -434,9 +425,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{
disabled:false
},
table:{
width:150
}
},
{
label: '计量单位',

Loading…
Cancel
Save