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

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

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

Loading…
Cancel
Save