diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue
index fc8927c8..c64f9319 100644
--- a/src/views/basic/product/product.vue
+++ b/src/views/basic/product/product.vue
@@ -1717,35 +1717,35 @@
-
-
-
-
- 提交
-
- 取消
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
- this.editQuery = {
- ...this.editQuery,
- distributeLevelCount: res.data.distributeLevelCount,
- }
- })
+ // calculateDistCount(matchingItem).then((res) => {
+ // this.editQuery = {
+ // ...this.editQuery,
+ // distributeLevelCount: res.data.distributeLevelCount,
+ // }
+ // })
},
useLevelDiChange(val) {
const matchingItem = this.detailList.find(item => item.nameCode == val);
@@ -1331,12 +1331,12 @@ export default {
this.editQuery.useLevelUnit = matchingItem.packUnit;
this.editQuery.useLevel = matchingItem.packLevel;
}
- calculateUseCount(matchingItem).then((res) => {
- this.editQuery = {
- ...this.editQuery,
- useLeverCount: res.data.useLeverCount,
- }
- })
+ // calculateUseCount(matchingItem).then((res) => {
+ // this.editQuery = {
+ // ...this.editQuery,
+ // useLeverCount: res.data.useLeverCount,
+ // }
+ // })
},
classifyChange() {
this.classifyChange(this.editQuery.flbm)
@@ -1751,11 +1751,12 @@ export default {
//如果都为空 进行补充
if (!this.$isNotBlank(this.editQuery.sptm) && !this.$isNotBlank(this.editQuery.ybbm)) {
- getCodeRelDetail({drugcode:row.nameCode}).then((response) => {
+ getCodeRelDetail({drugCode:row.nameCode}).then((response) => {
if (response.code == 20000) {
- if (this.response.data != null && this.response.data.length > 0) {
- this.editQuery.sptm = this.response.data[0].sptm;
- this.editQuery.ybbm = this.response.data[0].ybbm;
+ if (response.data != null && response.data.length > 0) {
+ this.editQuery.sptm = response.data[0].sptm;
+ this.editQuery.ybbm = response.data[0].ybbm;
+ this.getYbHcData()
}
}
}).catch(() => {
diff --git a/src/views/collect/prescribe/prescribeDownloadDialog.vue b/src/views/collect/prescribe/prescribeDownloadDialog.vue
index 3a75e76e..6586befe 100644
--- a/src/views/collect/prescribe/prescribeDownloadDialog.vue
+++ b/src/views/collect/prescribe/prescribeDownloadDialog.vue
@@ -431,7 +431,11 @@ export default {
this.loading = false
if (res.code == 20000){
this.list = res.data.list || []
- this.total = res.data.total || 0
+ if (res.data.list.length === 0){
+ this.total = 0
+ }else
+ this.total = res.data.total
+
}else {
this.$message.error(res.message)
}
diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue
index ca106d53..3a5a894a 100644
--- a/src/views/inventory/InvProducts.vue
+++ b/src/views/inventory/InvProducts.vue
@@ -488,7 +488,7 @@ export default {
ylqxzcrbarmc: null,
page: 1,
limit: 10,
- invCode: this.$store.getters.locInvCode,
+ invCode: null,
};
this.getList();
this.findMethod(this);
diff --git a/src/views/purchase/purApply/purApplyEditDiaolog.vue b/src/views/purchase/purApply/purApplyEditDiaolog.vue
index 45997b94..7d8528a1 100644
--- a/src/views/purchase/purApply/purApplyEditDiaolog.vue
+++ b/src/views/purchase/purApply/purApplyEditDiaolog.vue
@@ -116,7 +116,7 @@
-
+