From 295fcf98fde32ab9af01fe825aa52357b0837064 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 6 Dec 2023 09:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=B3=E8=AF=B7=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/detail/comRequestDetailCard.vue | 54 +++---- .../issue/coms/comIssueRequestDetailCard.vue | 148 ++++++++++++++++++ pages/issue/request/issueRequestDetail.vue | 8 +- 3 files changed, 178 insertions(+), 32 deletions(-) create mode 100644 pages/issue/coms/comIssueRequestDetailCard.vue diff --git a/mycomponents/detail/comRequestDetailCard.vue b/mycomponents/detail/comRequestDetailCard.vue index 2e1dc2c3..8cb916fa 100644 --- a/mycomponents/detail/comRequestDetailCard.vue +++ b/mycomponents/detail/comRequestDetailCard.vue @@ -1,19 +1,28 @@ @@ -23,10 +32,6 @@ import recommend from '@/mycomponents/recommend/recommend.vue' import balanceQtyEdit from '@/mycomponents/qty/balanceQtyEdit.vue' import comMessage from '@/mycomponents/common/comMessage.vue' - import itemQty from '@/mycomponents/item/itemQty.vue' - import comIssueRequestInfo from '@/pages/issue/coms/comIssueRequestInfo.vue' - import requestDetailInfoPopup from '@/pages/issue/coms/requestDetailInfoPopup.vue' - import { getDetailOption, getDetailEditRemoveOption, @@ -40,9 +45,6 @@ recommend, balanceQtyEdit, comMessage, - itemQty, - comIssueRequestInfo, - requestDetailInfoPopup }, props: { dataContent: { @@ -67,9 +69,7 @@ }, }, watch: { - dataContent(newVal) { - this.requestItem = newVal.subList[0]; - }, + }, data() { @@ -81,7 +81,6 @@ } }, - requestItem: {}, detailOptions: [], scanOptions: [] } @@ -117,10 +116,9 @@ }, detail(item) { - this.$refs.jobDetailPopup.openPopup(item) - // this.$emit('openDetail', item); - // // this.showItem = item; - // // this.$refs.jobDetailPopup.openPopup(item) + this.$emit('openDetail', item); + // this.showItem = item; + // this.$refs.jobDetailPopup.openPopup(item) }, remove(item) { this.$refs.message.showQuestionMessage("确定移除扫描信息?", diff --git a/pages/issue/coms/comIssueRequestDetailCard.vue b/pages/issue/coms/comIssueRequestDetailCard.vue new file mode 100644 index 00000000..2e1dc2c3 --- /dev/null +++ b/pages/issue/coms/comIssueRequestDetailCard.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/pages/issue/request/issueRequestDetail.vue b/pages/issue/request/issueRequestDetail.vue index eaf62e57..3c5dc224 100644 --- a/pages/issue/request/issueRequestDetail.vue +++ b/pages/issue/request/issueRequestDetail.vue @@ -4,8 +4,8 @@ - - + + @@ -29,13 +29,13 @@ } from '@/common/detail.js'; - import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue" + import comIssueRequestDetailCard from "@/pages/issue/coms/comIssueRequestDetailCard.vue" import comMessage from '@/mycomponents/common/comMessage.vue' export default { components: { - comRequestDetailCard, + comIssueRequestDetailCard, comMessage, }, data() {