From e611c919f4d9d2139e86235594f22296b684f7a9 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 14 十一月 2023 14:56:54 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/zs-mes-before --- src/const/crud/customerOrder/customerOrderForm.js | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 113 insertions(+), 0 deletions(-) diff --git a/src/const/crud/customerOrder/customerOrderForm.js b/src/const/crud/customerOrder/customerOrderForm.js new file mode 100644 index 0000000..8f0e9b8 --- /dev/null +++ b/src/const/crud/customerOrder/customerOrderForm.js @@ -0,0 +1,113 @@ +/* + * Copyright (c) 2018-2025, ztt All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the pig4cloud.com developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: ztt + */ +export const tableOption = { + border: true, + index: true, + height: '292px', + indexLabel: '搴忓彿', + menuAlign: 'center', + menuWidth: 100, + editBtn: false, + delBtn: false, + align: 'center', + addBtn: false, + addRowBtn: true, + cancelBtn: false, + 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: '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: '闅跺睘鍝佺墝', + prop: 'productType', + cell: true, + type: 'input', + minWidth: 200, + span: 24 + }, { + label: '鍗曚綅', + prop: 'otcUnit', + slot: true, + formSlot: true, + cell: true, + type: 'input', + minWidth: 200, + span: 24 + }, { + label: '鏁伴噺', + prop: 'buyQtyDue', + cell: true, + type: 'input', + dataType: 'number', + minWidth: 200, + span: 24, + rules:[{message:'绫诲瀷蹇呴』鏄暟瀛�',trigger:'blur'}] + }, { + label: '鏀惰揣鍦板潃', + prop: 'shippingAddress', + cell: true, + type: 'input', + minWidth: 200, + span: 24 + }, { + label: '浜у搧澶囨敞', + prop: 'remark', + cell: true, + type: 'textarea', + minWidth: 200, + span: 24, + minRows: 1, + maxRows: 3 + }, ] +} -- Gitblit v1.9.3