门诊/住院药房查询/发药统计查询中的发药汇总的进价和售价不一致,已发药明细会一致

develop/hrl_20241217_fyhzjsjbyz
hrl_081 1 month ago
parent 264bf7d638
commit 52ba2ae377
  1. 6
      WEB-INF/src/com/his/zy/zyyfcxmanage/ZyfyTjcxForm.java

@ -219,7 +219,7 @@ public class ZyfyTjcxForm extends WatWebForm {
data.add(jjje);
hzdatas.put(ypdm, data);
}else{
String yzdj = dbgrid3.getColumnValueAsString(i,"YZDJ");
String yzdj = dbgrid3.getColumnValueAsString(i,"FYJE");
String fysl = dbgrid3.getColumnValueAsString(i,"JZYZSL");
@ -227,14 +227,14 @@ public class ZyfyTjcxForm extends WatWebForm {
String hjsl = MathUtil.add(fysl, tysl);
String jjje = dbgrid3.getColumnValueAsString(i,"FYJJJE");
String yzje = MathUtil.multiply(hjsl,yzdj);
//String yzje = MathUtil.multiply(fysl,yzdj);
List<String> data = hzdatas.get(ypdm);
data.set(2, MathUtil.add(data.get(2), fysl));
data.set(3, MathUtil.add(data.get(3), tysl));
data.set(4, MathUtil.add(data.get(4), hjsl));
data.set(8, MathUtil.add(data.get(8), yzje));
data.set(8, MathUtil.add(data.get(8), yzdj));
data.set(9, MathUtil.add(data.get(9), jjje));
dbgrid3.setCalcFieldValue(i,"hjsl", hjsl);

Loading…
Cancel
Save