";
html += ' ' + mzChargeDetails[i].chargeItemCode + ' | ';
html += ' ' + mzChargeDetails[i].tcName + ' | ';
html += ' ' + mzChargeDetails[i].instructionText + ' | ';
html += ' ' + mzChargeDetails[i].drugUnit + ' | ';
html += ' ' + mzChargeDetails[i].unitPrice + ' | ';
html += ' ' + mzChargeDetails[i].quantity + ' | ';
html += ' ' + mzChargeDetails[i].amount + ' | ';
html += "";
}
html += ' |
';
$("#fymx_table_body").html(html);
$("#total_count").text(res.data.totalFee+' 元');
setTimeout(printChargeDetail,500)
}else {
errorMesage(res)
}
})
}
function jiSuanTotalCharge() {
let total = 0;
for (let i = 0; i = 0) {
return;
}
$.ajax({
type: "GET",
url: '/thmz/getLastWindowsByCurrentUser',
contentType: "application/json;charset=UTF-8",
dataType: "json",
headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
async: false,
success: function (res) {
if (res == '401' || res == 401) {
window.location.href = '/thmz/login/view'
return;
}
if (res.code == 0) {
printIndex = res.data.cgPrintIndex;
} else {
printIndex = -1;
}
}
});
}