Browse Source

检验记录修改

hella_online_20240829
zhang_li 3 months ago
parent
commit
fc909c0d0c
  1. 1481
      src/views/qms/inspectionRecord/addForm.vue
  2. 4
      src/views/qms/inspectionRecord/index.vue

1481
src/views/qms/inspectionRecord/addForm.vue

File diff suppressed because it is too large

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

@ -75,7 +75,7 @@
import ListTable from '@/components/ListTable/src/ListTable.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import UseAddForm from './useAddForm.vue'
import AddForm from '../inspectionJob/addForm.vue'
import AddForm from './addForm.vue'
import Detail from './detail.vue'
import * as InspectionJobMainApi from '@/api/qms/inspectionJob/inspectionJobMain'
@ -330,6 +330,7 @@ const submitFormExecute = async (formType, data) => {
console.log(formType, data)
data.status = '2'
try {
basicFormRef.value.formLoading = true
if (formType === 'create') {
await InspectionJobMainApi.createInspectionJobMain(data)
message.success(t('common.createSuccess'))
@ -338,6 +339,7 @@ const submitFormExecute = async (formType, data) => {
message.success(t('common.updateSuccess'))
}
basicFormRef.value.dialogVisible = false
basicFormRef.value.formLoading = false
//
getList()
} finally {

Loading…
Cancel
Save