From 1378fc4cd7abc24ed3a982e09437c2c8a74e9f2f Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期二, 27 一月 2026 19:06:32 +0800
Subject: [PATCH] 代码优化
---
项目代码/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue | 50 +++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 39 insertions(+), 11 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
index c5f6168..8af5dc1 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
@@ -54,19 +54,28 @@
type: "string",
},
],
-
+
]);
const searchFormFields = ref({
materielCode: "",
materielName: "",
orderNo: "",
+ palletCode: ""
});
const searchFormOptions = ref([
[
- { title: "鐗╂枡缂栧彿", field: "materielCode" ,type:'like'},
- { title: "鐗╂枡鍚嶇О", field: "materielName" ,type:'like'},
- { title: "鍗曟嵁缂栧彿", field: "orderNo" ,type:'like'},
- { title: "鎵樼洏鍙�", field: "palletCode" ,type:'like'},
+ { title: "鐗╂枡缂栧彿", field: "materielCode", type: 'like' },
+ { title: "鐗╂枡鍚嶇О", field: "materielName", type: 'like' },
+ { title: "鍗曟嵁缂栧彿", field: "orderNo", type: 'like' },
+
+ ], [
+ { title: "鎵樼洏鍙�", field: "palletCode", type: 'like' },
+ { title: "鎵规", field: "batchNo", type: 'like' },
+ { title: "鏉$爜", field: "barcode", type: 'like' },
+ ],
+ [
+ { title: "搴撳瓨鐘舵��", field: "status", type: 'select', dataKey: "stockStatusEmun", data: [] },
+ { title: "浠撳簱", field: "warehouseCode", type: 'select', dataKey: "warehouse", data: [] },
],
]);
const columns = ref([
@@ -89,7 +98,14 @@
},
{
field: "palletCode",
- title: "鎵樼洏缂栧彿",
+ title: "鎵樼洏缂栧彿",
+ type: "string",
+ width: 120,
+ align: "left",
+ },
+ {
+ field: "locationCode",
+ title: "璐т綅缂栧彿",
type: "string",
width: 150,
align: "left",
@@ -107,19 +123,20 @@
type: "string",
width: 150,
align: "left",
+ bind: { key: "materielInfo", data: [] },
},
{
field: "orderNo",
title: "鍗曟嵁缂栧彿",
type: "decimal",
- width: 90,
+ width: 150,
align: "left",
},
{
field: "batchNo",
title: "鎵规鍙�",
type: "string",
- width: 90,
+ width: 150,
align: "left",
},
{
@@ -128,6 +145,7 @@
type: "int",
width: 120,
align: "left",
+ hidden: true,
},
{
field: "supplyCode",
@@ -140,8 +158,9 @@
field: "warehouseCode",
title: "浠撳簱鍙�",
type: "string",
- width: 120,
+ width: 160,
align: "left",
+ bind: { key: "wareHouse", data: [] },
},
{
field: "barcode",
@@ -154,15 +173,16 @@
field: "stockQuantity",
title: "搴撳瓨鏁伴噺",
type: "string",
- width: 200,
+ width: 110,
align: "left",
},
{
field: "outboundQuantity",
title: "鍑哄簱鏁伴噺",
type: "string",
- width: 180,
+ width: 110,
align: "left",
+ hidden: true,
},
{
field: "status",
@@ -171,6 +191,13 @@
width: 120,
align: "left",
bind: { key: "stockStatusEmun", data: [] },
+ },
+ {
+ field: "validDate",
+ title: "鏈夋晥鏈�",
+ type: "datetime",
+ width: 160,
+ align: "left",
},
{
field: "creater",
@@ -206,6 +233,7 @@
type: "string",
width: 100,
align: "left",
+ hidden: true,
},
]);
const detail = ref({
--
Gitblit v1.9.3