From ceeb648da0c047eb1e6867db68d987478500b44d Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Wed, 13 Nov 2024 19:24:13 +0800
Subject: [PATCH] =?UTF-8?q?11/13=20=E7=95=8C=E9=9D=A2=E4=BC=98=E5=8C=961.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/basic/product/drug/drugMaintain.vue | 2 +-
.../companyDrug/basicCompanyProductsImport.vue | 18 ++++++++++++------
2 files changed, 13 insertions(+), 7 deletions(-)
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 + ")" + "药品信息补齐:";