diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue index df943fe..9f94323 100644 --- a/src/views/modules/part/routingManagement.vue +++ b/src/views/modules/part/routingManagement.vue @@ -837,8 +837,7 @@ - + @@ -922,23 +921,20 @@ - - + + - + - + + - + @@ -951,8 +947,7 @@ - + @@ -1231,10 +1226,12 @@ import {getChooselistData, verifyData} from "@/api/chooselist/chooselist.js" import ChooseList from '@/views/modules/common/Chooselist' import {queryWorkCenterList} from "../../../api/part/workCenter"; import {queryWorkerLevelList} from "../../../api/base/laborClass"; +import DictDataSelect from "../sys/dict-data-select-highlight.vue"; export default { // 组件 components: { + DictDataSelect, ChooseList }, // 监听 diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index 63ffc44..63c9014 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -1163,15 +1163,20 @@ codeNo: row.codeNo, menuId: this.$route.meta.menuId } + this.dataListLoading = true issueChange(tempData).then(({data}) => { if (data && data.code === 0) { this.search() this.$message({message: '操作成功', type: 'success'}) + this.dataListLoading = false } else { + this.dataListLoading = false this.$alert(data.msg, '错误', { confirmButtonText: '确定' }) } + }).catch(() => { + this.dataListLoading = false }) }) }, @@ -1333,7 +1338,6 @@ this.$message.error(data.msg) } }) - }).catch(() => { }) }, addRevModel(row){