diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue index bad215f..8ec9993 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue @@ -105,7 +105,8 @@ @@ -886,6 +887,7 @@ , getPartListByPaging , xiadaNotify , editNotifyMaterial + , deleteNotify } from "@/api/orderIssure/soIssueNotify.js" import { searchShopOrderByPaging @@ -1351,6 +1353,40 @@ status: true, fixed: '', columnWidth: 130 + },{ + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table3IssueMethod', + tableId: "701002Table3", + tableName: "申请单材料明细表", + columnProp: "issueMethod", + 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: '701002Table3OutboundWarehouseId', + tableId: "701002Table3", + tableName: "申请单材料明细表", + columnProp: "outboundWarehouseId", + 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, @@ -2464,6 +2500,33 @@ } }) }, + deleteNotifyConfirm(row){ + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + let inData={ + site:row.site, + notifyNo:row.notifyNo + } + deleteNotify(inData).then(({data}) => { + if (data && data.code === 0) { + this.searchTable() + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }) + }, openNotify(row){ this.$confirm('确认打开?', '提示', { confirmButtonText: '确定',