if (type == 0) {
this.tableOption = tableOption;
this.detail = row;
this.title = `查看法兰库存`;
this.getDetailList();
this.getMaterialQualityList(row);
}
if (type == 1) {
this.tableOption = tableOptionDetail;
this.detail = row;
this.title = `查看管件库存`;
this.getDetailList();
this.getMaterialQualityList(row);
}
if (type == 2) {
this.tableOption = tableOptionFDetail;
this.detail = row;
this.title = `查看管件在途数`;
this.getDetailList();
this.getMaterialQualityList(row);
}
运行结果 不同的状态类型进行判断