弹窗问题处理

master
guoshuang 8 months ago
parent 4c035dda23
commit 75c4a9b1aa

@ -290,6 +290,7 @@
<!--订单选择弹窗--> <!--订单选择弹窗-->
<ItemSelectWorkOrderk <ItemSelectWorkOrderk
ref="ItemSelectWorkOrderk" ref="ItemSelectWorkOrderk"
:Flags="showFlags"
@onSelected="onSelectWorkOrder" @onSelected="onSelectWorkOrder"
></ItemSelectWorkOrderk> ></ItemSelectWorkOrderk>
</div> </div>
@ -512,7 +513,7 @@
}, },
WarehouseLocationCreation(){ WarehouseLocationCreation(){
console.log("---sda") console.log("---sda")
this.$refs.ItemSelectWorkOrderk.showFlags = true; this.showFlags = true;
console.log("---ssda") console.log("---ssda")
}, },
onSelectWorkOrder(obj) { onSelectWorkOrder(obj) {

@ -1,7 +1,7 @@
<template> <template>
<el-dialog title="生产订单号选择" <el-dialog title="生产订单号选择"
v-if="showFlags" v-if="showFlags"
:visible.sync="showFlags" :visible.sync="Flags"
:modal= false :modal= false
width="1000px" width="1000px"
> >
@ -59,6 +59,13 @@
export default { export default {
name: "itemSelectWorkOrder", name: "itemSelectWorkOrder",
props: {
Flags:{
type:Boolean,
required:true,
default:false,
}
},
data() { data() {
return { return {
showFlags:false, showFlags:false,

Loading…
Cancel
Save