From 8aa5f0e094e6ff51aa7c47d5b4e8331a16eb09ff Mon Sep 17 00:00:00 2001
From: leiqunqing <zhengqifeng@hnkhzn.com>
Date: 星期五, 06 二月 2026 15:19:05 +0800
Subject: [PATCH] 提交ddl
---
代码管理/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue | 83 +++++++++++++++++++++++++++++++++--------
1 files changed, 67 insertions(+), 16 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
index 8ba74f8..22f6692 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
@@ -24,15 +24,17 @@
footer: "Foots",
cnName: "缁勭洏淇℃伅",
name: "boxing",
- url: "/boxing/",
- sortName: "createDate",
+ url: "/boxing/",
+ sortName: "createDate",
});
+ // 缂栬緫琛ㄥ崟瀛楁 - 鏂板boxingNo
const editFormFields = ref({
id: "",
- palletCode: "",
+ palletCode: "",
productCode: "",
productName: "",
+ boxingNo: "", // 娴佹按鍙峰瓧娈�
});
const editFormOptions = ref([
[
@@ -41,22 +43,30 @@
field: "palletCode",
type: "input",
width: 200,
- require: true
+ require: true,
},
{
title: "鎴愬搧缂栧彿",
field: "productCode",
type: "input",
width: 200,
- require: true
+ require: true,
},
{
title: "鎴愬搧鍚嶇О",
field: "productName",
type: "input",
width: 200,
- require: true
- }
+ require: true,
+ },
+ // 鏂板锛氭祦姘村彿缂栬緫椤癸紙鍜屽疄浣撲竴鑷撮潪绌猴紝鏁呰require: true锛�
+ {
+ title: "娴佹按鍙�",
+ field: "boxingNo",
+ type: "input",
+ width: 200,
+ require: true,
+ },
],
[
{
@@ -65,15 +75,17 @@
type: "input",
width: 100,
hidden: true,
- readonly: true
- }
- ]
+ readonly: true,
+ },
+ ],
]);
+ // 鏌ヨ琛ㄥ崟瀛楁 - 鏂板boxingNo
const searchFormFields = ref({
palletCode: "",
productCode: "",
productName: "",
+ boxingNo: "", // 娴佹按鍙锋煡璇㈠瓧娈�
creater: "",
createDate: "",
});
@@ -83,6 +95,8 @@
{ title: "宸ヨ鏉跨紪鍙�", field: "palletCode", type: "like" },
{ title: "鎴愬搧缂栧彿", field: "productCode", type: "like" },
{ title: "鎴愬搧鍚嶇О", field: "productName", type: "like" },
+ // 鏂板锛氭祦姘村彿鏌ヨ椤癸紙妯$硦鏌ヨlike锛屽拰鍏朵粬缂栧彿淇濇寔涓�鑷达級
+ { title: "娴佹按鍙�", field: "boxingNo", type: "like" },
],
[
{ title: "鍒涘缓浜�", field: "creater", type: "like" },
@@ -90,6 +104,7 @@
],
]);
+ // 琛ㄦ牸鍒楅厤缃� - 鏂板boxingNo鍒�
const columns = ref([
{
field: "id",
@@ -105,6 +120,7 @@
field: "palletCode",
title: "宸ヨ鏉跨紪鍙�",
type: "string",
+ link: true,
width: 200,
align: "left",
},
@@ -118,6 +134,14 @@
{
field: "productName",
title: "鎴愬搧鍚嶇О",
+ type: "string",
+ width: 200,
+ align: "left",
+ },
+ // 鏂板锛氭祦姘村彿琛ㄦ牸鍒楋紙瀹藉害鍜屽叾浠栫紪鍙蜂繚鎸�200锛屽彲鏍规嵁闇�姹傝皟鏁达級
+ {
+ field: "boxingNo",
+ title: "娴佹按鍙�",
type: "string",
width: 200,
align: "left",
@@ -161,11 +185,38 @@
]);
const detail = ref({
- cnName: "",
- table: "",
- columns: [],
- sortName: "",
- key: "",
+ cnName: "缁勭洏璇︾粏淇℃伅",
+ table: "DoxingDetail",
+ columns: [
+ {
+ field: "boxingId",
+ title: "缁勭洏ID",
+ type: "int",
+ width: 90,
+ hidden: true,
+ readonly: true,
+ require: true,
+ align: "left",
+ },
+ {
+ field: "componentCode",
+ title: "闆朵欢缂栧彿",
+ type: "string",
+ edit: { type: "" },
+ width: 200,
+ align: "left",
+ },
+ {
+ field: "componentName",
+ title: "闆朵欢鍚嶇О",
+ type: "string",
+ edit: { type: "" },
+ width: 200,
+ align: "left",
+ },
+ ],
+ sortName: "createDate",
+ key: "id",
});
return {
@@ -180,4 +231,4 @@
};
},
});
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3