|
@@ -50,6 +50,9 @@ Component({
|
|
|
// 获取日清单详情
|
|
|
async getDeails() {
|
|
|
try {
|
|
|
+ my.showLoading({
|
|
|
+ content: "查询中...",
|
|
|
+ });
|
|
|
const { inpatientId, selectedDateStr, jsonData } = this.data;
|
|
|
const details = await getMedicineInfo({
|
|
|
inpatientId,
|
|
@@ -65,6 +68,8 @@ Component({
|
|
|
});
|
|
|
} catch (error) {
|
|
|
console.log(error, "error");
|
|
|
+ } finally {
|
|
|
+ my.hideLoading();
|
|
|
}
|
|
|
},
|
|
|
|