|
|
@ -5,7 +5,7 @@ |
|
|
|
<view v-if="jobList.length>0" style="padding-bottom: 110rpx;"> |
|
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
|
<view v-for="(item, index) in jobList" :key="index"> |
|
|
|
<uni-swipe-action-item :right-options="detailOptions" @click="swipeClick($event,item)"> |
|
|
|
<uni-swipe-action-item @click="swipeClick($event,item)"> |
|
|
|
<com-receipt-job-card :dataContent="item" @click='openJobDetail(item)' :isShowSupplierQty='true' |
|
|
|
:isShowBatch='false' :isShowBatchDeliNo='true'></com-receipt-job-card> |
|
|
|
</uni-swipe-action-item> |
|
|
@ -391,8 +391,10 @@ |
|
|
|
this.params = [] |
|
|
|
let obj = {} |
|
|
|
let obj1 = {} |
|
|
|
let count = 0 |
|
|
|
this.jobList.forEach(item=>{ |
|
|
|
if(item.scaned){ |
|
|
|
count++ |
|
|
|
obj = {...item} |
|
|
|
obj.id = item.masterId |
|
|
|
if(this.params.some(i => i.asnNumber == item.asnNumber)){ |
|
|
@ -477,6 +479,10 @@ |
|
|
|
delete item.masterId |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(count == 0){ |
|
|
|
this.$refs.comMessage.showMessage('扫描数量为0,请先扫描') |
|
|
|
return |
|
|
|
} |
|
|
|
//提交 |
|
|
|
if(str || str1){ |
|
|
|
if(str){ |
|
|
|