From 2e03233524d9f655dfb122e8c241b7a6480eeccd Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 25 Apr 2025 21:07:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=B7=E4=B8=96=E5=95=86=E5=93=81?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hard/hard-spu.ts | 11 ++ .../hard/hard-door-manager/goods-putaway.vue | 4 +- src/views/hard/hard-spu/check-progress.vue | 130 ++++++++++++++++++ src/views/hard/hard-spu/index.vue | 64 ++++++--- 4 files changed, 187 insertions(+), 22 deletions(-) create mode 100644 src/views/hard/hard-spu/check-progress.vue diff --git a/src/api/hard/hard-spu.ts b/src/api/hard/hard-spu.ts index f7fa6b6..2c91345 100644 --- a/src/api/hard/hard-spu.ts +++ b/src/api/hard/hard-spu.ts @@ -1,5 +1,16 @@ import request from "/@/utils/request" +/** + * 更新审核进度 + */ +export function updateProgress(query: any) { + return request({ + url: "/hard/hard-spu/progress", + method: "get", + params: query, + }) +} + /** * 根据设备id智能柜编号查询商品 * @param hardId 设备id diff --git a/src/views/hard/hard-door-manager/goods-putaway.vue b/src/views/hard/hard-door-manager/goods-putaway.vue index 9603c4e..17967ce 100644 --- a/src/views/hard/hard-door-manager/goods-putaway.vue +++ b/src/views/hard/hard-door-manager/goods-putaway.vue @@ -101,7 +101,9 @@ const { yes_no_type, hard_ks_sku_type } = useDict("yes_no_type", "hard_ks_sku_ty const queryRef = ref() const visible = ref(false) const state: BasicTableProps = reactive({ - queryForm: {}, + queryForm: { + spuCategoryIdIsNotNull: true, + }, pageList: hardSpu.pageJoin, }) const curCabinetItemId = ref("") diff --git a/src/views/hard/hard-spu/check-progress.vue b/src/views/hard/hard-spu/check-progress.vue new file mode 100644 index 0000000..7781208 --- /dev/null +++ b/src/views/hard/hard-spu/check-progress.vue @@ -0,0 +1,130 @@ + + + diff --git a/src/views/hard/hard-spu/index.vue b/src/views/hard/hard-spu/index.vue index d833ff4..9f7c8e1 100644 --- a/src/views/hard/hard-spu/index.vue +++ b/src/views/hard/hard-spu/index.vue @@ -67,12 +67,20 @@ @@ -96,29 +104,41 @@ - + - + @@ -131,10 +151,12 @@ import { displayPrice } from "/@/utils/formatMoney" // 引入组件 const FormDialog = defineAsyncComponent(() => import("./form.vue")) +const CheckProgRess = defineAsyncComponent(() => import("./check-progress.vue")) // 定义查询字典 const { yes_no_type, hard_ks_sku_type } = useDict("yes_no_type", "hard_ks_sku_type") // 定义变量内容 const formDialogRef = ref() +const checkProgRessRef = ref() // 搜索变量 const queryRef = ref() const showSearch = ref(true)