|
@@ -349,8 +349,8 @@ function initTbTable(pageIndex) {
|
|
|
formatter: function (value, row, index) {
|
|
|
var str = "";
|
|
|
if (sendRefundGroup == 0) {
|
|
|
- if (groupNo == '71' || groupNo == '81') {
|
|
|
- str = '<button type="button" class="registration-no-color-foot-button" title="打印" onclick="printInjectionOralMedicine(\'' + row.patientId + '\',\'' + row.orderNo + '\',\'' + row.realNo + '\',\'' + row.times + '\',\'' + row.receiptNo + '\',\'' + row.confirmFlag + '\');" style="color: #35D082;"><i class="fa fa-print"></i></button>';
|
|
|
+ str = '<button type="button" class="registration-no-color-foot-button" title="打印" onclick="printInjectionOralMedicine(\'' + row.patientId + '\',\'' + row.orderNo + '\',\'' + row.realNo + '\',\'' + row.times + '\',\'' + row.receiptNo + '\',\'' + row.confirmFlag + '\');" style="color: #35D082;"><i class="fa fa-print"></i></button>';
|
|
|
+ if (groupNo === '71') {
|
|
|
str += '<button type="button" class="registration-no-color-foot-button" title="叫号" onclick="callNumber(\'' + row.patientId + '\',\'' + row.name + '\')"><i class="glyphicon glyphicon-bullhorn"></i></button>';
|
|
|
}
|
|
|
if (row.confirmFlag == 5 || row.confirmFlag == 0) {
|
|
@@ -803,7 +803,7 @@ function sendMedicineProcessingRad() {
|
|
|
* 打印注射卡口服药品
|
|
|
*/
|
|
|
function printInjectionOralMedicine(patientId, orderNo, realNo, times, receiptNo, confirmFlag) {
|
|
|
- if (groupNo !== '81') {
|
|
|
+ if (groupNo === '71') {
|
|
|
prescriptionDetail(realNo, orderNo, receiptNo, times, patientId, confirmFlag);
|
|
|
}
|
|
|
var tem = {
|
|
@@ -832,7 +832,7 @@ function printInjectionOralMedicine(patientId, orderNo, realNo, times, receiptNo
|
|
|
}
|
|
|
console.log(res);
|
|
|
if (res.code == 0) {
|
|
|
- if (groupNo === '81') {
|
|
|
+ if (groupNo !== '71') {
|
|
|
zyfdy(res.data);
|
|
|
} else {
|
|
|
xyfdy(res);
|