|
|
|
@ -100,7 +100,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
form = {
|
|
|
|
|
aimWl: {} as OptionType,
|
|
|
|
|
};
|
|
|
|
|
ScrapLocation = [
|
|
|
|
|
ScrapLocationOld = [
|
|
|
|
|
{
|
|
|
|
|
label: 'CA',
|
|
|
|
|
value: 'CA',
|
|
|
|
@ -114,11 +114,34 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
value: 'FA',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
ScrapLocationNew = [
|
|
|
|
|
{
|
|
|
|
|
label: 'CA',
|
|
|
|
|
value: 'CA',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'DA',
|
|
|
|
|
value: 'DA',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'FA',
|
|
|
|
|
value: 'FA',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'COMBI',
|
|
|
|
|
value: 'COMBI',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
ScrapLocation: any = [];
|
|
|
|
|
bookTypeChange(e: any) {
|
|
|
|
|
this.form.aimWl = e.pickerName;
|
|
|
|
|
}
|
|
|
|
|
async onReady() {
|
|
|
|
|
//
|
|
|
|
|
if (session.user.factoryCode === '6681') {
|
|
|
|
|
this.ScrapLocation = this.ScrapLocationOld;
|
|
|
|
|
} else {
|
|
|
|
|
this.ScrapLocation = this.ScrapLocationNew;
|
|
|
|
|
}
|
|
|
|
|
this.form.aimWl = this.ScrapLocation[0];
|
|
|
|
|
}
|
|
|
|
|
async query() {
|
|
|
|
|