diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue index f1ad9ada..8dae0000 100644 --- a/src/views/collect/DealOrder.vue +++ b/src/views/collect/DealOrder.vue @@ -196,26 +196,26 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -324,7 +324,7 @@ export default { }, data() { return { - tabsName:[ + tabsName: [ 'prescribeOriginPanel', 'prescribeCodePanel1', 'prescribeCodePanel2', @@ -729,6 +729,8 @@ export default { this.finishOrder(); }).catch(() => { }); + } else { + this.$message.error(res.message) } }).catch(() => { this.loading = false @@ -835,11 +837,11 @@ export default { this.refreshCodesPanel(this); this.$refs.inputRef.focus(); }, - selectTabsname(value){ - if (this.$isBlank(this.filterQuery.code) && this.busTypeList.length > 0){ + selectTabsname(value) { + if (this.$isBlank(this.filterQuery.code) && this.busTypeList.length > 0) { let busType = this.busTypeList.find(item => item.documentTypeCode === value); let autoTag = busType.autoTag; - if (autoTag == 1){ + if (autoTag == 1) { this.editableTabsValue = this.tabsName[1] } } diff --git a/src/views/collect/orderDetailDialog.vue b/src/views/collect/orderDetailDialog.vue index 5e21367f..910d3684 100644 --- a/src/views/collect/orderDetailDialog.vue +++ b/src/views/collect/orderDetailDialog.vue @@ -20,26 +20,26 @@ > - - - - - - - - - + + + + + + + + + + + + + + + + + + + +