From e4e77e15d2db849cf236a77bebc0f2c29871d156 Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 1 Dec 2023 14:53:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99?= =?UTF-8?q?=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/detail/comRequestDetailCard.vue | 54 ++++++++++--------- mycomponents/qty/balanceQty.vue | 2 +- pages/issue/coms/comIssueRequestCard.vue | 3 -- pages/issue/coms/comIssueRequestInfo.vue | 57 ++++++++++++++++++++ pages/issue/coms/comScanIssuePack.vue | 10 ++-- pages/issue/job/issueDetail.vue | 26 ++------- pages/issue/request/issueRequestDetail.vue | 49 +++++++---------- static/config.json | 2 +- 8 files changed, 115 insertions(+), 88 deletions(-) create mode 100644 pages/issue/coms/comIssueRequestInfo.vue diff --git a/mycomponents/detail/comRequestDetailCard.vue b/mycomponents/detail/comRequestDetailCard.vue index 8cb916fa..2e1dc2c3 100644 --- a/mycomponents/detail/comRequestDetailCard.vue +++ b/mycomponents/detail/comRequestDetailCard.vue @@ -1,28 +1,19 @@ @@ -32,6 +23,10 @@ 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, @@ -45,6 +40,9 @@ recommend, balanceQtyEdit, comMessage, + itemQty, + comIssueRequestInfo, + requestDetailInfoPopup }, props: { dataContent: { @@ -69,7 +67,9 @@ }, }, watch: { - + dataContent(newVal) { + this.requestItem = newVal.subList[0]; + }, }, data() { @@ -81,6 +81,7 @@ } }, + requestItem: {}, detailOptions: [], scanOptions: [] } @@ -116,9 +117,10 @@ }, detail(item) { - this.$emit('openDetail', item); - // this.showItem = item; - // this.$refs.jobDetailPopup.openPopup(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/mycomponents/qty/balanceQty.vue b/mycomponents/qty/balanceQty.vue index d1358a3d..fa5ee3c5 100644 --- a/mycomponents/qty/balanceQty.vue +++ b/mycomponents/qty/balanceQty.vue @@ -6,7 +6,7 @@ {{Number(dataContent.qty)}} - + diff --git a/pages/issue/coms/comIssueRequestCard.vue b/pages/issue/coms/comIssueRequestCard.vue index 8f7f4b5a..023acba5 100644 --- a/pages/issue/coms/comIssueRequestCard.vue +++ b/pages/issue/coms/comIssueRequestCard.vue @@ -1,9 +1,6 @@