diff --git a/src/views/modules/orderIssure/inboundNotification.vue b/src/views/modules/orderIssure/inboundNotification.vue new file mode 100644 index 0000000..55cfa8e --- /dev/null +++ b/src/views/modules/orderIssure/inboundNotification.vue @@ -0,0 +1,1995 @@ + + + + diff --git a/src/views/modules/orderIssure/newSoIssueNotify.vue b/src/views/modules/orderIssure/newSoIssueNotify.vue index f50ea5e..1ed6e16 100644 --- a/src/views/modules/orderIssure/newSoIssueNotify.vue +++ b/src/views/modules/orderIssure/newSoIssueNotify.vue @@ -267,7 +267,7 @@ 关闭 - + @@ -370,11 +370,11 @@ - + @@ -606,6 +606,7 @@ import { saveSOIssueNotifyOrderList, getSOSBOMForIssure, saveMaterialDetail, + deleteNotifySOS } from '@/api/orderIssure/soIssueNotify.js' import Chooselist from '@/views/modules/common/Chooselist_eam' import walUploadExcel from './walmart_upload_excel.vue' @@ -1605,7 +1606,7 @@ export default { } } if (stop) { - this.$alert('已经选择过此派工单,请返回点击明细直接操作!!', '提示', { + this.$alert('已经选择过此工单,请返回点击明细直接操作!!', '提示', { confirmButtonText: '确定', }) return false @@ -1654,13 +1655,13 @@ export default { } } if (stop) { - this.$alert('已经选择过此派工单,请返回点击明细直接操作!!', '提示', { + this.$alert('已经选择过此工单,请返回点击明细直接操作!!', '提示', { confirmButtonText: '确定', }) return false } } - this.$confirm('确定选择派工单' + row.seqno + '?', '提示', { + this.$confirm('确定选择工单' + row.seqno + '?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning', @@ -1676,12 +1677,13 @@ export default { needDate: row.needDate, issureQty: row.issureQty, } + saveSOIssueNotifyOrderList(inData).then(({ data }) => { if (data.code === 0) { this.saveSeqNoModalFlag = false this.getNotifyNoDetail() this.enterSOS(row) - this.itemNo = data.itemNo + //this.itemNo = data.itemNo } else { this.$alert(data.msg, '错误', { confirmButtonText: '确定', @@ -1709,6 +1711,8 @@ export default { this.enterSOS(rows) }, enterSOS(row) { + console.log("row",row); + this.seqNoModalFlag = false this.materialModalFlag = true this.sobomList = [] @@ -1760,6 +1764,7 @@ export default { }) }, saveMaterialDetail() { + for (let i = 0; i < this.sobomList.length; i++) { if ( this.sobomList[i].applyQty === '' || @@ -1768,6 +1773,7 @@ export default { this.sobomList[i].applyQty = 0 } } + let materialList = this.sobomList.filter((item) => item.qtyToIssue > 0) if (materialList.length == 0) { this.$alert('没有需要保存的内容!', '提示', { @@ -1775,6 +1781,7 @@ export default { }) return false } + console.log("this.sobomList",materialList); saveMaterialDetail(materialList).then(({ data }) => { if (data.code === 0) { this.materialModalFlag = false diff --git a/src/views/modules/productionInbound/productionInboundRequest.vue b/src/views/modules/productionInbound/productionInboundRequest.vue new file mode 100644 index 0000000..994de7d --- /dev/null +++ b/src/views/modules/productionInbound/productionInboundRequest.vue @@ -0,0 +1,390 @@ + + + \ No newline at end of file diff --git a/src/views/modules/productionInbound/searchRollRecords.vue b/src/views/modules/productionInbound/searchRollRecords.vue new file mode 100644 index 0000000..76fd5e0 --- /dev/null +++ b/src/views/modules/productionInbound/searchRollRecords.vue @@ -0,0 +1,1065 @@ + + + + +