From ef4e8205a30f83c5478f09182e455528df236e84 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期一, 20 十一月 2023 19:04:28 +0800
Subject: [PATCH] 生产线

---
 src/views/eam/modules/equipmentScrap/EquipmentSelectModal.vue |   78 +++++++++++++++------------------------
 1 files changed, 30 insertions(+), 48 deletions(-)

diff --git a/src/views/eam/modules/equipmentScrap/EquipmentSelectModal.vue b/src/views/eam/modules/equipmentScrap/EquipmentSelectModal.vue
index fc3fb96..2cf2f80 100644
--- a/src/views/eam/modules/equipmentScrap/EquipmentSelectModal.vue
+++ b/src/views/eam/modules/equipmentScrap/EquipmentSelectModal.vue
@@ -8,7 +8,7 @@
     @cancel="close"
     style="top:50px"
     cancelText="鍏抽棴"
-    :width="1200"
+    :width="1400"
   >
     <a-card :bordered="false">
       <div class="table-page-search-wrapper">
@@ -32,10 +32,10 @@
               :md="8"
               :sm="6"
             >
-              <a-form-item label="缁熶竴缂栫爜">
+              <a-form-item label="璁惧鍚嶇О">
                 <a-input
-                  placeholder="璇疯緭鍏ョ粺涓�缂栫爜"
-                  v-model="queryParam.num"
+                  placeholder="璁惧鍚嶇О"
+                  v-model="queryParam.name"
                 />
               </a-form-item>
             </a-col>
@@ -108,69 +108,51 @@
         {
           title: '缁熶竴缂栫爜',
           align: 'center',
-          dataIndex: 'num'
-        },
-        {
-          title: '璧勪骇缂栫爜',
-          align: 'center',
-          dataIndex: 'assetNumber'
-        },
-
-        {
-          title: '鐗圭璁惧',
-          align: 'center',
-          dataIndex: 'specificEquipment_dictText'
+          dataIndex: 'num',
+          width:200
         },
         {
           title: '璁惧鍚嶇О',
           align: 'center',
-          dataIndex: 'name'
+          dataIndex: 'name',
+          width:200
         },
         {
           title: '璁惧鍨嬪彿',
           align: 'center',
-          dataIndex: 'model'
+          dataIndex: 'model',
+          width:200
         },
         {
           title: '璁惧瑙勬牸',
           align: 'center',
-          dataIndex: 'specification'
+          dataIndex: 'specification',
+          width:200
+        },
+        {
+          title: 'ABC鏍囪瘑',
+          align: "center",
+          dataIndex: 'equipmentImportanceId',
+          width:100
+        },
+        {
+          title: '鍏抽敭璁惧鏍囪瘑',
+          align: "center",
+          dataIndex: 'specificEquipment_dictText',
+          width:100
         },
         {
           title: '璁惧鐘舵��',
           align: 'center',
-          dataIndex: 'equipmentStatus_dictText'
+          dataIndex: 'equipmentStatus_dictText',
+          width:100
         },
         {
           title: '鎶�鏈姸鎬�',
           align: 'center',
-          dataIndex: 'technologyStatus_dictText'
+          dataIndex: 'technologyStatus_dictText',
+          width:100
         },
-
-        {
-          title: '璁惧鍥剧墖',
-          align: 'center',
-          dataIndex: 'equipmentPhoto',
-          scopedSlots: { customRender: 'equipmentPhoto' }
-        },
-        // {
-        //   title:'璁惧鍥剧墖',
-        //   align:"center",
-        //   dataIndex: 'equipmentPhoto',
-        //   scopedSlots: {customRender: 'imgSlot'}
-        // },
-        {
-          title: '浣嶇疆',
-          align: 'center',
-          dataIndex: 'location'
-        },
-
-        {
-          title: '閲嶈搴�',
-          align: 'center',
-          dataIndex: 'equipmentImportanceId_dictText'
-        }
-
       ],
       selectedRowKeys: [],
       oldSelectRows: [],
@@ -227,7 +209,7 @@
       let that = this
       this.loading = true
       let params = this.getQueryParams()//鏌ヨ鏉′欢
-      params.equipmentStatus = '1'
+      // params.equipmentStatus = '1'
       await getAction(this.url.list, params).then((res) => {
         if (res.success) {
           for (let i = 0; i < res.result.records.length; i++) {
@@ -291,7 +273,7 @@
       this.loadData()
     },
     handleSubmit() {
-      this.$bus.$emit('selectionRows', this.selectionRows)
+      this.$emit('selectionRows', this.selectionRows)
       this.searchReset(0)
       this.close()
     },

--
Gitblit v1.9.3