获取检验项查询条件

This commit is contained in:
shijing 2024-01-16 18:15:16 +08:00
parent 7ef9042a0d
commit 10376bbbdf
2 changed files with 2 additions and 10 deletions

View File

@ -3,7 +3,6 @@
<el-header>
<div class="left-panel">
<el-button type="primary" icon="el-icon-plus" @click="add" v-auth="'ptest.create'">新增</el-button>
<!-- <el-button type="primary" icon="el-icon-top" @click="importInspect">上传</el-button> -->
</div>
<div class="right-panel">
<el-date-picker
@ -178,7 +177,7 @@ import saveDialog from './behavior_form.vue';
//
getTextItem(){
let that = this;
that.$API.qm.getTestItem.get({tag:'behavior',page:0}).then(res=>{
that.$API.qm.getTestItem.get({tag:'performance',page:0}).then(res=>{
that.behaviors = res;
that.query.testitem = res[0].id;
that.apiObj = that.$API.qm.ptest.list;

View File

@ -17,20 +17,13 @@
</el-table-column>
<el-table-column label="工序" prop="number">
</el-table-column>
<el-table-column label="检测内容">
<el-table-column label="检测内容及标准">
<template #default="scope">
<div v-for="item in scope.row.ftestitems" :key="item.id">
{{ item.testitem_description }}
</div>
</template>
</el-table-column>
<el-table-column label="检测标准" show-overflow-tooltip>
<template #default="scope">
<div v-for="item in scope.row.ftestitems" :key="item.id">
{{ item.testitem_name }}
</div>
</template>
</el-table-column>
<el-table-column label="操作人测量值" prop="production_date">
<template #default="scope">
<div v-for="item in scope.row.ftestitems" :key="item.id">