Przeglądaj źródła

修复demo1试剂更换验证记录无法识别负数

zhonghuizhen 9 miesięcy temu
rodzic
commit
7abdfbcfda
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/views/component/reagent/reagentChange.vue

+ 4 - 1
src/views/component/reagent/reagentChange.vue

@@ -290,7 +290,9 @@ export default {
             return Array.isArray(data) ? data.reduce((acc, item) => ({ ...acc, [item.label]: item.name }), {}) : {}
         },
         handleImportTableActionEvent (file, options) {
+            debugger
             IbpsImport.xlsx(file, options).then(({ header, results }) => {
+                debugger
                 const list = []
                 const keys = this.getKeys(this.getColumns())
                 results.forEach(item => {
@@ -302,6 +304,7 @@ export default {
                     })
                     list.push(obj)
                 })
+                /*
                 const filteredArray = list.map(item => {
                     if (item.jyxm && item.fhl && item.jl) {
                         return item
@@ -322,7 +325,7 @@ export default {
                             el.pq = (el.pq + '').replace('-', '')
                         }
                     })
-                })
+                })*/
                 this.reagentData = list
                 this.disabled = true
                 setTimeout(() => {