From 988733c9eef179ea4081c092bcd425d300b096a5 Mon Sep 17 00:00:00 2001 From: Cloud Zhang <941187371@qq.com> Date: 星期三, 22 五月 2024 09:40:46 +0800 Subject: [PATCH] 界面优化 --- src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts | 48 +++++++++++++++++++++++++++++++----------------- 1 files changed, 31 insertions(+), 17 deletions(-) diff --git a/src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts b/src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts index 6923282..fd5be3b 100644 --- a/src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts +++ b/src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts @@ -32,10 +32,24 @@ }, { field: 'PCB_SURFACE', - component: 'Switch', + component: 'Select', label: '姝e弽闈�', colProps: { span: 8, + }, + componentProps: { + options: [ + { + label: 'A闈�', + value: 'A闈�', + key: 'A闈�', + }, + { + label: 'B闈�', + value: 'B闈�', + key: 'B闈�', + }, + ], }, }, ]; @@ -140,7 +154,7 @@ label: '鍏宠仈宸ュ崟鍙�', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span:12 }, }, { field: 'ID', @@ -152,90 +166,90 @@ field: 'PROD_CODE', label: '浜у搧缂栫爜', component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'ITEM_CODE', label: '鐗╂枡缂栫爜', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'SUBITEM_CODE', label: '鏇夸唬鏂�', component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'UNIT', label: '鍗曚綅', //required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'UNIT_QTY', label: '鍗曚綅鐢ㄩ噺', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'LINE_CODE', label: '浜х嚎缂栫爜', //required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'SMT_CODE', label: '璐寸墖鏈虹紪鐮�', //required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'SMT_STENCIL', label: '閽㈢綉缂栫爜', //required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'SLOT_NO', label: '绔欎綅鍙�', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'LOCATION', label: '璐寸墖浣嶇疆', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'FEEDER_CODE', label: '椋炶揪缂栫爜', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'FEEDER_TYPE', label: '椋炶揪绫诲瀷', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'PCB_SURFACE', label: '鍔犲伐闈�', required: true, component: 'Select', - colProps: { span: 8 }, + colProps: { span: 12 }, componentProps: { options: [ { @@ -256,12 +270,12 @@ label: '涓婃枡椤哄簭', required: true, component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, { field: 'REMARK', label: '澶囨敞', component: 'Input', - colProps: { span: 8 }, + colProps: { span: 12 }, }, ]; -- Gitblit v1.9.3