|
|
@@ -29,7 +29,7 @@ function openSocket(type) {
|
|
|
prescriptionPrintWebsocket.onopen = function (event) {
|
|
|
console.log(type + "连接prescriptionPrintSocket连接成功");
|
|
|
var chk_value = '';
|
|
|
- $('input[name="aotoPrint"]:checked').each(function () {
|
|
|
+ $('input[name="autoPrint"]:checked').each(function () {
|
|
|
chk_value = $(this).val();
|
|
|
});
|
|
|
if (type == 'PY' && chk_value != '') {//配药处方自动打印
|
|
|
@@ -92,7 +92,7 @@ function dispensingMessage(data) {
|
|
|
initTable();
|
|
|
}
|
|
|
var chk_value = '';
|
|
|
- $('input[name="aotoPrint"]:checked').each(function () {
|
|
|
+ $('input[name="autoPrint"]:checked').each(function () {
|
|
|
chk_value = $(this).val();
|
|
|
});
|
|
|
if (chk_value != '') {//自动打印
|