diff --git a/pages/issue/coms/comIssueRequestCreator.vue b/pages/issue/coms/comIssueRequestCreator.vue index d083a7ff..5a935cf6 100644 --- a/pages/issue/coms/comIssueRequestCreator.vue +++ b/pages/issue/coms/comIssueRequestCreator.vue @@ -1,88 +1,145 @@ diff --git a/pages/issue/request/issueRequest.vue b/pages/issue/request/issueRequest.vue index bb4df15e..a66c629c 100644 --- a/pages/issue/request/issueRequest.vue +++ b/pages/issue/request/issueRequest.vue @@ -14,11 +14,9 @@ - + - - @@ -31,7 +29,6 @@ import comIssueRequestCard from '@/pages/issue/coms/comIssueRequestCard.vue' import requestInfoPopup from '@/pages/issue/coms/requestInfoPopup.vue' import requestButton from '@/mycomponents/button/requestButton.vue' - import comIssueRequestPopup from '@/pages/issue/coms/comIssueRequestPopup.vue' import { goHome, @@ -67,7 +64,6 @@ comIssueRequestCard, requestInfoPopup, requestButton, - comIssueRequestPopup }, data() { return { @@ -125,7 +121,7 @@ methods: { openRequestDetail(item) { uni.navigateTo({ - url: './issueRequestDetail?type=query&id=' + item.id + url: './issueRequestDetail?id=' + item.id }); }, @@ -204,7 +200,9 @@ }, openScanDetailPopup() { - this.$refs.comIssueRequestPopup.openRequestPopup(true); + uni.navigateTo({ + url: './issueRequestSubmit' + }); }, swipeClick(e, dataContent) { diff --git a/pages/issue/request/issueRequestDetail.vue b/pages/issue/request/issueRequestDetail.vue index 44afd112..56e11597 100644 --- a/pages/issue/request/issueRequestDetail.vue +++ b/pages/issue/request/issueRequestDetail.vue @@ -9,7 +9,6 @@ -
@@ -55,14 +54,8 @@ }; }, onLoad(option) { - debugger; - this.type = option.type; - if (this.type == 'add') { - - } else { - this.id = option.id; - this.getDetail(); - } + this.id = option.id; + this.getDetail(); }, //返回首页 diff --git a/pages/issue/request/issueRequestSubmit.vue b/pages/issue/request/issueRequestSubmit.vue index e92d1329..ca4e5f13 100644 --- a/pages/issue/request/issueRequestSubmit.vue +++ b/pages/issue/request/issueRequestSubmit.vue @@ -96,9 +96,12 @@ productionLineName: item.productionLineName, workStationCode: item.workStationCode, workStationName: item.workStationName, //工位 + toLocationCode:item.rawLocationCode, totalQty: 0, subList: [] } + + debugger var subItem = { productionLineCode: item.productionLineCode, workStationCode: item.workStationCode, @@ -134,10 +137,9 @@ } } + console.log(this.detailSource) this.caclcQty(); - if (this.$refs.issueRequest != undefined) { - this.$refs.issueRequest.update() - } + }, caclcQty() {