Commit 7e8ce9b1 authored by zhoutong's avatar zhoutong

供应商的bug

parent dba07713
......@@ -3,7 +3,7 @@
<el-form ref="elForm" :model="formData" :rules="rules" inline size="small" label-width="100px"
label-position="left">
<div>
<el-form-item>
<el-form-item :label="$t('境内外类型')">
<el-radio v-model="formData.areaType" :label="0" disabled>{{$t('国内')}}</el-radio>
<el-radio v-model="formData.areaType" :label="1" disabled>{{$t('国外')}}</el-radio>
</el-form-item>
......
......@@ -43,6 +43,10 @@
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
v-hasPermi="['ecw:supplier:create']">{{$t('新增')}}</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" :loading="exportLoading"
v-hasPermi="['ecw:supplier:export']">{{$t('导出')}}</el-button>
</el-col>
<!-- <el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" :loading="exportLoading"
v-hasPermi="['ecw:supplier:export']">{{$t('导出')}}</el-button>
......@@ -280,7 +284,7 @@ export default {
this.exportLoading = true;
return exportSupplierExcel(params);
}).then(response => {
this.$download.excel(response, '${table.classComment}.xls');
this.$download.excel(response, `${this.$t('供应商')}.xls`);
this.exportLoading = false;
}).catch(() => {});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment