fix(#776): zhaoyun (文件合入)
This commit is contained in:
@@ -191,10 +191,8 @@ function handleGetPrescription() {
|
|||||||
const params = {
|
const params = {
|
||||||
encounterIds: encounterIds || undefined
|
encounterIds: encounterIds || undefined
|
||||||
};
|
};
|
||||||
if (props.therapyEnum !== undefined) {
|
// 注意:汇总单查询不传 tcmFlag / therapyEnum,因为汇总单表(wor_supply_request)
|
||||||
params.therapyEnum = props.therapyEnum;
|
// 没有这些列,传入会导致 PostgreSQL 报 "column 'tcm_flag' does not exist"
|
||||||
}
|
|
||||||
params.tcmFlag = props.drugType === '1' ? 0 : 1;
|
|
||||||
getMedicineSummary(params).then((res) => {
|
getMedicineSummary(params).then((res) => {
|
||||||
medicineSummaryFormList.value = res.data.records;
|
medicineSummaryFormList.value = res.data.records;
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user