diff --git a/src/views/EquipmentEntryApply/equipmentInput/index.vue b/src/views/EquipmentEntryApply/equipmentInput/index.vue index 5b8abbb5..9f6f933e 100644 --- a/src/views/EquipmentEntryApply/equipmentInput/index.vue +++ b/src/views/EquipmentEntryApply/equipmentInput/index.vue @@ -920,7 +920,7 @@ export default { '导入结果', { dangerouslyUseHTMLString: true }, ) - this.orderId = response.data + this.orderId = response.data || '' this.$router .replace({ query: { @@ -992,7 +992,7 @@ export default { : '' this.queryParams.startProductionDate = this.queryParams.productionDate ? this.queryParams.productionDate[0] : '' this.queryParams.endProductionDate = this.queryParams.productionDate ? this.queryParams.productionDate[1] : '' - this.queryParams.orderId = this.orderId + this.queryParams.orderId = this.orderId || '' const params = { ...this.queryParams } delete params.orderCreateTime delete params.productionDate