Commit 189ee99b by zhangquan

bug修复

1 parent 840c8fc4
...@@ -64,7 +64,8 @@ ...@@ -64,7 +64,8 @@
<a :href="tempUrl" target="_blank">下载模板</a> <a :href="tempUrl" target="_blank">下载模板</a>
</div> </div>
</el-form-item> </el-form-item>
<div class="tip">支持扩展名:xlsx、xls</div> <div v-if="batchForm.exportUrl" class="tip" style="color: #333;">{{ batchForm.exportName }}</div>
<div v-else class="tip">支持扩展名:xlsx、xls</div>
</el-form> </el-form>
</template> </template>
<div v-else class="file-info"> <div v-else class="file-info">
...@@ -503,7 +504,6 @@ export default { ...@@ -503,7 +504,6 @@ export default {
if (res) { if (res) {
this.batchForm.exportName = file.name this.batchForm.exportName = file.name
this.batchForm.exportUrl = res this.batchForm.exportUrl = res
this.handleSaveImport()
} }
this.$refs.file.value = '' this.$refs.file.value = ''
}) })
...@@ -649,6 +649,7 @@ export default { ...@@ -649,6 +649,7 @@ export default {
for (const key in this.basicForm) { for (const key in this.basicForm) {
this.basicForm[key] = row[key] this.basicForm[key] = row[key]
} }
this.basicForm.merchantId = this.basicForm.merchantId ? this.basicForm.merchantId + '' : ''
this.parkingPlaceVisible = true this.parkingPlaceVisible = true
}, },
handleOk() { handleOk() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!