From 8611a1ba1696e76cced04ff5d658ba138a05dafd Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期六, 19 八月 2023 14:37:32 +0800
Subject: [PATCH] 设备管理前端代码提交 截止 20230819 13:55 分

---
 src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue b/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue
index bd4fd00..798b1a2 100644
--- a/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue
+++ b/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue
@@ -51,7 +51,9 @@
           :dataSource='sparesScrapRequirementDetailTable.dataSource'
           :maxHeight='300'
           :disabled='formDisabled'
+          :alwaysEdit='true'
           :rowNumber='true'
+          :bordered='bordered'
           :rowSelection='true'
           :toolbar='true'
           :toolbarConfig='toolbarConfig'
@@ -92,6 +94,7 @@
   },
   data() {
     return {
+      bordered:true,
       departs: [],
       labelCol: {
         xs: { span: 24 },
@@ -133,6 +136,7 @@
             title: '澶囦欢缂栫爜',
             key: 'spareNum',
             fixed: 'left',
+            align:'center',
             type: JVXETypes.normal,
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
@@ -141,6 +145,7 @@
           {
             title: '澶囦欢鍚嶇О',
             key: 'spareName',
+            align:'center',
             fixed: 'left',
             type: JVXETypes.normal,
             width: '200px',
@@ -151,6 +156,7 @@
             title: '鍨嬪彿',
             key: 'model',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -159,6 +165,7 @@
             title: '瑙勬牸',
             key: 'specification',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -168,6 +175,7 @@
             title: '涓诲崟浣�',
             key: 'mainUnitIdName',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -176,6 +184,7 @@
             title: '涓诲崟浣�',
             key: 'mainUnitId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -183,6 +192,7 @@
           {
             title: '杈呭崟浣�',
             key: 'auxiliaryUnitIdName',
+            align:'center',
             type: JVXETypes.normal,
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
@@ -192,6 +202,7 @@
             title: '杈呭崟浣�',
             key: 'auxiliaryUnitId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -200,6 +211,7 @@
             title: '涓绘暟閲�',
             key: 'mainQuantity',
             type: JVXETypes.inputNumber,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: 0,
@@ -236,6 +248,7 @@
             key: 'auxiliaryQuantity',
             type: JVXETypes.normal,
             width: '200px',
+            align:'center',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: 0
           },
@@ -243,6 +256,7 @@
             title: '澶囦欢id',
             key: 'sparePartId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -251,6 +265,7 @@
             title: '鎹㈢畻姣斾緥',
             key: 'conversionRatio',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -260,6 +275,7 @@
             title: '闇�姹傛棩鏈�',
             key: 'requirementTime',
             type: JVXETypes.date,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: '',

--
Gitblit v1.9.3