Browse Source

告警列表出库关闭

asd26269546 2 years ago
parent
commit
18060e4ef9
1 changed files with 37 additions and 37 deletions
  1. 37 37
      src/views/warning-list.vue

+ 37 - 37
src/views/warning-list.vue

@@ -59,43 +59,43 @@ export default {
           key: 'inOutType',
           minWidth: 150
         },
-        {
-          title: '操作',
-          align: 'center',
-          width: '150px',
-          fixed: 'right',
-          render: (h, params) => {
-            return h('div', [
-              h(
-                'Button',
-                {
-                  props: {
-                    type: 'primary',
-                    size: 'small'
-                  },
-                  style: {
-                    marginRight: '.5vw'
-                  },
-                  on: {
-                    click: () => {
-                      PlcStorageOut({
-                        inOutStorageNo: '',
-                        storageDoor: sessionStorage.getItem('door'),
-                        plcStationCode: sessionStorage.getItem('plcCode'),
-                        rfidList: [params.row.RfidCode]
-                      }).then(res => {
-                        if (res.code === 0) {
-                          this.data.splice(params.row._index)
-                        }
-                      })
-                    }
-                  }
-                },
-                '出库'
-              )
-            ])
-          }
-        }
+        // {
+        //   title: '操作',
+        //   align: 'center',
+        //   width: '150px',
+        //   fixed: 'right',
+        //   render: (h, params) => {
+        //     return h('div', [
+        //       h(
+        //         'Button',
+        //         {
+        //           props: {
+        //             type: 'primary',
+        //             size: 'small'
+        //           },
+        //           style: {
+        //             marginRight: '.5vw'
+        //           },
+        //           on: {
+        //             click: () => {
+        //               PlcStorageOut({
+        //                 inOutStorageNo: '',
+        //                 storageDoor: sessionStorage.getItem('door'),
+        //                 plcStationCode: sessionStorage.getItem('plcCode'),
+        //                 rfidList: [params.row.RfidCode]
+        //               }).then(res => {
+        //                 if (res.code === 0) {
+        //                   this.data.splice(params.row._index)
+        //                 }
+        //               })
+        //             }
+        //           }
+        //         },
+        //         '出库'
+        //       )
+        //     ])
+        //   }
+        // }
       ]
     }
   },