|
@@ -1724,6 +1724,18 @@ function printLabelLongTime(datas, isMx, LODOP) {
|
|
|
html += '</tr>';
|
|
|
number++;
|
|
|
break;
|
|
|
+ } else {
|
|
|
+ // 如果发药的病人第一个药品拒发或者暂缓时需要更新一下病人打印的基本信息
|
|
|
+ if (i === 0) {
|
|
|
+ $('.sjh').remove();
|
|
|
+ $(".wardName").text($.trim(data.wardName));
|
|
|
+ $(".inpatientNo").text($.trim(data.inpatientNo));
|
|
|
+ $(".bedNo").text($.trim(data.bedNo));
|
|
|
+ $(".name").text($.trim(data.name));
|
|
|
+ $(".age").text(getBirthSlot(data.birthDate, new Date()));
|
|
|
+ $(".sex").text(getSex(data.sex));
|
|
|
+ $(".occTime").text(format(data.occTime, "yyyy/MM/dd HH:mm"));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1820,7 +1832,7 @@ function sendZy() {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 西药确认发药
|
|
|
+ * 西药确认发药 0汇总打印 1明细打印
|
|
|
* @param flag
|
|
|
*/
|
|
|
function sendXy(flag) {
|