|
@@ -65,6 +65,7 @@
|
|
|
v-if="formData.GZCJAccountType === 2 ? !!formData.GZCJCategoryType : !!formData.GZCJAccountType">
|
|
v-if="formData.GZCJAccountType === 2 ? !!formData.GZCJCategoryType : !!formData.GZCJAccountType">
|
|
|
<app-table :data="formData.GZCJCategoryDetails" :columns="columns" :max-height="400" border showToolbar>
|
|
<app-table :data="formData.GZCJCategoryDetails" :columns="columns" :max-height="400" border showToolbar>
|
|
|
<template #toolbar>
|
|
<template #toolbar>
|
|
|
|
|
+ <el-button size="small" @click="downloadFile()">下载模板</el-button>
|
|
|
<el-upload accept=".xlsx,.xls" :show-file-list="false" :auto-upload="false" @change="handleExcel">
|
|
<el-upload accept=".xlsx,.xls" :show-file-list="false" :auto-upload="false" @change="handleExcel">
|
|
|
<el-button size="small">导入</el-button>
|
|
<el-button size="small">导入</el-button>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
@@ -368,6 +369,10 @@ const onSubmit = (draft = false) => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+const downloadFile = () => {
|
|
|
|
|
+ window.open('/file/20230608.zip')
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
const { gzcjaccounttype = gzcjAccountTypeList[0]?.value } = props.selectedRow ?? {}
|
|
const { gzcjaccounttype = gzcjAccountTypeList[0]?.value } = props.selectedRow ?? {}
|
|
|
formData.GZCJAccountType = gzcjaccounttype
|
|
formData.GZCJAccountType = gzcjaccounttype
|