fix:mlogbw输出物料检验
This commit is contained in:
parent
14170dbc56
commit
e8508bfc67
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue