|
@ -12,7 +12,7 @@ |
|
|
style="max-height: 80vh; overflow-y: auto; padding: 0px 20px" |
|
|
style="max-height: 80vh; overflow-y: auto; padding: 0px 20px" |
|
|
ref="mianscroll" |
|
|
ref="mianscroll" |
|
|
> |
|
|
> |
|
|
<el-backtop :right="40" :bottom="100" target=".box" @click="topScrollClick" /> |
|
|
<!-- <el-backtop :right="40" :bottom="100" target=".box" @click="topScrollClick" /> --> |
|
|
<Form |
|
|
<Form |
|
|
ref="formMainRef" |
|
|
ref="formMainRef" |
|
|
:rules="rules" |
|
|
:rules="rules" |
|
@ -35,6 +35,7 @@ |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<el-tabs |
|
|
<el-tabs |
|
|
v-model="editableTabsValue" |
|
|
v-model="editableTabsValue" |
|
|
class="demo-tabs" |
|
|
class="demo-tabs" |
|
@ -69,6 +70,7 @@ |
|
|
<span>{{ item.processDescribe }}</span> |
|
|
<span>{{ item.processDescribe }}</span> |
|
|
</span> |
|
|
</span> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<div class="tabs-box"> |
|
|
<div class="small-title">检验工序</div> |
|
|
<div class="small-title">检验工序</div> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef"> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef"> |
|
|
<el-row :gutter="20"> |
|
|
<el-row :gutter="20"> |
|
@ -104,6 +106,7 @@ |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div class="small-title">检验特性</div> |
|
|
<div class="small-title">检验特性</div> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formFeaturesRef"> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formFeaturesRef"> |
|
|
|
|
|
<div> |
|
|
<el-row :gutter="20"> |
|
|
<el-row :gutter="20"> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="编码"> |
|
|
<el-form-item label="编码"> |
|
@ -388,14 +391,16 @@ |
|
|
v-for="(cur, i) in item.inspectionJobCharacteristicsUpdateReqVO |
|
|
v-for="(cur, i) in item.inspectionJobCharacteristicsUpdateReqVO |
|
|
.recordInspectionQuantifyList" |
|
|
.recordInspectionQuantifyList" |
|
|
:key="i" |
|
|
:key="i" |
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
<div |
|
|
style=" |
|
|
style=" |
|
|
border: 1px solid #dedede; |
|
|
border: 1px solid #dedede; |
|
|
border-radius: 4px; |
|
|
border-radius: 4px; |
|
|
padding-top: 16px; |
|
|
padding-top: 16px; |
|
|
margin-bottom: 10px; |
|
|
margin-bottom: 10px; |
|
|
" |
|
|
"> |
|
|
> |
|
|
<el-row :gutter="20"> |
|
|
<el-row> |
|
|
|
|
|
<!-- 汇总录入的时候显示 --> |
|
|
<!-- 汇总录入的时候显示 --> |
|
|
<el-col |
|
|
<el-col |
|
|
:span="12" |
|
|
:span="12" |
|
@ -461,11 +466,15 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> --> |
|
|
</el-col> --> |
|
|
</el-row> |
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
</div> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
</el-tabs> |
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<template #footer> |
|
|
<template #footer> |
|
|
<ButtonBase :Butttondata="Butttondata" @button-base-click="buttonBaseClick" /> |
|
|
<ButtonBase :Butttondata="Butttondata" @button-base-click="buttonBaseClick" /> |
|
@ -1333,11 +1342,11 @@ const changeQualitativeCode = (e, item, cur) => { |
|
|
const mianscroll = ref() |
|
|
const mianscroll = ref() |
|
|
const boxList = ref() |
|
|
const boxList = ref() |
|
|
|
|
|
|
|
|
const topScrollClick = () => { |
|
|
// const topScrollClick = () => { |
|
|
nextTick(() => { |
|
|
// nextTick(() => { |
|
|
mianscroll.value.scrollTo({ top: boxList.value.clientHeight + 550, behavior: 'smooth' }) |
|
|
// mianscroll.value.scrollTo({ top: boxList.value.clientHeight + 550, behavior: 'smooth' }) |
|
|
}) |
|
|
// }) |
|
|
} |
|
|
// } |
|
|
const inspectionValueInput = (item, cur) => { |
|
|
const inspectionValueInput = (item, cur) => { |
|
|
for ( let i = 0;i < item.inspectionJobCharacteristicsUpdateReqVO.recordInspectionQuantifyList.length;i++) { |
|
|
for ( let i = 0;i < item.inspectionJobCharacteristicsUpdateReqVO.recordInspectionQuantifyList.length;i++) { |
|
|
item.isPass = true |
|
|
item.isPass = true |
|
@ -1431,6 +1440,11 @@ const inspectionValueInput = (item, cur) => { |
|
|
color: #1a8bfc; |
|
|
color: #1a8bfc; |
|
|
font-size: 16px; |
|
|
font-size: 16px; |
|
|
} |
|
|
} |
|
|
|
|
|
.tabs-box{ |
|
|
|
|
|
max-height:calc(80vh - 40px) ; |
|
|
|
|
|
overflow-x: hidden; |
|
|
|
|
|
overflow-y: auto; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
<style> |
|
|
<style> |
|
|
.el-tabs--left .el-tabs__header.is-left { |
|
|
.el-tabs--left .el-tabs__header.is-left { |
|
|