diff --git a/src/views/basic/product/drug/drugMaintain.vue b/src/views/basic/product/drug/drugMaintain.vue
index 2195ef9..5ae4faf 100644
--- a/src/views/basic/product/drug/drugMaintain.vue
+++ b/src/views/basic/product/drug/drugMaintain.vue
@@ -114,7 +114,7 @@
-
+
diff --git a/src/views/supplier/companyDrug/basicCompanyProductsImport.vue b/src/views/supplier/companyDrug/basicCompanyProductsImport.vue
index 3616a29..bea51d6 100644
--- a/src/views/supplier/companyDrug/basicCompanyProductsImport.vue
+++ b/src/views/supplier/companyDrug/basicCompanyProductsImport.vue
@@ -75,7 +75,7 @@
:header-cell-class-name="cellClass" @current-change="handleSelectionChange">
-
+
@@ -372,8 +372,8 @@
-
-
+
+
@@ -848,7 +848,8 @@ export default {
hcType: null,
flbm: null,
requireScanCode: null,
- ggxh:null
+ ggxh:null,
+ detailSort:null
},
relevanceEdit: {
@@ -1038,6 +1039,11 @@ export default {
this.$message.error("请输入或者正确填写药品价格");
return;
}
+ if (this.repEditQuery.detailSort == null) {
+ this.$message.error("请补充分药品类明细后重新选入");
+ return;
+ }
+
this.$refs['editQuery'].validate((valid) => {
if (!valid) {
return this.$message.error('请补充必要数据')
@@ -1112,13 +1118,13 @@ export default {
});
},
handleSelectionChange(selection) {
- this.radioCheck = selection.mainId;
+ this.radioCheck = selection.nameCode;
this.curSelectDi = selection;
if (selection.length > 1) {
this.$refs.diList.clearSelection();
this.$refs.diList.toggleRowSelection(selection.pop());
}
-
+ this.repEditQuery.detailSort = null
this.multipleSelection = selection
this.currentRow = selection;
this.replTitle = "(" + this.currentRow.cpmctymc + ")" + "药品信息补齐:";