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 {