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/sparePartReceive/SparePartReceiveForm.vue |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/views/spare/modules/sparePartReceive/SparePartReceiveForm.vue b/src/views/spare/modules/sparePartReceive/SparePartReceiveForm.vue
index add1a9b..f5ccd67 100644
--- a/src/views/spare/modules/sparePartReceive/SparePartReceiveForm.vue
+++ b/src/views/spare/modules/sparePartReceive/SparePartReceiveForm.vue
@@ -60,6 +60,8 @@
         <j-vxe-table
           keep-source
           :ref='refKeys[0]'
+          :alwaysEdit='true'
+          :bordered='bordered'
           :loading='sparesReceiveDetailTable.loading'
           :columns='sparesReceiveDetailTable.columns'
           :dataSource='sparesReceiveDetailTable.dataSource'
@@ -99,6 +101,7 @@
   },
   data() {
     return {
+      bordered:true,
       departs: [],
       labelCol: {
         xs: { span: 24 },
@@ -143,6 +146,7 @@
             title: '澶囦欢缂栫爜',
             key: 'spareNum',
             fixed: 'left',
+            align:'center',
             type: JVXETypes.normal,
             width: '150px',
             placeholder: '璇疯緭鍏�${title}',
@@ -154,12 +158,14 @@
             type: JVXETypes.normal,
             fixed: 'left',
             width: '150px',
+            align:'center',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
           },
           {
             title: '鍨嬪彿',
             key: 'model',
+            align:'center',
             type: JVXETypes.normal,
             width: '150px',
             placeholder: '璇疯緭鍏�${title}',
@@ -168,6 +174,7 @@
           {
             title: '瑙勬牸',
             key: 'specification',
+            align:'center',
             type: JVXETypes.normal,
             width: '150px',
             placeholder: '璇疯緭鍏�${title}',
@@ -177,6 +184,7 @@
             title: '涓诲崟浣�',
             key: 'mainUnitIdName',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -185,6 +193,7 @@
             title: '涓诲崟浣�',
             key: 'mainUnitId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -193,6 +202,7 @@
             title: '杈呭崟浣�',
             key: 'auxiliaryUnitIdName',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -201,6 +211,7 @@
             title: '杈呭崟浣�',
             key: 'auxiliaryUnitId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
@@ -209,6 +220,7 @@
             title: '涓绘暟閲�',
             key: 'mainQuantity',
             type: JVXETypes.normal,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: 0,
@@ -243,6 +255,7 @@
           {
             title: '杈呮暟閲�',
             key: 'auxiliaryQuantity',
+            align:'center',
             type: JVXETypes.normal,
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
@@ -252,6 +265,7 @@
           {
             title: '棰嗙敤涓绘暟閲�',
             key: 'receiveMainQuantity',
+            align:'center',
             type: JVXETypes.inputNumber,
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
@@ -287,6 +301,7 @@
           },
           {
             title: '棰嗙敤杈呮暟閲�',
+            align:'center',
             key: 'receiveMainQuantity',
             type: JVXETypes.hidden,
             width: '200px',
@@ -300,12 +315,14 @@
             title: '澶囦欢id',
             key: 'sparePartId',
             type: JVXETypes.hidden,
+            align:'center',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: ''
           },
           {
             title: '澶囦欢搴撳瓨id',
+            align:'center',
             key: 'sparePartInventoryId',
             type: JVXETypes.hidden,
             width: '200px',

--
Gitblit v1.9.3