Browse Source

检验记录使用决策默认值

hella_online_20240829
zhang_li 3 months ago
parent
commit
942040124d
  1. 4
      src/views/qms/inspectionRecord/index.vue

4
src/views/qms/inspectionRecord/index.vue

@ -249,13 +249,13 @@ const buttonTableClick = async (val, row) => {
//
// 1使
if (row.estimateCode == 1) {
InspectionRecordMain.allSchemas.formSchema.forEach((itemColumn) => {
InspectionRecordUser.allSchemas.formSchema.forEach((itemColumn) => {
if (itemColumn.field == 'useDecision') {
itemColumn.componentProps.options = useDecisionList?.filter((item) => item.value == 1)
}
})
} else if (row.estimateCode == 2) {
InspectionRecordMain.allSchemas.formSchema.forEach((itemColumn) => {
InspectionRecordUser.allSchemas.formSchema.forEach((itemColumn) => {
if (itemColumn.field == 'useDecision') {
itemColumn.componentProps.options = useDecisionList?.filter((item) => item.value != 1)
}

Loading…
Cancel
Save