Commit 6f9476e5 authored by xioln's avatar xioln

采购入库弹窗关闭修改

parent b0e93481
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
:visible="dialogVisible" :visible="dialogVisible"
title="导入" title="导入"
width="40%" width="40%"
@handleClose="close"
> >
<el-form ref="fileForm" label-width="100px"> <el-form ref="fileForm" label-width="100px">
<el-form-item label="选择文件"> <el-form-item label="选择文件">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
*/ */
<template> <template>
<div class="storageDetails-create"> <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 <dee-form
ref="form" ref="form"
:form="form" :form="form"
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
}, },
data() { data() {
return { return {
dialogVisible: false, dialogVisibleDetails: false,
disabled: false, disabled: false,
saveLoading: false, saveLoading: false,
header: {}, header: {},
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
console.log('rwo', row) console.log('rwo', row)
this.basicData = basicData this.basicData = basicData
this.form = { 'reqAmount': 1 } this.form = { 'reqAmount': 1 }
this.dialogVisible = true this.dialogVisibleDetails = true
this.operateType = type this.operateType = type
if (type === 'NEW') { if (type === 'NEW') {
this.$set(this.form, 'operator', 'ADD') this.$set(this.form, 'operator', 'ADD')
...@@ -304,7 +304,7 @@ export default { ...@@ -304,7 +304,7 @@ export default {
this.changeMaterial(row.extMaterial.resCode) this.changeMaterial(row.extMaterial.resCode)
}, },
handleClose() { handleClose() {
this.dialogVisible = false this.dialogVisibleDetails = false
}, },
getBasicData() { getBasicData() {
const v = this.basicData const v = this.basicData
......
...@@ -487,11 +487,12 @@ export default { ...@@ -487,11 +487,12 @@ export default {
}, },
methods: { methods: {
back() { back() {
this.$store.dispatch('tagsView/delView', this.$route) // this.$store.dispatch('tagsView/delView', this.$route)
this.$router.replace({ // this.$router.replace({
path: '/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7', // path: '/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7',
query: { title: '采购入库', menuRootAppId: '1626781924331' } // query: { title: '采购入库', menuRootAppId: '1626781924331' }
}) // })
this.$emit('cancel')
}, },
initData() { initData() {
this.getInventoryRequest() 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