From 67da82f0b0c24df5f19bbfcfec63801d9ae902d8 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期三, 13 十二月 2023 16:22:05 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/const/crud/customerOrder/customerOrderForm.js | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/const/crud/customerOrder/customerOrderForm.js b/src/const/crud/customerOrder/customerOrderForm.js index d4bd39f..f23b3cf 100644 --- a/src/const/crud/customerOrder/customerOrderForm.js +++ b/src/const/crud/customerOrder/customerOrderForm.js @@ -17,6 +17,7 @@ export const tableOption = { border: true, index: true, + indexFixed: false, height: '292px', indexLabel: '搴忓彿', menuAlign: 'center', @@ -26,36 +27,53 @@ align: 'center', addBtn: false, addRowBtn: true, + refreshBtn: false, // 鏄惁鏄剧ず鍒锋柊鎸夐挳 + columnBtn: false, // 鏄惁鏄剧ず鏄惧奖鎸夐挳H column: [{ label: '闆朵欢鍙�', slot: true, formSlot: true, cell: true, prop: 'partNo', + minWidth: 200, span: 24 }, { label: '闆朵欢瑙勬牸', prop: 'customerPartSpec', type: 'input', cell: true, + minWidth: 200, span: 24 }, { label: '鍒堕�犲睘鎬�', prop: 'manufactureAttr', cell: true, - type: 'input', + type: 'select', + minWidth: 200, span: 24, + dicData:[{ + label: '鏅��', + value: 'N' + },{ + label: '鏍峰搧', + value: 'S' + },{ + label: '鐮斿彂', + value: 'D' + }] }, { label: '浜у搧鍚嶇О', prop: 'productName', cell: true, type: 'input', + minWidth: 200, span: 24 }, { - label: '浜у搧绫诲瀷', + label: '闅跺睘鍝佺墝', prop: 'productType', cell: true, type: 'input', + minWidth: 200, span: 24 }, { label: '鍗曚綅', @@ -64,6 +82,7 @@ formSlot: true, cell: true, type: 'input', + minWidth: 200, span: 24 }, { label: '鏁伴噺', @@ -71,19 +90,24 @@ cell: true, type: 'input', dataType: 'number', + minWidth: 200, span: 24, - rules:[{message:'绫诲瀷蹇呴』鏄暟瀛�',trigger:'blur'}] + rules:[{required:true,message:'绫诲瀷蹇呴』鏄暟瀛�',trigger:'blur'}] }, { label: '鏀惰揣鍦板潃', prop: 'shippingAddress', cell: true, type: 'input', + minWidth: 200, span: 24 }, { - label: '澶囨敞', + label: '浜у搧澶囨敞', prop: 'remark', cell: true, - type: 'input', - span: 24 + type: 'textarea', + minWidth: 200, + span: 24, + minRows: 1, + maxRows: 3 }, ] } -- Gitblit v1.9.3