From b52018589bf6c7ec1d51ce8ad000a7aa993b0ab5 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 13 四月 2026 16:06:15 +0800
Subject: [PATCH] 优化组盘表获取成品编号、流水号、供方代码
---
代码管理/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue | 100 +++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 83 insertions(+), 17 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..65c40ba 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,41 +43,58 @@
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,
+ },
],
- [
+ [{
+ title: "渚涙柟浠g爜",
+ field: "supplierCode",
+ type: "input",
+ width: 200,
+ require: true,
+ },
{
title: "涓婚敭ID",
field: "id",
type: "input",
width: 100,
hidden: true,
- readonly: true
- }
- ]
+ readonly: true,
+ },
+ ],
]);
+ // 鏌ヨ琛ㄥ崟瀛楁 - 鏂板boxingNo
const searchFormFields = ref({
palletCode: "",
productCode: "",
productName: "",
+ boxingNo: "", // 娴佹按鍙锋煡璇㈠瓧娈�
creater: "",
createDate: "",
+ supplierCode: "",
});
const searchFormOptions = ref([
@@ -83,13 +102,17 @@
{ title: "宸ヨ鏉跨紪鍙�", field: "palletCode", type: "like" },
{ title: "鎴愬搧缂栧彿", field: "productCode", type: "like" },
{ title: "鎴愬搧鍚嶇О", field: "productName", type: "like" },
+ // 鏂板锛氭祦姘村彿鏌ヨ椤癸紙妯$硦鏌ヨlike锛屽拰鍏朵粬缂栧彿淇濇寔涓�鑷达級
+ { title: "娴佹按鍙�", field: "boxingNo", type: "like" },
],
[
+ { title: "渚涙柟浠g爜", field: "supplierCode", type: "like" },
{ title: "鍒涘缓浜�", field: "creater", type: "like" },
{ title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
],
]);
+ // 琛ㄦ牸鍒楅厤缃� - 鏂板boxingNo鍒�
const columns = ref([
{
field: "id",
@@ -105,6 +128,7 @@
field: "palletCode",
title: "宸ヨ鏉跨紪鍙�",
type: "string",
+ link: true,
width: 200,
align: "left",
},
@@ -118,6 +142,21 @@
{
field: "productName",
title: "鎴愬搧鍚嶇О",
+ type: "string",
+ width: 200,
+ align: "left",
+ },
+ {
+ field: "supplierCode",
+ title: "渚涙柟浠g爜",
+ type: "string",
+ width: 200,
+ align: "left",
+ },
+ // 鏂板锛氭祦姘村彿琛ㄦ牸鍒楋紙瀹藉害鍜屽叾浠栫紪鍙蜂繚鎸�200锛屽彲鏍规嵁闇�姹傝皟鏁达級
+ {
+ field: "boxingNo",
+ title: "娴佹按鍙�",
type: "string",
width: 200,
align: "left",
@@ -161,11 +200,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 +246,4 @@
};
},
});
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3