From d5b955494f6d658959e50b9e87ea7ebafb86c6d4 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 05 三月 2025 17:13:09 +0800
Subject: [PATCH] art: 中心项 改为 必填
---
src/views/eam/modules/equipmentDisposal/EquipmentDisposalForm.vue | 213 ++++++++++++++++++++++++++--------------------------
1 files changed, 107 insertions(+), 106 deletions(-)
diff --git a/src/views/eam/modules/equipmentDisposal/EquipmentDisposalForm.vue b/src/views/eam/modules/equipmentDisposal/EquipmentDisposalForm.vue
index 881de30..d02b29e 100644
--- a/src/views/eam/modules/equipmentDisposal/EquipmentDisposalForm.vue
+++ b/src/views/eam/modules/equipmentDisposal/EquipmentDisposalForm.vue
@@ -44,6 +44,8 @@
:disabled="formDisabled"
:rowNumber="true"
:rowSelection="true"
+ :bordered="true"
+ :alwaysEdit="true"
:toolbar="true"
:toolbarConfig="toolbarConfig"
>
@@ -134,7 +136,7 @@
key: 'id',
type: JVXETypes.hidden,
width: '100px',
- fixed: 'left'
+ align:"center",
},
{
title: '璁惧鍙樺姩鍗昳d',
@@ -142,6 +144,7 @@
type: JVXETypes.hidden,
width: '200px',
placeholder: '璇疯緭鍏�${title}',
+ align:"center",
defaultValue: ''
},
{
@@ -151,38 +154,100 @@
disabled: true,
width: '60px',
placeholder: '璇疯緭鍏�${title}',
+ align:"center",
defaultValue: ''
},
{
- title: '璁惧缂栫爜',
+ title: '缁熶竴缂栫爜',
key: 'equipmentNum',
type: JVXETypes.normal,
disabled: true,
- width: '120px',
- // placeholder: '璇疯緭鍏�${title}',
+ width: '200px',
+ align:"center",
defaultValue: '',
- fixed: 'left'
+ },
+ {
+ title: '璁惧鍚嶇О',
+ key: 'equipmentName',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '200px',
+ align:"center",
+ defaultValue: '',
+ // fixed: 'left'
+ },
+ {
+ title: '璁惧鍨嬪彿',
+ key: 'model',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '200px',
+ align:"center",
+ defaultValue: ''
+ },
+ {
+ title: '璁惧瑙勬牸',
+ key: 'specification',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '200px',
+ align:"center",
+ defaultValue: ''
+ },
+ {
+ title: '璁惧鐘舵��',
+ key: 'equipmentStatus_dictText',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '195px',
+ align:"center",
+ defaultValue: ''
+ },
+ {
+ title: '璁惧浣嶇疆',
+ key: 'location',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '195px',
+ align:"center",
+ defaultValue: ''
+ },
+ {
+ title: '鐗圭璁惧',
+ key: 'specificEquipment',
+ type: JVXETypes.hidden,
+ align:"center",
+ disabled: true,
+ width: '200px',
+ // placeholder: '璇疯緭鍏�${title}',
+ defaultValue: ''
+ },
+ {
+ title: '鐗圭璁惧',
+ key: 'specificEquipment_dictText',
+ type: JVXETypes.normal,
+ disabled: true,
+ width: '200px',
+ align:"center",
+ defaultValue: ''
},
{
title: '璧勪骇缂栫爜',
key: 'assetNumber',
type: JVXETypes.normal,
disabled: true,
- width: '120px',
- // placeholder: '璇疯緭鍏�${title}',
+ width: '195px',
+ align:"center",
defaultValue: '',
- fixed: 'left'
},
-
{
title: '澶勭疆鍘熷洜',
key: 'disposalReason',
type: JVXETypes.input,
- // disabled:true,
- width: '200px',
+ align:"center",
+ width: '195px',
placeholder: '璇疯緭鍏�${title}',
defaultValue: '',
- fixed: 'left',
validateRules: [
{
required: true, // 蹇呭~
@@ -193,11 +258,10 @@
title: '澶勭疆鏃ユ湡',
key: 'disposalDate',
type: JVXETypes.datetime,
- // disabled:true,
- width: '180px',
+ align:"center",
+ width: '200px',
placeholder: '璇疯緭鍏�${title}',
defaultValue: '',
- fixed: 'left',
validateRules: [
{
required: true // 蹇呭~
@@ -234,23 +298,14 @@
]
},
{
- title: '鐗圭璁惧',
- key: 'specificEquipment',
- type: JVXETypes.hidden,
-
+ title: '鍑忓皯鏂瑰紡',
+ key: 'reduceMethod',
+ type: JVXETypes.selectDictSearch,
disabled: true,
width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
- {
- title: '鐗圭璁惧',
- key: 'specificEquipment_dictText',
- type: JVXETypes.normal,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
+ align:"center",
+ defaultValue: '',
+ dict:'mom_eam_transfer_method,name,id'
},
// {
// title: '鐗圭璁惧',
@@ -263,43 +318,6 @@
// // placeholder: '璇疯緭鍏�${title}',
// defaultValue: ''
// },
- {
- title: '璁惧鍚嶇О',
- key: 'equipmentName',
- type: JVXETypes.normal,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
-
- {
- title: '璁惧鍨嬪彿',
- key: 'model',
- type: JVXETypes.normal,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
- {
- title: '璁惧瑙勬牸',
- key: 'specification',
- type: JVXETypes.normal,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
- {
- title: '璁惧鐘舵��',
- key: 'equipmentStatus_dictText',
- type: JVXETypes.normal,
- disabled: true,
- width: '120px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
// {
// title: '璁惧鐘舵��',
// key: 'equipmentStatus',
@@ -316,8 +334,8 @@
key: 'technologyStatus_dictText',
type: JVXETypes.normal,
disabled: true,
- width: '120px',
- // placeholder: '璇疯緭鍏�${title}',
+ width: '200px',
+ align:"center",
defaultValue: ''
},
// {
@@ -332,33 +350,15 @@
// defaultValue: ''
// },
{
- title: '璁惧浣嶇疆',
- key: 'location',
- type: JVXETypes.normal,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: ''
- },
- {
title: '閲嶈搴�',
key: 'equipmentImportanceId_dictText',
type: JVXETypes.normal,
disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
+ width: '195px',
+ align:"center",
defaultValue: ''
},
- {
- title: '鍑忓皯鏂瑰紡',
- key: 'reduceMethod',
- type: JVXETypes.selectDictSearch,
- disabled: true,
- width: '200px',
- // placeholder: '璇疯緭鍏�${title}',
- defaultValue: '',
- dict:'mom_eam_transfer_method,name,id'
- },
+
// {
// title: '閲嶈搴�',
// key: 'equipmentImportanceId',
@@ -376,23 +376,24 @@
// // placeholder: '璇疯緭鍏�${title}',
// defaultValue: ''
// }
- {
- title: '璁惧鍥剧墖',
- key: 'equipmentPhoto',
- type: JVXETypes.slot,
- disabled: true,
- width: '120px',
- slotName:'equipmentPhoto'
+ // {
+ // title: '璁惧鍥剧墖',
+ // key: 'equipmentPhoto',
+ // type: JVXETypes.slot,
+ // disabled: true,
+ // width: '120px',
+ // slotName:'equipmentPhoto'
- },
- {
- title: '鎿嶄綔',
- key: 'action',
- type: JVXETypes.slot,
- disabled: true,
- width: '100px',
- slotName: 'action',
- },
+ // },
+ // {
+ // title: '鎿嶄綔',
+ // key: 'action',
+ // type: JVXETypes.slot,
+ // disabled: true,
+ // width: '100px',
+ // align:"center",
+ // slotName: 'action',
+ // },
]
},
--
Gitblit v1.9.3