|
|
@ -26,9 +26,7 @@ |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<locationCompare ref='comScanLocation' title="目标库位" :recommendLocationCode="jobToLocationCode" |
|
|
|
:locationCode="toLocationCode" |
|
|
|
:isShowEdit="isCheckLocation" |
|
|
|
@getLocation='scanLocationCode' |
|
|
|
:locationCode="toLocationCode" :isShowEdit="isCheckLocation" @getLocation='scanLocationCode' |
|
|
|
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> |
|
|
|
</view> |
|
|
|
<view class=" uni-flex uni-row"> |
|
|
@ -62,6 +60,7 @@ |
|
|
|
goHome, |
|
|
|
getCurrDateTime, |
|
|
|
navigateBack, |
|
|
|
updateTitle, |
|
|
|
getPackingNumberAndBatch, |
|
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
@ -111,18 +110,18 @@ |
|
|
|
toLocationAreaTypeList: [], |
|
|
|
jobStatus: "", |
|
|
|
jobToLocationCode: "", |
|
|
|
type:"", |
|
|
|
isCheckLocation:false, |
|
|
|
switchCode:"" |
|
|
|
type: "", |
|
|
|
isCheckLocation: false, |
|
|
|
switchCode: "" |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
|
this.id = option.id; |
|
|
|
this.type =option.type; |
|
|
|
this.type = option.type; |
|
|
|
if (this.type == 'predict') { |
|
|
|
this.switchCode = "SemiPutawayLocationCodeValidate" |
|
|
|
updateTitle("预生产上架任务"); |
|
|
|
} else if(this.type == 'assemble'){ |
|
|
|
} else if (this.type == 'assemble') { |
|
|
|
this.switchCode = "FgPutawayLocationCodeValidate" |
|
|
|
updateTitle("装配上架任务"); |
|
|
|
} |
|
|
|