fix:玻纤毛坯检测未完成物料中wpr展示二维码
This commit is contained in:
parent
d18c9be671
commit
51bcaa2dbb
|
|
@ -230,6 +230,7 @@
|
||||||
width="120"
|
width="120"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
|
<el-link :underline="false" @click="QRCode(scope.row,'wpr')" type="primary" v-if="mgroupName=='毛坯检测'">二维码</el-link>
|
||||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打印标签</el-link>
|
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打印标签</el-link>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -251,6 +252,13 @@
|
||||||
>
|
>
|
||||||
</scDegra>
|
</scDegra>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
<el-dialog title="二维码" v-model="dialog.qrcode" width="500px">
|
||||||
|
<el-container>
|
||||||
|
<el-main style="text-align: center;padding: 50px 0;">
|
||||||
|
<scQrCode :text="scQr_code"></scQrCode>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</el-dialog>
|
||||||
</el-container>
|
</el-container>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -313,6 +321,7 @@ export default {
|
||||||
scrap: false,
|
scrap: false,
|
||||||
permission: false,
|
permission: false,
|
||||||
inmRecord:false,
|
inmRecord:false,
|
||||||
|
qrcode:false
|
||||||
},
|
},
|
||||||
nodes:[],
|
nodes:[],
|
||||||
edges:[],
|
edges:[],
|
||||||
|
|
@ -347,6 +356,7 @@ export default {
|
||||||
mgroup_name:'',
|
mgroup_name:'',
|
||||||
ofrom_name:'',
|
ofrom_name:'',
|
||||||
ofrom_batch :'',
|
ofrom_batch :'',
|
||||||
|
scQr_code:'',
|
||||||
checkItem:{},
|
checkItem:{},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -483,6 +493,12 @@ export default {
|
||||||
this.$refs.handoverDialog.open("add",row,20);
|
this.$refs.handoverDialog.open("add",row,20);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
QRCode(row){
|
||||||
|
this.dialog.qrcode = true;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.scQr_code=row.number;
|
||||||
|
});
|
||||||
|
},
|
||||||
//打印物料标签
|
//打印物料标签
|
||||||
printMaterial(row,type){
|
printMaterial(row,type){
|
||||||
let that = this;
|
let that = this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue