优化单据明细导入界面
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
title:"明细导入",
|
title:"导入明细",
|
||||||
visible: false,
|
visible: false,
|
||||||
prefixNo: '',
|
prefixNo: '',
|
||||||
model: {},
|
model: {},
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
if (info.file.status === 'done') {
|
if (info.file.status === 'done') {
|
||||||
if (info.file.response) {
|
if (info.file.response) {
|
||||||
if (info.file.response.code === 200) {
|
if (info.file.response.code === 200) {
|
||||||
this.$message.success('文件导入成功')
|
this.$message.success('导入成功' + info.file.response.data.rows.length + '条')
|
||||||
this.$emit('ok', info.file.response.data.rows);
|
this.$emit('ok', info.file.response.data.rows);
|
||||||
this.close()
|
this.close()
|
||||||
} else if (info.file.response.code === 500) {
|
} else if (info.file.response.code === 500) {
|
||||||
|
|||||||
Reference in New Issue
Block a user