fix:药品关联关系

20240912_adapter
chenhc 5 months ago
parent 7e7111c510
commit f6799b0b46

@ -563,7 +563,7 @@
}, },
submit(val) { submit(val) {
if(this.relFormData.detailList == null || this.relFormData.detailList.length == 0){ if(this.detailList == null || this.detailList.length == 0){
this.$message.warning("请先录入关联码!"); this.$message.warning("请先录入关联码!");
return; return;
} }

@ -505,7 +505,7 @@
this.popParentCode = data.curCode; this.popParentCode = data.curCode;
}else { }else {
if( this.bhxjsl === this.syxjsl){ if( this.bhxjsl === this.syxjsl){
this.$confirm("该层级已录入完成, 是否关闭?", "提示", { this.$confirm("该层级已录入完成111, 是否关闭?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
@ -599,7 +599,7 @@
this.inputDisabled = false this.inputDisabled = false
}, },
submit(val) { submit(val) {
if(this.relFormData.detailList == null || this.relFormData.detailList.length == 0){ if(this.detailList == null || this.detailList.length == 0){
this.$message.warning("请先录入关联码!"); this.$message.warning("请先录入关联码!");
return; return;
} }

@ -634,7 +634,7 @@
this.syxjsl = 0; this.syxjsl = 0;
this.parentCode = null; this.parentCode = null;
this.refreshCodesPanel() this.refreshCodesPanel()
this.closeDialog() // this.closeDialog()
}, },
init(){ init(){
if(this.opeParentCode != null){ if(this.opeParentCode != null){

@ -684,7 +684,7 @@
this.parentCode = null; this.parentCode = null;
this.inputDisabled = false this.inputDisabled = false
this.refreshCodesPanel() this.refreshCodesPanel()
this.closeDialog() // this.closeDialog()
}, },
init(){ init(){
if(this.opeParentCode != null){ if(this.opeParentCode != null){

Loading…
Cancel
Save