|
|
@ -1,7 +1,11 @@ |
|
|
|
<template> |
|
|
|
<view class=""> |
|
|
|
<com-empty-view v-if="jobList.length == 0"></com-empty-view> |
|
|
|
<job-filter ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" :isShowProductionLineCode="true" @productionLineCode="productionLineCode" :productionline="productionLineList"> </job-filter> |
|
|
|
<job-filter ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday" |
|
|
|
@switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" |
|
|
|
:checkedWaitTask="checkedWaitTask" :isShowProductionLineCode="true" @productionLineCode="productionLineCode" |
|
|
|
:productionline="productionLineList"> |
|
|
|
</job-filter> |
|
|
|
<view v-if="jobList.length > 0" class="u-m-20"> |
|
|
|
<u-swipe-action :show="item.show" :index="index" v-for="(item, index) in jobList" :key="index" :options="item.status == '2' ? detailGiveupOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="swipeClick"> |
|
|
|
<com-production-job-card :dataContent="item" @click="openJobDetail(item)"> </com-production-job-card> |
|
|
@ -313,9 +317,9 @@ const getScanResult = (result) => { |
|
|
|
scanMessage.value = '' |
|
|
|
const filters = [ |
|
|
|
{ |
|
|
|
column: 'packingNumber', |
|
|
|
action: '==', |
|
|
|
value: result.label.packingNumber |
|
|
|
column: "packingNumber", |
|
|
|
action: "in", |
|
|
|
value: result.package.number + "," + result.package.parentNumber |
|
|
|
}, |
|
|
|
{ |
|
|
|
column: 'batch', |
|
|
|