From 976c6eb6ca0e425342aabe5397eaa4095708bffe Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期三, 08 五月 2024 14:56:14 +0800
Subject: [PATCH] 2023-5-8 数采集完成
---
src/const/crud/customerOrder/customerOrderForm.js | 69 +++++++++++++++++++---------------
1 files changed, 38 insertions(+), 31 deletions(-)
diff --git a/src/const/crud/customerOrder/customerOrderForm.js b/src/const/crud/customerOrder/customerOrderForm.js
index 01f6355..7afff6c 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',
@@ -25,10 +26,14 @@
delBtn: false,
align: 'center',
addBtn: false,
+ addBtnText: '娣诲姞琛�',
addRowBtn: true,
refreshBtn: false, // 鏄惁鏄剧ず鍒锋柊鎸夐挳
columnBtn: false, // 鏄惁鏄剧ず鏄惧奖鎸夐挳H
column: [{
+ prop: 'id',
+ hide:true
+ },{
label: '闆朵欢鍙�',
slot: true,
formSlot: true,
@@ -37,12 +42,37 @@
minWidth: 200,
span: 24
}, {
- label: '闆朵欢瑙勬牸',
+ label: '浜у搧鍚嶇О',
+ prop: 'productName',
+ cell: true,
+ type: 'input',
+ minWidth: 200,
+ span: 24,
+ }, {
+ label: '瑙勬牸鍨嬪彿',
prop: 'customerPartSpec',
type: 'input',
cell: true,
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:[{required:true,message:'绫诲瀷蹇呴』鏄暟瀛�',trigger:'blur'}]
}, {
label: '鍒堕�犲睘鎬�',
prop: 'manufactureAttr',
@@ -61,46 +91,23 @@
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: '鍗曚綅',
- 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',
+ type: 'textarea',
minWidth: 200,
- span: 24
+ span: 24,
+ minRows: 1,
+ maxRows: 3
}, {
- label: '澶囨敞',
+ label: '浜у搧澶囨敞',
prop: 'remark',
cell: true,
type: 'textarea',
--
Gitblit v1.9.3