cosmoim-852 fix 俄罗斯半成品判废库位调整

master
guoshuang 2 years ago
parent 8a459c308f
commit acc373cd07

@ -171,7 +171,7 @@ export default class LoginPage extends BasePage {
console.log('......', server.serverAddress); console.log('......', server.serverAddress);
if (server.serverAddress.includes('https://eurmom.haier.net')) { if (server.serverAddress.includes('https://eurmom.haier.net')) {
// //
this.Version = '1.1.37'; this.Version = '1.1.38';
} else { } else {
this.Version = '1.0.51'; this.Version = '1.0.51';
} }

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

Loading…
Cancel
Save