Browse Source

修复中药处方的协定方在转方时病名标红

张田田 1 tuần trước cách đây
mục cha
commit
6cd95826c1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/utils/minix/prescribing.js

+ 1 - 0
src/utils/minix/prescribing.js

@@ -144,6 +144,7 @@ export default {
                 this.$refs.TCM.setParams({
                     namemedicine: agreeInfo.diseasename,
                     disid: agreeInfo.diseaseid,
+                    disCode: agreeInfo.diseaseid, // 协定方 diseaseid 字段实际存的是病名 code,补 disCode 通道;报红看 diseaseCode 不看 disid,否则病名必红
                     symptomid: agreeInfo.symptomid,
                     syndrometypes: agreeInfo.symptomname,
                     treatment: agreeInfo.treatment