|
@@ -96,7 +96,6 @@
|
96
|
96
|
:class="signAndWeighBoxPatients"
|
97
|
97
|
border
|
98
|
98
|
v-loading="WarehouseInfo.loading"
|
99
|
|
- :span-method="objectOneMethod"
|
100
|
99
|
>
|
101
|
100
|
<el-table-column label="耗材类型" align="center">
|
102
|
101
|
<template slot-scope="scope">
|
|
@@ -520,7 +519,14 @@ export default {
|
520
|
519
|
getAllStockList(params).then(response=>{
|
521
|
520
|
if(response.data.state == 1){
|
522
|
521
|
var list = response.data.data.list
|
523
|
|
- this.tableList = list
|
|
522
|
+ var arr = []
|
|
523
|
+ for(let i=0;i<list.length;i++){
|
|
524
|
+ if(list[i].warehouse_info.length > 0 ){
|
|
525
|
+ arr.push(list[i])
|
|
526
|
+ }
|
|
527
|
+ }
|
|
528
|
+ this.tableList = arr
|
|
529
|
+
|
524
|
530
|
var total = response.data.data.total
|
525
|
531
|
this.total = total
|
526
|
532
|
var manufacturerList = response.data.data.manufacturerList
|
|
@@ -691,9 +697,9 @@ export default {
|
691
|
697
|
return storehouse_name
|
692
|
698
|
},
|
693
|
699
|
objectOneMethod({ row, column, rowIndex, columnIndex }) {
|
694
|
|
- console.log("column",column)
|
695
|
|
- console.log("rowindex",rowIndex)
|
696
|
|
- console.log("columnninex",columnIndex)
|
|
700
|
+ // console.log("column",column)
|
|
701
|
+ // console.log("rowindex",rowIndex)
|
|
702
|
+ // console.log("columnninex",columnIndex)
|
697
|
703
|
// if(columnIndex === 1){
|
698
|
704
|
// if(rowIndex === 1){
|
699
|
705
|
// return {
|
|
@@ -753,10 +759,6 @@ export default {
|
753
|
759
|
this.getlist()
|
754
|
760
|
},
|
755
|
761
|
arraySpanMethod({ row, column, rowIndex, columnIndex }) {
|
756
|
|
- console.log("当前行",row)
|
757
|
|
- console.log("当前列",column)
|
758
|
|
- console.log("当前行号",rowIndex)
|
759
|
|
- console.log("当前列号",columnIndex)
|
760
|
762
|
if(rowIndex == 1 && columnIndex === 4){
|
761
|
763
|
return {
|
762
|
764
|
rowspan: 2,
|