yuwandanmian 1 rok temu
rodzic
commit
1ee65ade93

+ 1 - 1
src/views/medicalRecord/components/cost/TableBox.vue

@@ -5,7 +5,7 @@
       style="width: 100%">
       <el-table-column type="index" label="序号" width="50" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.$index + 1 + (paginationData.page - 1) * paginationData.size }}</span>
+          <span>{{ scope.$index + 1 + (paginationData.page - 1) * paginationData.page_size }}</span>
         </template>
       </el-table-column>
       <el-table-column prop="FYXH" label="费用序号" width="120" align="center"></el-table-column>

+ 4 - 0
src/views/medicalRecord/cost.vue

@@ -74,6 +74,10 @@ export default {
   },
   methods: {
     getList() {
+      if (!this.formInline.ZYH) {
+        this.$message.error('请输入住院号码')
+        return
+      }
       const {
         time
       } = this.formInline