diff --git a/common/style/pdabasic.css b/common/style/pdabasic.css index 8fc37203..96e132e0 100644 --- a/common/style/pdabasic.css +++ b/common/style/pdabasic.css @@ -716,7 +716,20 @@ page { height: 100%; } +.page-header { + background-color: #fff; + font-size: 35rpx; + padding: 10rpx 20rpx; +} +.page-header .header_item { + /* padding-left: 10rpx; */ + padding: 5rpx 10rpx; +} + +.page-header .header_job_top { + padding:5rpx 0rpx; +} .page-main { flex: 1; position: relative; diff --git a/mycomponents/item/itemQty.vue b/mycomponents/item/itemQty.vue index b1b5f10f..920026e9 100644 --- a/mycomponents/item/itemQty.vue +++ b/mycomponents/item/itemQty.vue @@ -5,6 +5,9 @@ + + + @@ -63,7 +65,7 @@ import location from '@/mycomponents/balance/location.vue' import comMessage from '@/mycomponents/common/comMessage.vue' import detailInfoPopup from '@/pages/productionReceipt/coms/detailInfoPopup.vue' - + import comIssueRequestInfo from '@/pages/issue/coms/comIssueRequestInfo.vue' import { getDetailOption, getEditRemoveOption @@ -81,7 +83,8 @@ balanceQtyEdit, location, comMessage, - detailInfoPopup + detailInfoPopup, + comIssueRequestInfo }, props: { dataContent: { diff --git a/pages/issue/coms/comScanIssuePack.vue b/pages/issue/coms/comScanIssuePack.vue index 1b2bc367..cbc52bc9 100644 --- a/pages/issue/coms/comScanIssuePack.vue +++ b/pages/issue/coms/comScanIssuePack.vue @@ -7,7 +7,7 @@ 扫描箱码 关闭 - @@ -132,10 +135,25 @@ }, }, mounted: function() { - + // this.resizeCollapse(); }, methods: { + resizeCollapse() { + this.$nextTick(r => { + // debugger; + this.$refs.comIssueDetailCard.forEach(r => { + r.resizeCollapse(); + }) + // this.$refs.mainCollapse.forEach(r => { + // r.childrens.forEach(i => { + // i.init(); + // }) + // r.resize(); + // }) + }); + }, + //接收 receive(callback) { if (this.id != null) { @@ -162,7 +180,11 @@ that.jobContent = res.data; that.subList = res.data.subList; that.detailSource = getDataSource(that.detailSource, that.subList) - that.resizeCollapse(); + + setTimeout(r => { + that.resizeCollapse(); + }, 100) + uni.hideLoading(); } else { that.showMessage('列表数据为0'); @@ -178,14 +200,6 @@ this.resizeCollapse(); }, - resizeCollapse() { - this.$nextTick(r => { - this.$refs.comIssueDetailCard.forEach(r => { - r.resizeCollapse(); - }) - }); - }, - // submit() { //3.如果是按批次先进先出发料提交时如果扫描的箱码不是先进的批次,则报错 //:请扫描XXX批次,改批次满足先进先出规则。否则可以直接提交 @@ -366,7 +380,8 @@ } }) } - // item.handleQty=itemHandleQty; + this.resizeCollapse(); + item.handleQty = itemHandleQty; }, scanPopupGetFocus() { diff --git a/pages/productionReceipt/job/productionReceiptDetail.vue b/pages/productionReceipt/job/productionReceiptDetail.vue index d6e03ab7..a8345727 100644 --- a/pages/productionReceipt/job/productionReceiptDetail.vue +++ b/pages/productionReceipt/job/productionReceiptDetail.vue @@ -1,21 +1,29 @@