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/formulaDetail.vue | 79 +++++++++++++++++++++++++++++++++------
1 files changed, 67 insertions(+), 12 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/formulaDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/formulaDetail.vue"
index 8f54220..184890f 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/formulaDetail.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/formulaDetail.vue"
@@ -19,22 +19,27 @@
export default defineComponent({
setup() {
+ // 琛ㄦ牸鍩虹閰嶇疆
const table = ref({
key: "id",
footer: "Foots",
cnName: "閰嶆柟淇℃伅璇︽儏",
name: "formulaDetail",
- url: "/formulaDetail/",
- sortName: "createDate",
+ url: "/formulaDetail/",
+ sortName: "createDate",
});
+ // 缂栬緫琛ㄥ崟缁戝畾瀛楁锛堟柊澧瀞upplierCode锛�
const editFormFields = ref({
id: "",
- formulaId: "",
+ formulaId: "",
componentCode: "",
componentName: "",
+ supplierCode: "",
+ isScanned: "",
});
-
+
+ // 缂栬緫琛ㄥ崟閰嶇疆椤癸紙鏂板渚涙柟浠g爜杈撳叆椤癸級
const editFormOptions = ref([
[
{
@@ -42,22 +47,37 @@
field: "formulaId",
type: "input",
width: 200,
- require: true
+ require: true,
},
{
title: "闆朵欢缂栧彿",
field: "componentCode",
type: "input",
width: 200,
- require: true
+ require: true,
},
{
title: "闆朵欢鍚嶇О",
field: "componentName",
type: "input",
width: 200,
- require: true
- }
+ require: true,
+ },
+ {
+ title: "渚涙柟浠g爜",
+ field: "supplierCode",
+ type: "input",
+ width: 200,
+ },
+ {
+ title: "鏄惁鎵爜",
+ field: "isScanned",
+ type: "select",
+ data: [
+ { key: "0", value: "鍚�" },
+ { key: "1", value: "鏄�" },
+ ],
+ },
],
[
{
@@ -66,24 +86,38 @@
type: "input",
width: 100,
hidden: true,
- readonly: true
- }
- ]
+ readonly: true,
+ },
+ ],
]);
+ // 鎼滅储琛ㄥ崟缁戝畾瀛楁锛堟柊澧瀞upplierCode锛�
const searchFormFields = ref({
formulaId: "",
componentCode: "",
componentName: "",
+ supplierCode: "",
creater: "",
createDate: "",
+ isScanned: "",
});
+ // 鎼滅储琛ㄥ崟閰嶇疆椤癸紙鏂板渚涙柟浠g爜妯$硦鎼滅储锛�
const searchFormOptions = ref([
[
{ title: "閰嶆柟淇℃伅涓婚敭", field: "formulaId", type: "int" },
{ title: "闆朵欢缂栧彿", field: "componentCode", type: "like" },
{ title: "闆朵欢鍚嶇О", field: "componentName", type: "like" },
+ { title: "渚涙柟浠g爜", field: "supplierCode", type: "like" },
+ {
+ title: "鏄惁鎵爜",
+ field: "isScanned",
+ type: "select",
+ data: [
+ { key: "0", value: "鍚�" },
+ { key: "1", value: "鏄�" },
+ ],
+ },
],
[
{ title: "鍒涘缓浜�", field: "creater", type: "like" },
@@ -91,6 +125,7 @@
],
]);
+ // 琛ㄦ牸鍒楅厤缃紙鏂板渚涙柟浠g爜鍒楋級
const columns = ref([
{
field: "id",
@@ -124,6 +159,25 @@
align: "left",
},
{
+ field: "supplierCode",
+ title: "渚涙柟浠g爜",
+ type: "string",
+ width: 200,
+ align: "left",
+ },
+ {
+ title: "鏄惁鎵爜",
+ field: "isScanned",
+ type: "select",
+ bind: {
+ key: "value",
+ data: [
+ { key: "0", value: "鍚�" },
+ { key: "1", value: "鏄�" },
+ ],
+ },
+ },
+ {
field: "creater",
title: "鍒涘缓浜�",
type: "string",
@@ -153,6 +207,7 @@
},
]);
+ // 璇︽儏椤甸厤缃紙鏆傛湭浣跨敤锛屼繚鎸佸師鏈夛級
const detail = ref({
cnName: "",
table: "",
@@ -173,4 +228,4 @@
};
},
});
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3