Browse Source

HL-5741检验记录中编辑按钮改为未发布的都可以编辑

hella_online_20240904
zhang_li 2 months ago
parent
commit
9725831c69
  1. 2
      src/views/qms/inspectionRecord/index.vue
  2. 2
      src/views/qms/inspectionRecord/inspectionRecordMain.data.ts

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

@ -223,7 +223,7 @@ const isShowEditBtn = (row, val) => {
if (val.indexOf(row.inspectionType) > -1) { if (val.indexOf(row.inspectionType) > -1) {
return true return true
} else { } else {
return row.useDecision return row.isPublished
} }
} }
const isShowPackageBtn = (row, val) => { const isShowPackageBtn = (row, val) => {

2
src/views/qms/inspectionRecord/inspectionRecordMain.data.ts

@ -603,7 +603,7 @@ export const InspectionRecordMain = useCrudSchemas(
isForm: false, isForm: false,
isDetail: false, isDetail: false,
table: { table: {
width: 300, width: 340,
fixed: 'right' fixed: 'right'
} }
} }

Loading…
Cancel
Save