|
|
@ -17,7 +17,7 @@ |
|
|
|
:locationAreaTypeList='toLocationAreaTypeList'> |
|
|
|
</com-receipt-detail-card> --> |
|
|
|
<comRecommendDetailCard :dataContent="item" :index="index" :settingParam="jobContent" |
|
|
|
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false'> |
|
|
|
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false' :isShowBatch='item.isShowBatch'> |
|
|
|
</comRecommendDetailCard> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
@ -105,7 +105,7 @@ |
|
|
|
managementList: [], |
|
|
|
managementType:'', |
|
|
|
jobStatus: "", |
|
|
|
jobToLocationCode: "" |
|
|
|
jobToLocationCode: "", |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
@ -190,6 +190,13 @@ |
|
|
|
this.detailSource.forEach(item => { |
|
|
|
itemCodes.push(item.itemCode) |
|
|
|
item.scaned = false |
|
|
|
item.subList.forEach((cur,index)=>{ |
|
|
|
if(index == 0){ |
|
|
|
console.log(222,cur) |
|
|
|
cur.batch = '' |
|
|
|
} |
|
|
|
cur.isShowBatch = cur.batch ? true :false |
|
|
|
}) |
|
|
|
}) |
|
|
|
getManagementPrecisions(itemCodes, that.jobToLocationCode, res => { |
|
|
|
if (res.success) { |
|
|
@ -385,8 +392,6 @@ |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(11,scanCount) |
|
|
|
console.log(11,this.subList.length) |
|
|
|
if (scanCount < this.subList.length){ |
|
|
|
if(this.jobContent.allowPartialComplete == "TRUE"){ |
|
|
|
this.$refs.comMessage.showQuestionMessage1("任务明细未全部完成,是否提交?", 'red', res => { |
|
|
|