Browse Source

检验方案

hella_online_20240829
wangyufei 4 months ago
parent
commit
9c767ecac2
  1. 5
      src/views/qms/inspectionScheme/addForm.vue

5
src/views/qms/inspectionScheme/addForm.vue

@ -8,7 +8,7 @@
:vLoading="formLoading" :vLoading="formLoading"
> >
<div style="max-height: 80vh; overflow-y: auto; padding: 0px 20px"> <div style="max-height: 80vh; overflow-y: auto; padding: 0px 20px">
<el-form :model="data" label-width="auto" :rules="rules" ref="formMainRef"> <el-form :model="data" label-width="auto" :rules="rules" ref="formMainRef">
<el-row gutter="20"> <el-row gutter="20">
<el-col :span="12" v-if="data.code"> <el-col :span="12" v-if="data.code">
<el-form-item label="编码" prop="code"> <el-form-item label="编码" prop="code">
@ -833,7 +833,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any
} }
let arr = [] let arr = []
list.forEach((item, index) => { list.forEach((item, index) => {
editableTabsValue.value = index + 1 // editableTabsValue.value = index + 1
item.name = index + 1 item.name = index + 1
console.log(item.inspectionCharacteristicsBaseVO) console.log(item.inspectionCharacteristicsBaseVO)
@ -886,6 +886,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any
} }
arr.push(obj) arr.push(obj)
}) })
editableTabsValue.value = 1
data.value.process = arr data.value.process = arr
console.log(111, data.value) console.log(111, data.value)
}else{ }else{

Loading…
Cancel
Save