1.修复耗材字典页面bug

prod
x_z 2 years ago
parent 983b9996f8
commit 26bf6d4bc3

@ -1170,8 +1170,7 @@ export default {
limit: 20,
addType: 1,
thrPiId: null,
filterType: null,
diType: 1
filterType: null
},
loading: false,
showSearch: true,
@ -1253,8 +1252,7 @@ export default {
ggxh: null,
page: 1,
limit: 20,
addType: 1,
diType: 1
addType: 1
};
this.getList();
},

@ -226,6 +226,7 @@
<script>
import {disableUdi} from "@/api/basic/product/udiRelevance";
import {isBlank} from "@/utils/strUtil";
export default {
name: "productEdit",
@ -284,6 +285,11 @@ export default {
if (val) {
this.useNumEnable = false;
this.editQuery.useNum = this.editQuery.zxxsbzbhsydysl;
if (!isBlank(this.editQuery.zxxsbzbhsydysl)) {
if (this.editQuery.zxxsbzbhsydysl > 0) {
this.isUseDyCheck = true;
}
}
} else {
this.useNumEnable = true;
this.editQuery.useNum = 0;

Loading…
Cancel
Save