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