fix:el-drawer缓存显示问题-其他出入库记录
This commit is contained in:
parent
c7887fc5f2
commit
26a85861f8
|
@ -138,10 +138,15 @@
|
|||
@success="handleSaveSuccess"
|
||||
@closed="dialog.save = false"
|
||||
></save-dialog>
|
||||
<el-drawer title="出入库记录" v-model="dialog.record" :size="'90%'">
|
||||
<record-dialog :type="type" :mioId="mioId" ref="recordDialogs">
|
||||
</record-dialog>
|
||||
</el-drawer>
|
||||
<record-dialog
|
||||
ref="showDrawer"
|
||||
v-if="visibleDrawer"
|
||||
:type="type"
|
||||
:cate="cate"
|
||||
:mioId="mioId"
|
||||
@closed="visibleDrawer = false"
|
||||
>
|
||||
</record-dialog>
|
||||
</template>
|
||||
<script>
|
||||
import saveDialog from "./mio_form.vue";
|
||||
|
@ -183,6 +188,7 @@ export default {
|
|||
save: false,
|
||||
record: false,
|
||||
},
|
||||
visibleDrawer: false,
|
||||
query: {
|
||||
search: "",
|
||||
},
|
||||
|
@ -212,12 +218,10 @@ export default {
|
|||
table_detail(row) {
|
||||
this.type = row.type;
|
||||
this.mioId = row.id;
|
||||
this.dialog.record = true;
|
||||
// this.$router.push({
|
||||
// name: "mioitem",
|
||||
// query: { mio: row.id ,type:row.type}
|
||||
|
||||
// });
|
||||
this.visibleDrawer = true;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.showDrawer.open();
|
||||
});
|
||||
},
|
||||
//删除
|
||||
table_del(row) {
|
||||
|
|
Loading…
Reference in New Issue