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