| | |
| | | <div class="tg_footer">
|
| | | <!-- proxy.$auth('h5:workorderoutput:confirm') && -->
|
| | | <button class="tg_footer_qr" @click="submitBG" v-if="isSubmit">确认报工</button>
|
| | | <div class="tg_footer_fh" @click="gofh" v-else-if="!isSubmit">返回修改</div>
|
| | | <div class="tg_footer_fh" @click="statistics = false" v-else-if="!isSubmit">返回修改</div>
|
| | | </div>
|
| | | </div>
|
| | | </u-popup>
|
| | |
| | | this.queryByIds()
|
| | | this.getOrocessRecords()
|
| | | this.getData()
|
| | | this.pageDJs()
|
| | | uni.$on('spotAdd', () => {
|
| | | if (this.typeView == 1) {
|
| | | this.pages.page = 1
|
| | |
| | | item.active = index == 0
|
| | | })
|
| | | this.arrType = result.data
|
| | | |
| | | } else {
|
| | | this.arrType = []
|
| | | }
|
| | |
| | | })
|
| | | this.isSubmit = Number(this.produceFrom.qualified) + Number(this.produceFrom.undesirable) <= this
|
| | | .info.planNum;
|
| | | console.log(this.isSubmit); |
| | | debugger
|
| | | }
|
| | | |
| | | } else {
|
| | | console.log('推式')
|
| | | if (this.feedingData.length === 0) {
|
| | |
| | | }
|
| | | if (this.produceFrom.qualified <= 0 && this.produceFrom.undesirable <= 0) {
|
| | | uni.$u.toast('产出明细不能为空')
|
| | |
|
| | | return
|
| | | }
|
| | | this.statisticsData = []
|
| | |
| | | width: 100%;
|
| | | display: flex;
|
| | | flex-direction: column;
|
| | | margin-top: 30rpx;
|
| | | // margin-top: 30rpx;
|
| | |
|
| | | .bg_list_item {
|
| | | display: flex;
|
| | | flex-direction: column;
|
| | | // margin-bottom: 40rpx;
|
| | | border-bottom: 40rpx #f7f7f7 solid;
|
| | |
|
| | | // border-bottom: 40rpx #f7f7f7 solid;
|
| | | // |
| | | .kong {
|
| | | text-align: center;
|
| | | padding: 30rpx 0;
|
| | |
| | | display: flex;
|
| | | align-items: center;
|
| | | justify-content: space-between;
|
| | | padding-left: 30rpx;
|
| | | padding-right: 30rpx;
|
| | | margin-bottom: 30rpx;
|
| | | background-color: #f7f7f7;
|
| | | padding: 30rpx;
|
| | | // padding-right: 30rpx;
|
| | |
|
| | | .bg_list_item_top_left {
|
| | | display: flex;
|
| | |
| | |
|
| | | .bg_plan {
|
| | | width: 100%;
|
| | | border-top: 20rpx #f7f7f7 solid;
|
| | | // height: 98px;
|
| | | padding: 30rpx;
|
| | | box-sizing: border-box;
|
| | |
| | | .bottom-view {
|
| | | left: 40rpx;
|
| | | right: 40rpx;
|
| | | bottom: 0
|
| | | bottom: 20rpx
|
| | | }
|
| | |
|
| | | .bl_list {
|