Browse Source

修改制品上架任务

hella_vue3
niexiting 5 months ago
parent
commit
fbe96a097b
  1. 15
      src/pages/productPutaway/job/productPutawayDetail.vue
  2. 2
      src/pages/productionReceipt/job/productionReceiptDetail.vue

15
src/pages/productPutaway/job/productPutawayDetail.vue

@ -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("装配上架任务");
} }

2
src/pages/productionReceipt/job/productionReceiptDetail.vue

@ -17,7 +17,7 @@
@remove="updateData" @updateData="updateData" @openDetail="openDetail" @remove="updateData" @updateData="updateData" @openDetail="openDetail"
:locationAreaTypeList='toLocationAreaTypeList'> :locationAreaTypeList='toLocationAreaTypeList'>
</com-detail-card> </com-detail-card>
<u-line /> <view class='split_line'></view>
</view> </view>
</view> </view>

Loading…
Cancel
Save