From cc5a56299fe9c0c6ba50f81f8d73ad89de62e324 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Wed, 10 Dec 2025 17:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipmentInput/index.vue | 36 +++++++++++++------ 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/views/EquipmentEntryApply/equipmentInput/index.vue b/src/views/EquipmentEntryApply/equipmentInput/index.vue index 0bb9f889..bb51d14e 100644 --- a/src/views/EquipmentEntryApply/equipmentInput/index.vue +++ b/src/views/EquipmentEntryApply/equipmentInput/index.vue @@ -123,16 +123,11 @@ - + 新增装备 批量导入 - + 批量导入图片 @@ -571,7 +566,7 @@ + " + response.msg + @@ -789,12 +789,24 @@ export default { '导入结果', { dangerouslyUseHTMLString: true }, ) - this.getList() + this.$router.replace({ + query: { + orderId: response.data, + isAddVisible: this.isAddVisible, + isApprovalVisible: this.isApprovalVisible, + }, + }) + setTimeout(() => { + this.getList() + }, 200) }, // 提交上传文件 submitFileForm() { this.$refs.upload.submit() }, + submitFileForm2() { + this.$refs.upload2.submit() + }, // 获取厂家 getManufacturerSelectList() { getManufacturerSelectApi().then((res) => { @@ -1102,7 +1114,11 @@ export default { this.download('/material-mall/order/template', {}, `装备信息导入模板_${new Date().getTime()}.xlsx`) }, importTemplate2() { - this.download(`/material-mall/order/zip?orderId=${this.orderId}`, {}, `装备信息图片导入模板_${new Date().getTime()}.zip`) + this.download( + `/material-mall/order/zip?orderId=${this.orderId}`, + {}, + `装备信息图片导入模板_${new Date().getTime()}.zip`, + ) }, async addList() { try {