Commit ce38231b by 李伟康 Committed by chenwq

提交代码

1 parent ef0bfa67
...@@ -1716,15 +1716,19 @@ export default { ...@@ -1716,15 +1716,19 @@ export default {
} } = this } } = this
if (fileType) this.$apis.orderManage.importCrowdFundingOrder({ file: fileType }).then(res => { if (fileType) this.$apis.orderManage.importCrowdFundingOrder({ file: fileType }).then(res => {
console.log(res) console.log(res)
if (res) { if (res) {
this.importVisible = false this.importVisible = false
this.$notify({ this.$notify({
title: '提示', title: '提示',
message: '订单导入成功', message: '订单导入成功',
type: 'success' type: 'success'
}) })
this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false) this.file = {
fileName: '',
fileType: ''
} }
this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false)
}
}) })
else this.$message.error(fileName ? '文件上传中,请稍后' : '请上传文件后,在点击确定') else this.$message.error(fileName ? '文件上传中,请稍后' : '请上传文件后,在点击确定')
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!