diff --git a/src/views/purchase/supCertificationAdd.vue b/src/views/purchase/supCertificationAdd.vue index 600fe31..16aa531 100644 --- a/src/views/purchase/supCertificationAdd.vue +++ b/src/views/purchase/supCertificationAdd.vue @@ -472,10 +472,6 @@ export default { this.getRegistrationList(); }, onSubmit2() { - if(this.currentManufacturer==null){ - this.$message.error("请先选中生产企业!"); - return - } this.getRegistrationList(); }, registrationDialog(row) { diff --git a/src/views/warehouse/addOrder.vue b/src/views/warehouse/addOrder.vue index 03d8f28..3783052 100644 --- a/src/views/warehouse/addOrder.vue +++ b/src/views/warehouse/addOrder.vue @@ -116,6 +116,7 @@ { this.busTypes = response.data.list || []; this.curAction = this.busTypes[0]; @@ -933,7 +935,6 @@ export default { this.formData.fromCorp = store.getters.companyName;// store.getters.customerId === 110 ? '医院' : store.getters.companyName; this.formData.fromCorpId = store.getters.customerId; this.formData.customerId = store.getters.customerId; - this.getBusType(); this.getStorage(); if (this.$isNotBlank(this.idQuery.id)) { this.formData.actDate = new Date(this.idQuery.actDate); @@ -955,6 +956,7 @@ export default { this.findSubInvByInv(this.$store.getters.locInvCode); this.formData.invWarehouseCode = this.$store.getters.locSubInvCode; this.corpOrderIdDisabled = false; + this.getBusType(); if (JSON.stringify(this.$route.query) === '{}') { // this.formData.corpOrderId = new Date().getTime() + (Math.ceil(Math.random() * 10 + 10) + ''); let date = new Date(); diff --git a/src/views/warehouse/stockOrderNewDistribution.vue b/src/views/warehouse/stockOrderNewDistribution.vue index a24693e..3b8566d 100644 --- a/src/views/warehouse/stockOrderNewDistribution.vue +++ b/src/views/warehouse/stockOrderNewDistribution.vue @@ -133,6 +133,7 @@ { @@ -993,7 +994,7 @@ export default { }; }, created() { - this.getBusType(); + this.formData = {}; this.codeArray = []; this.closeConfirmFunction(false); @@ -1022,6 +1023,7 @@ export default { } + this.getBusType(); this.findSubInvs(); }, };