Browse Source

目录库存查询问题修复

liangbowen 6 months ago
parent
commit
cb44373629
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/page/catalog-inventory/index.vue

+ 4 - 3
src/views/page/catalog-inventory/index.vue

@@ -27,7 +27,7 @@
         :inline="true"
         label-width="90px"
       >
-        <el-form-item size="mini" label="耗材信息" prop="hiCode" class="long">
+        <el-form-item size="mini" label="医保编码" prop="hiCode" class="long">
           <el-input
             v-model="listQuery.hiCode"
             placeholder="请输入医保编码"
@@ -105,6 +105,7 @@ export default {
         children: "children",
         label: "spdName"
       },
+      list: [],
       listLoading: false,
       listQuery: {
         current: 1,
@@ -119,7 +120,6 @@ export default {
       this.getTableData();
     },
     tabClick(tab) {
-      console.log(tab, "哈哈哈哈");
       if (tab.label == "按机构") {
         this.defaultProps.label = "spdName";
       }
@@ -149,7 +149,8 @@ export default {
     getTableData() {
       selectSplerListCnt(this.listQuery)
         .then(res => {
-          this.list = res.data.records;
+          let newData = [...res.data.records];
+          this.list = newData;
           this.total = res.data.total;
           this.listLoading = false;
         })