|
|
|
@ -28,6 +28,7 @@ export class PickingModule extends VuexModule {
|
|
|
|
|
* 库位列表
|
|
|
|
|
*/
|
|
|
|
|
returningTypeList: any[] = [];
|
|
|
|
|
firstLocation: any = {};
|
|
|
|
|
/**
|
|
|
|
|
* 物料列表
|
|
|
|
|
*/
|
|
|
|
@ -57,7 +58,11 @@ export class PickingModule extends VuexModule {
|
|
|
|
|
label: item.locationCode,
|
|
|
|
|
value: item.locationCode + '(' + item.sendSpot + ')',
|
|
|
|
|
}));
|
|
|
|
|
return { returningTypeList };
|
|
|
|
|
const firstLocation = returningTypeList[0];
|
|
|
|
|
// const firstLocation = data.data[0];
|
|
|
|
|
// firstLocation.label = firstLocation.locationCode;
|
|
|
|
|
// firstLocation.value = firstLocation.locationCode + '(' + firstLocation.sendSpot + ')';
|
|
|
|
|
return { returningTypeList, firstLocation };
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 查询条码号
|
|
|
|
|