优化单据明细导入界面

This commit is contained in:
季圣华
2023-05-12 19:52:30 +08:00
parent d7f4727afc
commit bf2bf2cd37

View File

@@ -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) {