src/views/overview/AddOverviewDialog.vue
@@ -468,7 +468,9 @@ }, workType: { type: Number, default: 1 default: function() { return JSON.parse(window.sessionStorage.getItem('paramsData')).workType|| 1; } }, addName: { type: String, @@ -559,12 +561,12 @@ } this.getLogisticCompanyList() this.formInfo() }, mounted(){ setTimeout(() => { this.$refs.tableView.setLocationList(this.editConfig.infomation.location.label) }, 100); }, mounted(){ }, methods: { formInfo() { this.objCode.type = this.workType === 1 ? "入库编码" : this.workType === 2 ? "出库编码" : "调拨编码"