diff --git a/src/api/orderIssure/soIssueNotify.js b/src/api/orderIssure/soIssueNotify.js index ed15e59..25615d0 100644 --- a/src/api/orderIssure/soIssueNotify.js +++ b/src/api/orderIssure/soIssueNotify.js @@ -40,3 +40,4 @@ export const getNoControlPartList= data => createAPI(`/orderIssure/issureNotify/ export const searchOtherPart= data => createAPI(`/orderIssure/issureNotify/searchOtherPart`,'post',data) export const searchNotifyLog= data => createAPI(`/orderIssure/issureNotify/searchNotifyLog`,'post',data) export const deleteNotifyMaterialWithOutLog= data => createAPI(`/orderIssure/issureNotify/deleteNotifyMaterialWithOutLog`,'post',data) +export const searchNotifyLogClose= data => createAPI(`/orderIssure/issureNotify/searchNotifyLogClose`,'post',data) diff --git a/src/views/modules/auth/authGroup.vue b/src/views/modules/auth/authGroup.vue index 086317e..679adb7 100644 --- a/src/views/modules/auth/authGroup.vue +++ b/src/views/modules/auth/authGroup.vue @@ -139,7 +139,7 @@ - +
@@ -903,6 +903,11 @@ export default { } }) }, + closeAuthGroupMemberSaveDialogFlag () { + this.authGroupMemberSaveDialog = false + this.allAuthBusinessList = [] + this.isAuthBusinessList = [] + }, // 动态列开始 获取 用户保存的 格式列 async getTableUserColumn(tableId, columnId) { let queryTableUser = { diff --git a/src/views/modules/auth/authRule.vue b/src/views/modules/auth/authRule.vue index 443d736..0855c51 100644 --- a/src/views/modules/auth/authRule.vue +++ b/src/views/modules/auth/authRule.vue @@ -67,8 +67,23 @@ :min-width="item.columnWidth" :label="item.columnLabel"> { - if (item.active === 'Y') { - item.active = '启用' - } else { - item.active = '禁用' - } - }) // 判断是否全部存在数据 if (this.totalPage > 0) { // 设置选中行 @@ -1229,6 +1236,7 @@ export default { * @param row */ updateModal (row) { + console.log(row.active) this.modalData = { flag: '2', title: '审批规则编辑', @@ -1293,6 +1301,7 @@ export default { * 审批规则信息新增/编辑 */ saveData () { + console.log(this.modalData) if (this.modalData.bu === '' || this.modalData.bu == null) { this.$message.warning('请选择BU!') return diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue index 377f629..7eef102 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue @@ -115,7 +115,7 @@ width="80" label="操作"> @@ -284,9 +284,66 @@ + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + 保存 + 关闭 + +
@@ -301,6 +358,7 @@ ,updateNotifyStatus ,deleteNotifyMaterial ,searchNotifyLog + ,searchNotifyLogClose }from "@/api/orderIssure/soIssueNotify.js" import Chooselist from '@/views/modules/common/Chooselist' import {getEamWorkShop} from "@/api/factory/site.js"; @@ -324,7 +382,15 @@ dataList3: [], dataList4: [], dataList5: [], + dataList6: [], addOrUpdateVisible:false, + closeData:{ + site:'', + notifyNo:'', + closeRemark:'', + username:this.$store.state.user.name, + }, + closeModalFlag:false, searchData: { page: 1, limit: 100, @@ -1158,6 +1224,62 @@ columnWidth: 120 }, ], + columnList6:[ + { + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table6UserDisplay', + tableId: "701002Table6", + tableName: "申请单材料关闭明细", + columnProp: "userDisplay", + headerAlign: "center", + align: "left", + columnLabel: "操作人", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100 + }, + { + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table6ActionTime', + tableId: "701002Table6", + tableName: "申请单材料关闭明细", + columnProp: "actionTime", + headerAlign: "center", + align: "left", + columnLabel: "操作时间", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 130 + }, + { + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table6ActionRemark', + tableId: "701002Table6", + tableName: "申请单材料关闭明细", + columnProp: "actionRemark", + headerAlign: "center", + align: "left", + columnLabel: "关闭原因", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 300 + }, + ], favorite: false, dataRole: { partTypeDesc: [ @@ -1366,6 +1488,16 @@ this.dataList5 = []; } }); + }else if(this.activeName==='close'){ + searchNotifyLogClose(this.currentRow).then(({data}) => { + //区分请求成功和失败的状况 + if (data && data.code == 0) { + this.dataList6 = data.rows + + } else { + this.dataList6 = []; + } + }); }else { searchSumNotifyMaterialList(this.currentRow).then(({data}) => { //区分请求成功和失败的状况 @@ -1399,19 +1531,30 @@ } }); }, - closeNotify(row){ - this.$confirm('确认关闭?', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { + closeNotifyModel(row){ + this.closeData.site=row.site + this.closeData.notifyNo=row.notifyNo + this.closeData.closeRemark='' + this.closeModalFlag=true + }, + closeNotify(){ + if(this.closeData.closeRemark==null||this.closeData.closeRemark===''){ + this.$alert("必须输入关闭原因", '错误', { + confirmButtonText: '确定' + }) + return false; + } + let inData={ - site:row.site, - notifyNo:row.notifyNo, + site:this.closeData.site, + notifyNo:this.closeData.notifyNo, + closeRemark:this.closeData.closeRemark, + username:this.$store.state.user.name, status:'已关闭', } updateNotifyStatus(inData).then(({data}) => { if (data && data.code === 0) { + this.closeModalFlag=false this.searchTable() this.$message({ message: '操作成功', @@ -1425,7 +1568,7 @@ }) } }) - }) + }, openNotify(row){ this.$confirm('确认打开?', '提示', { diff --git a/src/views/modules/part/partCostInformation.vue b/src/views/modules/part/partCostInformation.vue index b9708dc..ec69da1 100644 --- a/src/views/modules/part/partCostInformation.vue +++ b/src/views/modules/part/partCostInformation.vue @@ -89,7 +89,7 @@ - + @@ -206,7 +206,7 @@ export default { sourceBu: '', partNo: '', partDesc: '', - umId: '', + umId2: '', umName: '', familyId: '', familyName: '', @@ -285,28 +285,46 @@ export default { { userId: this.$store.state.user.name, functionId: 6010011, - serialNumber: '6010011Table1UmId', + serialNumber: '6010011Table1UmId2', tableId: '6010011Table1', tableName: '物料成本表', - columnProp: 'umId', + columnProp: 'umId2', headerAlign: 'center', align: 'center', - columnLabel: '计量单位', + columnLabel: '计量单位编码', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 80 + columnWidth: 100 }, { userId: this.$store.state.user.name, functionId: 6010011, - serialNumber: '6010011Table1PartType', + serialNumber: '6010011Table1UmName', tableId: '6010011Table1', tableName: '物料成本表', - columnProp: 'partType', + columnProp: 'umName', + headerAlign: 'center', + align: 'left', + columnLabel: '计量单位名称', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 150 + }, + { + userId: this.$store.state.user.name, + functionId: 6010011, + serialNumber: '6010011Table1PartType2Desc', + tableId: '6010011Table1', + tableName: '物料成本表', + columnProp: 'partType2Desc', headerAlign: 'center', align: 'center', columnLabel: '零件类型', @@ -316,7 +334,7 @@ export default { sortLv: 0, status: true, fixed: '', - columnWidth: 150 + columnWidth: 100 }, { userId: this.$store.state.user.name, @@ -357,10 +375,10 @@ export default { { userId: this.$store.state.user.name, functionId: 6010011, - serialNumber: '6010011Table1OtherGroup1', + serialNumber: '6010011Table1ProductGroupId1', tableId: '6010011Table1', tableName: '物料成本表', - columnProp: 'otherGroup1', + columnProp: 'productGroupId1', headerAlign: 'center', align: 'center', columnLabel: '商品组1编码', @@ -375,20 +393,20 @@ export default { { userId: this.$store.state.user.name, functionId: 6010011, - serialNumber: '6010011Table1OtherGroupName1', + serialNumber: '6010011Table1ProductGroupName1', tableId: '6010011Table1', tableName: '物料成本表', - columnProp: 'otherGroupName1', + columnProp: 'productGroupName1', headerAlign: 'center', - align: 'center', - columnLabel: '商品组1描述', + align: 'left', + columnLabel: '商品组1名称', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 100 + columnWidth: 150 }, { userId: this.$store.state.user.name, @@ -817,7 +835,7 @@ export default { buDesc: row.buDesc, partNo: row.partNo, partDesc: row.partDesc, - umId: row.umId, + umId2: row.umId2, umName: row.umName, familyId: row.familyId, familyName: row.familyName, @@ -910,7 +928,7 @@ export default { buNo: '', partNo: '', partDesc: '', - umId: '', + umId2: '', umName: '', familyId: '', familyName: '',