From 678700b683f8013b5eab9ac087d2680818904a02 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 4 Nov 2024 16:41:39 +0800 Subject: [PATCH] 1 --- src/api/factory/site.js | 2 + .../soIssueNotify/newSoIssueNotify.vue | 19 +++++++ .../soIssueNotify/searchIssureNotify.vue | 49 +++++++++++++++++-- .../soIssueNotify/searchIssureNotifyForCK.vue | 35 +++++++++++++ src/views/modules/sys/user-add-or-update.vue | 31 +++++++++--- src/views/modules/sys/user.vue | 6 +++ 6 files changed, 132 insertions(+), 10 deletions(-) diff --git a/src/api/factory/site.js b/src/api/factory/site.js index c6a6323..d7cddae 100644 --- a/src/api/factory/site.js +++ b/src/api/factory/site.js @@ -51,3 +51,5 @@ export const searchBusinessInfo7 = data => createAPI(`/site/searchBusinessInfo7` export const getResponsibleDepartment = data => createAPI(`/site/getResponsibleDepartment`,'post',data) +export const getEamWorkShop = data => createAPI(`/site/getEamWorkShop`,'post',data) + diff --git a/src/views/modules/orderIssure/soIssueNotify/newSoIssueNotify.vue b/src/views/modules/orderIssure/soIssueNotify/newSoIssueNotify.vue index 467397e..8e1a53a 100644 --- a/src/views/modules/orderIssure/soIssueNotify/newSoIssueNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/newSoIssueNotify.vue @@ -1329,6 +1329,24 @@ fixed: '', columnWidth: 50, }, + { + userId: this.$store.state.user.name, + functionId: 701001002, + serialNumber: '701001002Table3StockQty', + tableId: "701001002Table3", + tableName: "领料申请BOM子表", + columnProp: 'stockQty', + headerAlign: "center", + align: "right", + columnLabel: 'ERP库存', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 50, + }, { userId: this.$store.state.user.name, functionId: 701001002, @@ -1411,6 +1429,7 @@ this.$nextTick(() => { this.height = window.innerHeight - 300 }) + }, created () { diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue index 3d67ab8..529b164 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue @@ -29,6 +29,13 @@ placeholder="选择日期"> + + + + + + + @@ -43,6 +50,16 @@ + + + + + + 查询 @@ -281,6 +297,7 @@ ,searchNotifyLog }from "@/api/orderIssure/soIssueNotify.js" import Chooselist from '@/views/modules/common/Chooselist' + import {getEamWorkShop} from "@/api/factory/site.js"; export default { components: { Chooselist @@ -302,12 +319,15 @@ site:this.$store.state.user.site, userName: '', notifyNo: '', + status: '', issueFlag: '', issueResult: '', + workShopList: [], startDate: this.dayjs().format("YYYY-MM-DD"), endDate: this.dayjs().format("YYYY-MM-DD"), sql: " and a.status!='已计划' ", }, + workShopList: [], exportList:[], pageIndex: 1, pageSize: 100, @@ -333,6 +353,23 @@ status: true, fixed: '', columnWidth: 100 + },{ + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table1WorkShopName', + tableId: "701002Table1", + tableName: "领料申请主表", + columnProp: "workShopName", + headerAlign: "center", + align: "center", + columnLabel: "车间", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100 },{ userId: this.$store.state.user.name, functionId: 701002, @@ -1136,7 +1173,11 @@ mounted () { this.$nextTick(() => { this.height = (window.innerHeight- 250) / 2 - + getEamWorkShop({}).then(({data}) => { + if (data && data.code === 0) { + this.workShopList=data.rows + } + }) }) }, diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue index 88c6b44..c13d5e4 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue @@ -29,6 +29,16 @@ placeholder="选择日期"> + + + + + + 查询 { this.height = (window.innerHeight- 260) / 2 this.searchTable() + getEamWorkShop({}).then(({data}) => { + if (data && data.code === 0) { + this.workShopList=data.rows + } + }) }) }, diff --git a/src/views/modules/sys/user-add-or-update.vue b/src/views/modules/sys/user-add-or-update.vue index fe23d53..fa31f15 100644 --- a/src/views/modules/sys/user-add-or-update.vue +++ b/src/views/modules/sys/user-add-or-update.vue @@ -35,6 +35,16 @@ {{buttons.site||'工厂'}} + + + + + + @@ -69,7 +79,7 @@