diff --git a/src/views/common/login-token.vue b/src/views/common/login-token.vue index 165334d..7dc8bb0 100644 --- a/src/views/common/login-token.vue +++ b/src/views/common/login-token.vue @@ -107,7 +107,7 @@ this.$router.replace({ name: this.urlParam.path, params: { - site: this.urlParam.site, + site: data.site, docNo: this.urlParam.docNo, type: "tokenLogin" } @@ -116,7 +116,7 @@ localStorage.setItem('locale', data.language) localStorage.setItem('refresh', "0") localStorage.setItem('userName', data.userName) - localStorage.setItem('accessSite', this.urlParam.site) + localStorage.setItem('accessSite', data.site) this.getConfigParams() } else { this.$message.error(data.msg) diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index 6183bd6..199becc 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/src/views/modules/changeManagement/changeRecord.vue @@ -609,50 +609,51 @@ - - 新增 - 删除 - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1029,8 +1030,10 @@ import DictDataSelect from "../sys/dict-data-select.vue" import UploadFileList from "../common/uploadFileList.vue" import ApprovalInformation from "./approvalInformation.vue"; + import OssComponents from "../oss/ossComponents.vue"; export default { components: { + OssComponents, ApprovalInformation, UploadFileList, DictDataSelect, diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue index eda0adc..707e5b2 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -763,42 +763,43 @@ - - 上传文件 - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1415,8 +1416,10 @@ import partUploadFile from "./part_upload_file" import DictDataSelect from '../sys/dict-data-select.vue' import UploadFileList from "../common/uploadFileList.vue"; + import OssComponents from "../oss/ossComponents.vue"; export default { components: { + OssComponents, UploadFileList, DictDataSelect, Chooselist, @@ -3401,6 +3404,7 @@ selectionItem2 (val) { this.itemSelections2 = val }, + // 物料项目新增 addItem () { if (this.itemSelections1 == null || this.itemSelections1.length === 0) { @@ -3423,6 +3427,12 @@ }) this.getPartItem() this.itemSelections1 = [] + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) } else { this.$alert(data.msg, '错误', { confirmButtonText: '确定' @@ -3430,6 +3440,7 @@ } }) }, + // 物料项目删除 deleteItem () { if (this.itemSelections2 == null || this.itemSelections2.length === 0) { @@ -3454,6 +3465,12 @@ }) this.getPartItem() this.itemSelections2 = [] + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) } else { this.$alert(data.msg, '错误', { confirmButtonText: '确定' @@ -3461,6 +3478,7 @@ } }) }, + // 查询物料项目 queryPartItem () { this.itemData.partNo = this.partCurrentRow.partNo @@ -3656,7 +3674,7 @@ this.partCurrentRow = {} } // 加载当前的页签的table - this.refreshCurrentTabTable() + //this.refreshCurrentTabTable() } }) }, diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index 81ba710..e22ca63 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -160,7 +160,7 @@ - 客户编码 + 客户编码