From 62d2e2f13f37444bd676ff0ca2ea3f63962c7b58 Mon Sep 17 00:00:00 2001 From: lynn Date: Tue, 6 May 2025 13:54:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E5=88=97=E8=A1=A8=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/stocktaking.js | 15 +- src/views/inventorys/stocktaking.vue | 368 ++++++++++++++++----------- 2 files changed, 232 insertions(+), 151 deletions(-) diff --git a/src/api/system/stocktaking.js b/src/api/system/stocktaking.js index b301ff6..a4203e2 100644 --- a/src/api/system/stocktaking.js +++ b/src/api/system/stocktaking.js @@ -40,9 +40,22 @@ export function getStocktakingPlanDetail(params) { } // 获取盘点计划物资关联列表 -export function getStocktakingPlanLinkList(params) { +export function getStocktakingPlanLinkList(data) { return request({ url: '/api/admin/material-infos-plan-link/index', + method: 'post', + data, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded' + } + }) +} + + +// 获取单个盘点计划详情 +export function getStocktakingPlanLinkDetail(params) { + return request({ + url: '/api/admin/material-infos-plan-link/show', method: 'get', params }) diff --git a/src/views/inventorys/stocktaking.vue b/src/views/inventorys/stocktaking.vue index 45cf99c..77c703d 100644 --- a/src/views/inventorys/stocktaking.vue +++ b/src/views/inventorys/stocktaking.vue @@ -98,6 +98,9 @@ + @@ -109,7 +112,7 @@ @@ -248,23 +251,23 @@
盘点单号: {{ detailModal.data.no }} -
+
所属计划: {{ detailModal.data.planName }} -
+
盘点区域: {{ detailModal.data.area }} -
+
执行人: {{ detailModal.data.executor }} -
+
开始时间: {{ detailModal.data.startTime }} -
+
完成时间: {{ detailModal.data.endTime || '-' }} @@ -276,36 +279,56 @@ {{ getInventoryStatusText(detailModal.data.status) }} -
- - -
-
-

盘点进度

-
- 已盘点:{{ detailModal.data.checked_count || 0 }} - 总数量:{{ detailModal.data.total_count || 0 }} - 完成率:{{ detailModal.data.progress || '0%' }}
-
- +
+ +
+

物资基本信息

+
+
+ 物资名称: + {{ detailModal.data.material_info && detailModal.data.material_info.zichanmingcheng || '-' }} +
+
+ 物资代码: + {{ detailModal.data.material_info && detailModal.data.material_info.wuzibianma || '-' }} +
+
+ 规格型号: + {{ detailModal.data.material_info && detailModal.data.material_info.guigexinghao || '-' }}
+
+ 计量单位: + {{ detailModal.data.material_info && detailModal.data.material_info.jiliangdanwei || '-' }} +
+
+ 当前库存: + {{ detailModal.data.material_info && detailModal.data.material_info.inventorys_total || '0' }} +
+
+
-
-

盘点物资列表

+
+

盘点历史记录

-