Commit 6f9476e5 authored by xioln's avatar xioln

采购入库弹窗关闭修改

parent b0e93481
......@@ -10,6 +10,7 @@
:visible="dialogVisible"
title="导入"
width="40%"
@handleClose="close"
>
<el-form ref="fileForm" label-width="100px">
<el-form-item label="选择文件">
......
......@@ -6,7 +6,7 @@
*/
<template>
<div class="storageDetails-create">
<dee-dialog :dialog-visible="dialogVisible" title="采购入库申请创建" width="90%" @handleClose="handleClose">
<dee-dialog :dialog-visible="dialogVisibleDetails" title="采购入库申请创建" width="90%" @handleClose="handleClose">
<dee-form
ref="form"
:form="form"
......@@ -39,7 +39,7 @@ export default {
},
data() {
return {
dialogVisible: false,
dialogVisibleDetails: false,
disabled: false,
saveLoading: false,
header: {},
......@@ -264,7 +264,7 @@ export default {
console.log('rwo', row)
this.basicData = basicData
this.form = { 'reqAmount': 1 }
this.dialogVisible = true
this.dialogVisibleDetails = true
this.operateType = type
if (type === 'NEW') {
this.$set(this.form, 'operator', 'ADD')
......@@ -304,7 +304,7 @@ export default {
this.changeMaterial(row.extMaterial.resCode)
},
handleClose() {
this.dialogVisible = false
this.dialogVisibleDetails = false
},
getBasicData() {
const v = this.basicData
......
......@@ -487,11 +487,12 @@ export default {
},
methods: {
back() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$router.replace({
path: '/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7',
query: { title: '采购入库', menuRootAppId: '1626781924331' }
})
// this.$store.dispatch('tagsView/delView', this.$route)
// this.$router.replace({
// path: '/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7',
// query: { title: '采购入库', menuRootAppId: '1626781924331' }
// })
this.$emit('cancel')
},
initData() {
this.getInventoryRequest()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment