diff --git a/components/pullDown/pullDown.vue b/components/pullDown/pullDown.vue index bddf9758..10058a23 100644 --- a/components/pullDown/pullDown.vue +++ b/components/pullDown/pullDown.vue @@ -1,20 +1,26 @@ \ No newline at end of file + .page-wraper { + display: flex; + flex-direction: column; + width: 100%; + height: 100%; + } + + .page-main { + flex: 1; + position: relative; + } + + .page-footer { + color: #fff; + line-height: 100rpx; + /* 不放大不缩小固定100rpx */ + flex: 0 0 100rpx; + background-color: #00AAFF; + } + + .container { + background-color: #f5f7fa; + /* 这里只是作为样式展示 */ + } + diff --git a/pages/inspect/job/inspectDetail.vue b/pages/inspect/job/inspectDetail.vue index 9c77da89..4a81481a 100644 --- a/pages/inspect/job/inspectDetail.vue +++ b/pages/inspect/job/inspectDetail.vue @@ -441,7 +441,7 @@ detail.failedQty = detail.failedQty; detail.crackQty = detail.crackQty; detail.notPassedQty = detail.failedQty; - // detail.goodQty = detail.handleQty - detail.failedQty - detail.crackQty; + detail.goodQty = detail.handleQty - detail.failedQty - detail.crackQty; detail.inspectUser = this.$store.state.user.id //合格数==样品数,全部合格 diff --git a/pages/inspect/job/inspectFullDetail.vue b/pages/inspect/job/inspectFullDetail.vue index 39bf545f..bf7b82cb 100644 --- a/pages/inspect/job/inspectFullDetail.vue +++ b/pages/inspect/job/inspectFullDetail.vue @@ -459,7 +459,7 @@ detail.failedQty = detail.failedQty; detail.crackQty = detail.crackQty; detail.notPassedQty = detail.failedQty; - // detail.goodQty = detail.handleQty - detail.failedQty - detail.crackQty; + detail.goodQty = detail.handleQty - detail.failedQty - detail.crackQty; detail.inspectUser = this.$store.state.user.id //合格数==样品数,全部合格 diff --git a/test/pullDownTest.vue b/test/pullDownTest.vue index e8c0d1e1..2eb67339 100644 --- a/test/pullDownTest.vue +++ b/test/pullDownTest.vue @@ -5,7 +5,7 @@ @@ -121,7 +121,7 @@ value1: '', value2: '2', mask: true, - options1: [{ + options: [{ label: '默认排序', value: 1, }, diff --git a/test/pullDownTest2.vue b/test/pullDownTest2.vue index 5d7dcc14..5cac52fa 100644 --- a/test/pullDownTest2.vue +++ b/test/pullDownTest2.vue @@ -59,7 +59,7 @@ value1: '', value2: '2', mask: true, - options1: [{ + options: [{ label: '默认排序', value: 1, },