|
@@ -660,21 +660,22 @@ export default {
|
|
|
return result;
|
|
|
},
|
|
|
// 搜索获取医院药品列表
|
|
|
- // getHospConsum(type) {
|
|
|
- // if (type == "search") {
|
|
|
- // this.listQuery.current = 1;
|
|
|
- // }
|
|
|
- // this.listLoading = true;
|
|
|
- // selectSplerMcsList(this.listQuery)
|
|
|
- // .then((res) => {
|
|
|
- // this.list = res.data.records;
|
|
|
- // this.total = res.data.total;
|
|
|
- // this.listLoading = false;
|
|
|
- // })
|
|
|
- // .catch((err) => {
|
|
|
- // this.listLoading = false;
|
|
|
- // });
|
|
|
- // },
|
|
|
+ getHospConsum(type) {
|
|
|
+ if (type == "search") {
|
|
|
+ this.listQuery.current = 1;
|
|
|
+ }
|
|
|
+ this.listLoading = true;
|
|
|
+ this.listQuery.spdId = this.spdId;
|
|
|
+ selectSplerMcsList(this.listQuery)
|
|
|
+ .then((res) => {
|
|
|
+ this.list = res.data.records;
|
|
|
+ this.total = res.data.total;
|
|
|
+ this.listLoading = false;
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ this.listLoading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 获取新增目录弹框数据
|
|
|
getdialog(type) {
|
|
|
if (type == "search") {
|