From 6ada2ffb4344fc14c5cb2bbaa6db5af38fb18ec6 Mon Sep 17 00:00:00 2001
From: yangzifeng <2547435354@qq.com>
Date: Thu, 22 Jan 2026 15:41:53 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=98=AF=E5=90=A6=E9=A2=84?=
=?UTF-8?q?=E5=85=A5=E5=BA=93=E7=9A=84=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wisdom/bill/index.vue | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/views/wisdom/bill/index.vue b/src/views/wisdom/bill/index.vue
index c20b76f..df93254 100644
--- a/src/views/wisdom/bill/index.vue
+++ b/src/views/wisdom/bill/index.vue
@@ -60,7 +60,7 @@
- {{ scope.row.execStatus == 1 ? "已入库" : "预入库" }}
+ {{ getExecStatusName(scope.row.execStatus) }}
@@ -138,7 +138,7 @@
- {{ scope.row.execStatus == 1 ? "已入库" : "预入库" }}
+ {{ getExecStatusName(scope.row.execStatus) }}
@@ -292,9 +292,9 @@
-
+
-
+
@@ -783,11 +783,17 @@ const {
} = toRefs(data);
const warehouseList = ref([]); //所属仓库下拉数据
+
// 新增库存状态
const execStatusMenu = ref([
{ value: "0", label: "预入库" },
{ value: "1", label: "已入库" },
]);
+
+const getExecStatusName = (value) => {
+ return execStatusMenu.value.find((item) => item.value === value)?.label;
+};
+
//所属仓库
function warehouseFun() {
//所属仓库下拉数据
@@ -836,12 +842,6 @@ function lhyList() {
//理货员下拉数据
lhyList();
-// 是否预入库
-const execStatusList = ref([
- { id: 0, name: "是" },
- { id: 1, name: "否" },
-]);
-
const loading = ref(true);
const billList = ref([{ execStatus: 0 }]); //单据列表
const total = ref(0); //单据