diff --git a/src/api/orderIssure/inboundNotification.js b/src/api/orderIssure/inboundNotification.js index 7c283cd..7e04d9a 100644 --- a/src/api/orderIssure/inboundNotification.js +++ b/src/api/orderIssure/inboundNotification.js @@ -1,5 +1,6 @@ import { createAPI } from "@/utils/httpRequest.js"; export const getSiteAndBuByUserName = data => createAPI(`/orderIssure/issureNotify/getSiteAndBuByUserName`,'post',data) -export const searchNotifyHeader= data => createAPI(`/orderIssure/issureNotify/searchNotifyHeader`,'post',data) -export const createNotify = data => createAPI(`/orderIssure/issureNotify/createNotify`,'post',data) \ No newline at end of file +export const searchNotifyHeader= data => createAPI(`/orderUnissue/unissueNotify/searchUnissueNotifyHeader`,'post',data) +export const createNotify = data => createAPI(`/orderIssure/issureNotify/createNotify`,'post',data) +export const getSOScheduledRoutingListForIssure= data => createAPI(`/orderIssure/issureNotify/getSOScheduledRoutingListForIssure`,'post',data) \ No newline at end of file diff --git a/src/views/modules/orderIssure/inboundNotification.vue b/src/views/modules/orderIssure/inboundNotification.vue index 55cfa8e..4d2bbab 100644 --- a/src/views/modules/orderIssure/inboundNotification.vue +++ b/src/views/modules/orderIssure/inboundNotification.vue @@ -5,23 +5,20 @@ - + - - - - - - - + + + + @@ -39,13 +36,12 @@ 查询 - 新增 - 删除 + - + @@ -131,7 +127,6 @@ @tab-click="tabClick" class="customer-tab"> - 新增 删除 { @@ -1335,7 +1332,7 @@ export default { if (this.modalData.flag === '1') { // 新增 this.modalData.orderType = '退料入库' - this.modalData.site = this.$store.state.user.site + this.modalData.site = localStorage.getItem('site') createNotify(this.modalData) .then(({ data }) => { if (data && data.code === 0) { @@ -1540,7 +1537,7 @@ export default { chooseSOSModal() { this.seqNoData = { - site: this.$store.state.user.site, + site: localStorage.getItem('site'), orderno: '', seqno: '', sResourceid: '', @@ -1647,7 +1644,7 @@ export default { type: 'warning', }).then(() => { let inData = { - site: this.$store.state.user.site, + site: localStorage.getItem('site'), notifyNo: this.notifyNo, fGPartNo: row.partNo, sOOrderNo: row.orderno, @@ -1673,7 +1670,7 @@ export default { }, getNotifyNoDetail() { let inData = { - site: this.$store.state.user.site, + site: localStorage.getItem('site'), notifyNo: this.notifyNo, } getNotifyNoDetail(inData).then(({ data }) => { @@ -1693,7 +1690,7 @@ export default { } this.bomLoadFlag = true let inData = { - site: this.$store.state.user.site, + site: localStorage.getItem('site'), notifyNo: this.notifyNo, orderno: row.orderno, seqno: row.seqno,