From 15b3879cd259108e7ebb755fe02c190f28f1e20c Mon Sep 17 00:00:00 2001
From: leiqunqing <zhengqifeng@hnkhzn.com>
Date: 星期五, 06 二月 2026 14:46:23 +0800
Subject: [PATCH] 完善项目
---
代码管理/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue | 62 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue"
index d7aaa15..b777e7e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue"
@@ -32,11 +32,15 @@
sortName: "createDate",
});
+ // 銆愪慨鏀�1銆戞柊澧炵粍瑁呬汉鍛樸�侀浠�/鏈欢娴佹按鍙峰瓧娈碉紝绉婚櫎涓嶅瓨鍦ㄧ殑isScanned
const editFormFields = ref({
id: "",
stationCode: "",
stationName: "",
stationEndProduct: "",
+ assembleUser: "", // 缁勮浜哄憳
+ firstProductSn: "", // 棣栦欢娴佹按鍙�
+ lastProductSn: "", // 鏈欢娴佹按鍙�
});
const editFormOptions = ref([
@@ -68,6 +72,36 @@
require: false,
},
],
+ // 銆愪慨鏀�2銆戠Щ闄sScanned涓嬫媺妗嗭紝鏂板缁勮浜哄憳杈撳叆妗�
+ [
+ {
+ title: "缁勮浜哄憳",
+ field: "assembleUser",
+ type: "input",
+ width: 200,
+ require: false, // 鍚庣鍏佽涓虹┖锛屾晠璁句负闈炲繀濉�
+ },
+ ],
+ // 銆愭柊澧炪�戦浠舵祦姘村彿杈撳叆妗�
+ [
+ {
+ title: "棣栦欢娴佹按鍙�",
+ field: "firstProductSn",
+ type: "input",
+ width: 300, // 娴佹按鍙疯緝闀匡紝鍔犲杈撳叆妗�
+ require: false,
+ },
+ ],
+ // 銆愭柊澧炪�戞湯浠舵祦姘村彿杈撳叆妗�
+ [
+ {
+ title: "鏈欢娴佹按鍙�",
+ field: "lastProductSn",
+ type: "input",
+ width: 300,
+ require: false,
+ },
+ ],
[
{
title: "涓婚敭ID",
@@ -80,10 +114,12 @@
],
]);
+ // 銆愪慨鏀�3銆戞悳绱㈣〃鍗曠Щ闄sScanned锛屾柊澧炵粍瑁呬汉鍛橈紙娴佹按鍙蜂竴鑸笉鍋氭悳绱紝鏁呬笉鏂板锛�
const searchFormFields = ref({
stationCode: "",
stationName: "",
stationEndProduct: "",
+ assembleUser: "", // 鏂板缁勮浜哄憳鎼滅储
creater: "",
createDate: "",
});
@@ -98,8 +134,10 @@
type: "select-search",
data: stationEndProductList, // 缁戝畾鍏ㄥ眬鎺ュ彛鏁版嵁
},
+ { title: "缁勮浜哄憳", field: "assembleUser", type: "like" }, // 鏂板缁勮浜哄憳妯$硦鎼滅储
],
[
+ // 銆愪慨鏀�4銆戠Щ闄ゆ悳绱㈡爮鐨刬sScanned涓嬫媺妗�
{ title: "鍒涘缓浜�", field: "creater", type: "like" },
{ title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
],
@@ -142,6 +180,28 @@
width: 200,
align: "left",
},
+ // 銆愪慨鏀�5銆戠Щ闄よ〃鏍肩殑isScanned鍒楋紝鏂板浠ヤ笅涓夊垪
+ {
+ field: "assembleUser",
+ title: "缁勮浜哄憳",
+ type: "string",
+ width: 150,
+ align: "left",
+ },
+ {
+ field: "firstProductSn",
+ title: "棣栦欢娴佹按鍙�",
+ type: "string",
+ width: 220,
+ align: "left",
+ },
+ {
+ field: "lastProductSn",
+ title: "鏈欢娴佹按鍙�",
+ type: "string",
+ width: 220,
+ align: "left",
+ },
{
field: "creater",
title: "鍒涘缓浜�",
@@ -171,7 +231,6 @@
align: "left",
},
]);
-
const detail = ref({
cnName: "",
table: "",
@@ -180,6 +239,7 @@
key: "",
});
+ // 銆愪繚鐣欏師鏈夐�昏緫銆戣幏鍙栫珯鍙版垚鍝佷笅鎷夋暟鎹�
const getStationEndProductData = async () => {
try {
const res = await axios.get("/api/formula/getEndProductList");
--
Gitblit v1.9.3