往来单位导出

This commit is contained in:
jjLv 2024-10-28 17:07:37 +08:00
parent 09ed54aba5
commit da7888a9d8
2 changed files with 3 additions and 5 deletions

View File

@ -502,7 +502,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'material/base/bmUnitInfo/export', 'material/bm_unit/export',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -292,7 +292,6 @@
fileList:[], fileList:[],
businessLicenseList:[], businessLicenseList:[],
businessLicenseFileList:[],
delBusinessFileIdList:[], delBusinessFileIdList:[],
// //
dialogImageUrl: '', dialogImageUrl: '',
@ -343,7 +342,7 @@
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.imageUrl = res.data.url this.imageUrl = res.data.url
this.businessLicenseFileList.push(this.imageUrl); this.businessLicenseList.push(this.imageUrl);
} else { } else {
// this.$msgError(res.msg) // this.$msgError(res.msg)
this.$modal.msgError(res.msg) this.$modal.msgError(res.msg)
@ -510,14 +509,13 @@
await this.imgUpLoadTwoAll(obj,name,name); await this.imgUpLoadTwoAll(obj,name,name);
}) })
this.form.businessLicenseFileList=this.businessLicenseFileList this.form.businessLicenseList=this.businessLicenseList
addFacturer(this.form).then(async response => { addFacturer(this.form).then(async response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.showHouse = false; this.showHouse = false;
await this.getList(); await this.getList();
this.businessLicenseList=[]; this.businessLicenseList=[];
this.delBusinessFileIdList=[]; this.delBusinessFileIdList=[];
this.businessLicenseFileList=[];
}); });
} }
} }