diff --git a/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActRespVO.java b/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActRespVO.java index fbd4f80..4767a2f 100644 --- a/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActRespVO.java +++ b/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActRespVO.java @@ -1,12 +1,12 @@ package com.ningxia.yunxi.chemmes.module.biz.controller.admin.millparamact.vo; +import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; +import com.alibaba.excel.annotation.ExcelProperty; import io.swagger.v3.oas.annotations.media.Schema; -import lombok.*; -import java.util.*; -import java.util.*; -import org.springframework.format.annotation.DateTimeFormat; +import lombok.Data; + +import java.time.LocalDate; import java.time.LocalDateTime; -import com.alibaba.excel.annotation.*; @Schema(description = "管理后台 - 制粉工序参数实绩 Response VO") @Data @@ -89,4 +89,4 @@ public class MillParamActRespVO { @ExcelProperty("采集日期") private LocalDate collectDate; -} \ No newline at end of file +} diff --git a/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActSaveReqVO.java b/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActSaveReqVO.java index aeeac4d..c4aefda 100644 --- a/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActSaveReqVO.java +++ b/mes-module-chemmes/mes-module-chemmes-biz/src/main/java/com/ningxia/yunxi/chemmes/module/biz/controller/admin/millparamact/vo/MillParamActSaveReqVO.java @@ -1,11 +1,9 @@ package com.ningxia.yunxi.chemmes.module.biz.controller.admin.millparamact.vo; import io.swagger.v3.oas.annotations.media.Schema; -import lombok.*; -import java.util.*; -import javax.validation.constraints.*; -import java.util.*; -import org.springframework.format.annotation.DateTimeFormat; +import lombok.Data; + +import java.time.LocalDate; import java.time.LocalDateTime; @Schema(description = "管理后台 - 制粉工序参数实绩新增/修改 Request VO") diff --git a/mes-ui/mes-ui-admin-vue3/src/types/auto-imports.d.ts b/mes-ui/mes-ui-admin-vue3/src/types/auto-imports.d.ts index 66aeaec..f525c74 100644 --- a/mes-ui/mes-ui-admin-vue3/src/types/auto-imports.d.ts +++ b/mes-ui/mes-ui-admin-vue3/src/types/auto-imports.d.ts @@ -7,8 +7,6 @@ export {} declare global { const DICT_TYPE: typeof import('@/utils/dict')['DICT_TYPE'] const EffectScope: typeof import('vue')['EffectScope'] - const ElMessage: typeof import('element-plus/es')['ElMessage'] - const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] const customRef: typeof import('vue')['customRef'] diff --git a/mes-ui/mes-ui-admin-vue3/src/views/biz/prostorageinventory/ProStorageInventorySelectDialog.vue b/mes-ui/mes-ui-admin-vue3/src/views/biz/prostorageinventory/ProStorageInventorySelectDialog.vue index 54cd8a3..ed164cd 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/biz/prostorageinventory/ProStorageInventorySelectDialog.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/biz/prostorageinventory/ProStorageInventorySelectDialog.vue @@ -134,6 +134,7 @@ const queryParams = reactive({ storeHouseId: undefined, storeAreaId: undefined, yardQty: 1, + matName: undefined, }) // 仓储列表(条件:store_type = '3' ) @@ -277,12 +278,17 @@ const handleSave = () => { } /** 打开弹窗 */ -const open = () => { +const open = (params?: { materialName?: string }) => { dialogVisible.value = true + // 重置查询参数 + queryParams.pageNo = 1 + queryParams.storeHouseId = undefined + queryParams.storeAreaId = undefined + queryParams.matName = params?.materialName // 初始化仓储列表 getStoreHouseList() // 执行搜索 - // handleQuery() + getList() } defineExpose({ open, setSelectedIds }) diff --git a/mes-ui/mes-ui-admin-vue3/src/views/biz/saledelivery/SaleDeliveryForm.vue b/mes-ui/mes-ui-admin-vue3/src/views/biz/saledelivery/SaleDeliveryForm.vue index 42708e9..4077e37 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/biz/saledelivery/SaleDeliveryForm.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/biz/saledelivery/SaleDeliveryForm.vue @@ -651,8 +651,8 @@ const addProductItem = () => { // 设置已选择的ID,以便弹窗打开时自动选中 inventorySelectRef.value.setSelectedIds(selectedIds) - // 打开弹窗 - inventorySelectRef.value.open() + // 打开弹窗,传入产品名称作为查询参数 + inventorySelectRef.value.open({ materialName: formData.materialName }) } /** 处理库存选择 */