Browse Source

BUG修改

master_hella_20240701
parent
commit
2d662c159c
  1. 1
      src/views/qms/basicDataManage/dynamicRule/index.vue
  2. 1
      src/views/qms/basicDataManage/inspectionTemplate/index.vue
  3. 7
      src/views/qms/basicDataManage/selectedSet/index.vue
  4. 4
      src/views/qms/inspection/inspectionJob/index.vue
  5. 4
      src/views/qms/inspection/inspectionRecord/index.vue
  6. 3
      src/views/qms/inspectionMethod/index.vue
  7. 1
      src/views/qms/qualityNotice/components/notaicType.vue
  8. 4
      src/views/qms/qualityNotice/components/qualityBatch.vue
  9. 1
      src/views/qms/qualityNotice/components/qualityNotice.vue
  10. 2
      src/views/qms/qualityNotice/index.vue

1
src/views/qms/basicDataManage/dynamicRule/index.vue

@ -306,7 +306,6 @@ const submitForm = async (formType, data) => {
return
}
data.inspectionStageDOList = tableData.value//
console.log(data.subList)
try {
if (formType === 'create') {
await DynamicRuleApi.createDynamicRule(data)

1
src/views/qms/basicDataManage/inspectionTemplate/index.vue

@ -148,7 +148,6 @@ const openForm = (type: string, row?: any) => {
// form
const submitForm = async (formType,data) => {
console.log(data.value)
if (formType === 'create') {
await InspectionProcessPageApi.inspectionTemplateCreat(data.value)
message.success(t('common.createSuccess'))

7
src/views/qms/basicDataManage/selectedSet/index.vue

@ -110,9 +110,6 @@ const optionsList = ref()
routeName.value = route.name
const tableColumns = ref(SelectedSet.allSchemas.tableColumns)
//
const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
@ -324,7 +321,6 @@ const submitForm = async (formType, data) => {
dictionaryLabel
};
});
console.log(data.subList)
try {
if (formType === 'create') {
await SelectedSetApi.createSelectedSet(data)
@ -414,8 +410,6 @@ const detailOpenForm = (type, row, masterParmas) => {
const detailBasiFormOnChange = (field,val,detailFormRef) => {
console.log(field)
console.log(33,detailFormRef)
if(field == 'dictionaryTypeAndCode'){
// '-%%%-'' dictionaryCode
const [dictionaryCode, dictionaryValue] = val.split('-%%%-');
@ -432,7 +426,6 @@ const detailBasiFormOnChange = (field,val,detailFormRef) => {
}
const formSelectChange = (a,b,c,d) => {
console.log(111)
}
const getDicDetails = ()=>{

4
src/views/qms/inspection/inspectionJob/index.vue

@ -66,7 +66,6 @@
import TableHead from '@/components/TableHead/src/TableHead.vue'
import AddForm from './addForm.vue'
import Detail from './detail.vue'
console.log(InspectionJobMain)
//
defineOptions({ name: 'InspectionJobMain' })
@ -177,12 +176,10 @@ const listTableRef = ref()
const list = await InspectionJobMainApi.getInspectionJobPackageList(row.id)
listTableRef.value.openPackage(row,'包装信息',InspectionJobPackage.allSchemas.tableColumns,list)
}else if (val == 'mainJobAba') { //
console.log('列表-操作按钮事件-放弃')
handleAbandon(row.id)
} else if (val == 'mainJobClo') { //
handleClose(row.id)
} else if (val == 'mainJobAcc') { //
console.log('列表-操作按钮事件-承接')
handleAccept(row.id)
}
}
@ -270,7 +267,6 @@ const listTableRef = ref()
//
const submitForm = async (formType, data) => {
console.log(data)
// return
try {
if (formType === 'create') {

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

@ -133,10 +133,7 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
const listTableRef = ref()
const useDecisionList = getStrDictOptions(DICT_TYPE.USAGE_DECISION)
console.log(11,useDecisionList)
// console.log(55,InspectionRecordMain.allSchemas.formSchema)
// const useDecisionList = InspectionRecordMain.allSchemas.formSchema.filter(item=>item.field == "useDecision")
// console.log(11,useDecisionList)
// -
const buttonTableClick = async (val, row) => {
if (val == 'applyDecision') { //
@ -145,7 +142,6 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
InspectionRecordMain.allSchemas.formSchema.forEach((itemColumn) =>{
if(itemColumn.field == "useDecision"){
itemColumn.componentProps.options=useDecisionList?.filter(item=>item.value==1)
console.log(88, useDecisionList)
}
})
}else if(row.estimateCode == 2){

3
src/views/qms/inspectionMethod/index.vue

@ -43,7 +43,6 @@
ref="basicFormRef"
@success="formsSuccess"
:sumFormDataByForm ="(formRef,formModel)=>{
console.log(formModel)
const {videoAddress} = formModel
formRef.value.setValues({
installPackageUrl:videoAddress
@ -156,8 +155,6 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */
const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
// debugger
console.log(row)
if(row && row.videoAddress.trim()){
row.filePathList = row.videoAddress.split(',')
}

1
src/views/qms/qualityNotice/components/notaicType.vue

@ -176,7 +176,6 @@ nextTick(()=>{
q1.value = props.data?.q1 ? props.data?.q1 :{}
q2.value = props.data?.q2 ? props.data?.q2 :{}
q3.value = props.data?.q3 ? props.data?.q3 :{},
console.log(998,props.data)
})
//

4
src/views/qms/qualityNotice/components/qualityBatch.vue

@ -548,7 +548,6 @@ const buttonBaseClick1 = (val) => {
}
dialogVisible.value = false
} else {
console.log('error submit!')
return false
}
})
@ -572,7 +571,6 @@ const buttonBaseClick1 = (val) => {
}
dialogVisible.value = false
} else {
console.log('error submit!')
return false
}
})
@ -592,7 +590,6 @@ const buttonBaseClick1 = (val) => {
}
dialogVisible.value = false
} else {
console.log('error submit!')
return false
}
})
@ -626,7 +623,6 @@ const buttonBaseClick1 = (val) => {
editableTabsValue.value = newTabName
dialogVisible.value = false
} else {
console.log('error submit!')
return false
}
})

1
src/views/qms/qualityNotice/components/qualityNotice.vue

@ -171,7 +171,6 @@ nextTick(()=>{
//
const changeHalt= (e)=>{
console.log(rules.value.machineHaltStartTime[0])
if(e){
rules.value.machineHaltStartTime[0].required = true
rules.value.machineHaltEndTime[0].required = true

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

@ -183,8 +183,6 @@
//
const submitForm = async (formType, data) => {
console.log(data)
// return
try {
if (formType === 'create') {
await qualityNoticeApi.qualityNoticeCreat(data)

Loading…
Cancel
Save