|
@@ -8087,9 +8087,11 @@ function loadYpList(index, event) {
|
|
|
postAjaxJsonHttpRequst("/thmz/checkKssByUserCode",{code:row.code,ypName:row.name,serial:row.serial,patientId:$("#patientId").text(),ypType:row.ypType},true,function (cres) {
|
|
|
if(cres.code == 0){
|
|
|
$('#' + MedicineName).webuiPopover('hide');
|
|
|
+ console.log("row",row)
|
|
|
+ console.log("index",index)
|
|
|
if (index == 0) {
|
|
|
clearWesternMedicine(false);
|
|
|
- checkYpInfo(row.code, row.serial, row.ypType, true, null, 3);
|
|
|
+ checkYpInfo(row.code, row.serial, row.groupNo, true, null, 3);
|
|
|
}
|
|
|
if (index == 1) {
|
|
|
checkZyInfo(row.code, row.serial, $("#zyClassType").val(), true);
|
|
@@ -8128,7 +8130,7 @@ function checkYpInfo(code, serial, groupNo, needNotice, orderNo, type) {
|
|
|
//$("#treeButton").webuiPopover('hide');
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: '/thmz/getYpZdDictByCodeAndSerial?code=' + code + "&serial=" + serial + "&deptNo=" + localStorage.getItem("currentDeptNo") + "&groupNo=71",
|
|
|
+ url: '/thmz/getYpZdDictByCodeAndSerial?code=' + code + "&serial=" + serial + "&deptNo=" + localStorage.getItem("currentDeptNo") + "&groupNo=" + groupNo,
|
|
|
contentType: "application/json;charset=UTF-8",
|
|
|
dataType: "json",
|
|
|
headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|