| | |
| | | <div class="bh_zw"></div> |
| | | <div class="bg_footer"> |
| | | <div class="bg_footer_submit" v-if="typeView == 0" @click="submit">确认报工</div> |
| | | <div class="bg_footer_submit1" @click="jumpdj" v-if="proxy.$auth('h5:workorder:processRecord') && typeView == 1"> |
| | | <!-- proxy.$auth('h5:workorder:processRecord') && --> |
| | | <div class="bg_footer_submit1" @click="jumpdj" v-if="typeView == 1"> |
| | | <img src="@/assets/icon/gongdan_ic_shoudong@2x.png" alt="" /> |
| | | <span>新增点检</span> |
| | | </div> |
| | |
| | | if (info.value.bomType === 1) { // 拉式 |
| | | console.log('拉式') |
| | | statisticsData.value = [] |
| | | if (produceFrom.qualified <= 0) { |
| | | if (produceFrom.qualified <= 0 && produceFrom.undesirable <= 0) { |
| | | Toast.fail({ message: '产出明细不能为空' }) |
| | | return |
| | | } |
| | |
| | | Toast.fail({ message: '投料明细不能为空' }) |
| | | return |
| | | } |
| | | if (produceFrom.qualified <= 0) { |
| | | if (produceFrom.qualified <= 0 && produceFrom.undesirable <= 0) { |
| | | Toast.fail({ message: '产出明细不能为空' }) |
| | | return |
| | | } |