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 @@