|
@ -505,20 +505,28 @@
|
|
|
if(len) {
|
|
|
this.checkAllMoney()
|
|
|
}
|
|
|
$.each(vm.projectList, function(index, o) {
|
|
|
if(detail.specialistServiceItemDO.itemType == o.itemType) {
|
|
|
$.each(o.item, function(index2, o2) {
|
|
|
if(detail.specialistServiceItemDO.diseaseItem == o2.itemName) {
|
|
|
$.each(o2.hospitalServiceItems, function(index3, o3) {
|
|
|
if(o3.serviceItemId == detail.serviceItemId) {
|
|
|
o3.isSelect = false
|
|
|
o3.specialistServiceItemDO.executeTime = []
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
var deleteJudge = true
|
|
|
$.each(vm.templateDetail, function(index, o) {
|
|
|
if(o.hospitalServiceItemId == detail.hospitalServiceItemId) {
|
|
|
deleteJudge = false
|
|
|
}
|
|
|
});
|
|
|
if(deleteJudge) {
|
|
|
$.each(vm.projectList, function(index, o) {
|
|
|
if(detail.specialistServiceItemDO.itemType == o.itemType) {
|
|
|
$.each(o.item, function(index2, o2) {
|
|
|
if(detail.specialistServiceItemDO.diseaseItem == o2.itemName) {
|
|
|
$.each(o2.hospitalServiceItems, function(index3, o3) {
|
|
|
if(o3.serviceItemId == detail.serviceItemId) {
|
|
|
o3.isSelect = false
|
|
|
o3.specialistServiceItemDO.executeTime = []
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
vm.judgeHavePlan()
|
|
|
},
|
|
|
// 复制计划
|