标签清空更新页面

master
guoshuang 7 months ago
parent 7bb31eb882
commit 62ea34944d

16819
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -142,7 +142,7 @@ export default class LoginPage extends BasePage {
// console.log('Version////', this.Version);
}
///******************
version = '0.0.144'; //
version = '0.0.145'; //
//version = '0.0.14'; //
//*************** false true ****************
//isTest = true;
@ -182,24 +182,6 @@ export default class LoginPage extends BasePage {
//const queryversion = this.checkversion.Version.match(/\d+\.\d+\.\d+/)[0];
let versionNumber = this.compareVersion(this.version, queryversion); //this.version, queryversion
if (versionNumber == -1) {
// test true isTestUpdatetrueisTestUpdatefalse
// test falseisTestUpdatetrueisTestUpdatefalse
// if (isTestUpdate && !this.isTest) {
// //
// console.log('Test version update available, but running in production environment.');
// uni.navigateTo({
// url: page.shouye,
// });
// return;
// } else if (!isTestUpdate && this.isTest) {
// //
// console.log('Production version update available, but running in test environment.');
// uni.navigateTo({
// url: page.shouye,
// });
// return;
// }
//
uni.showModal({
content: '新版本为:' + this.model.checkversion.version + ',' + '是否更新?',

@ -213,9 +213,10 @@ export default class ProductionREQ extends BasePage {
(this.$refs.uToast as any).show({
title: '请勿重复扫描标志卡',
});
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
@ -247,9 +248,10 @@ export default class ProductionREQ extends BasePage {
//alreadyList.flage = true;
//
}
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
},
@ -266,9 +268,10 @@ export default class ProductionREQ extends BasePage {
title: '无对应物料',
type: 'waring',
});
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
return;
@ -276,9 +279,9 @@ export default class ProductionREQ extends BasePage {
//alreadyList.handlematerialCode = alreadyList.materialCode.slice(alreadyList.materialCode.search(/[1-9]/));
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
}

@ -379,9 +379,10 @@ export default class receiveSRM extends BasePage {
}
//this.confirmNumber();
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
}

@ -221,9 +221,10 @@ export default class SpecialDelivery extends BasePage {
(this.$refs.uToast as any).show({
title: '请勿重复扫描标志卡',
});
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
@ -255,9 +256,10 @@ export default class SpecialDelivery extends BasePage {
//alreadyList.flage = true;
//
}
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
},
@ -274,9 +276,10 @@ export default class SpecialDelivery extends BasePage {
title: '无对应物料',
type: 'waring',
});
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
return;
@ -284,9 +287,9 @@ export default class SpecialDelivery extends BasePage {
//alreadyList.handlematerialCode = alreadyList.materialCode.slice(alreadyList.materialCode.search(/[1-9]/));
this.Idcard = '';
this.twofouces = false;
this.$nextTick(() => {
this.Idcard = '';
this.twofouces = true;
});
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save