diff --git a/healthlink-his-ui/src/views/doctorstation/components/tcm/tcmAdvice.vue b/healthlink-his-ui/src/views/doctorstation/components/tcm/tcmAdvice.vue index 62ff30454..a381ab6d8 100755 --- a/healthlink-his-ui/src/views/doctorstation/components/tcm/tcmAdvice.vue +++ b/healthlink-his-ui/src/views/doctorstation/components/tcm/tcmAdvice.vue @@ -713,7 +713,7 @@ async function getListInfo(addNewRow) { prescription.chineseHerbsDoseQuantity = firstItem.chineseHerbsDoseQuantity; } if (firstItem.sufferingFlag !== undefined && firstItem.sufferingFlag !== null) { - prescription.sufferingFlag = firstItem.sufferingFlag; + prescription.sufferingFlag = String(firstItem.sufferingFlag); } if (firstItem.dosageInstruction !== undefined && firstItem.dosageInstruction !== null) { prescription.dosageInstruction = firstItem.dosageInstruction; @@ -1255,7 +1255,10 @@ function handleSaveBatch(pIndex) { proxy.$modal.msgWarning('请输入付数'); return; } - saveTcmAdvice({ adviceSaveList: saveList }).then((res) => { + saveTcmAdvice({ + adviceSaveList: saveList, + sufferingFlag: Number(prescription.sufferingFlag), + }).then((res) => { if (res.code === 200) { proxy.$modal.msgSuccess('保存成功'); getListInfo(true);