成品下线入库初始化库位问题修改

master
guoshuang 3 years ago
parent cbad6da001
commit 137da309c3

@ -143,7 +143,7 @@ export default class finishProductOfflineDom extends BasePage {
onReady() {
this.$form.setRules(this.rules);
model.queryReturningTypeList();
this.form.aimWl.value = this.model.returningTypeList[0].value;
this.form.aimWl = model.firstLocation;
}
/**
* 处理选择行 选中一条执行一次

@ -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 };
}
/**
*

Loading…
Cancel
Save