fix:mlogbw输出物料检验

This commit is contained in:
shijing 2025-01-22 09:42:05 +08:00
parent 14170dbc56
commit e8508bfc67
1 changed files with 9 additions and 6 deletions

View File

@ -7,10 +7,11 @@
@closed="$emit('closed')"
>
<el-container>
<el-main>
<el-main id="mlogbwMain">
<sc-form-table
hideDelete
id="mlogbwList"
id="mlogbwlist"
:tableHeight="tableHeight"
v-model="mlogbwlist"
:addTemplate="addTemplate"
placeholder="暂无数据"
@ -209,6 +210,7 @@ export default {
note: "",
isEdit: true,
},
tableHeight:500,
apiObjPrint:this.$API.cm.labelmat.fromWm,
printer_name:localStorage.getItem("printer_name")
};
@ -224,6 +226,10 @@ export default {
this.mode = mode;
console.log(this.mode);
this.visible = true;
setTimeout(() => {
this.tableHeight = document.getElementById('mlogbwMain').clientHeight-20;
},500)
},
getdefects(){
let that = this;
@ -322,7 +328,7 @@ export default {
//qct
if(that.qct!==null&&that.qct!==''){
//
if(row.ftest!==null){
if(row.ftest!==null&&row.ftest!==undefined&&row.ftest!==''){
console.log('已填过');
obj.ftest =row.ftest;
obj.ftest.ftestdefects.forEach((item) => {
@ -480,7 +486,4 @@ export default {
.width-100{
width: 100%;
}
#mlogbwList .el-table--default .cell{
padding: 0 5px !important;
}
</style>