add support for random store

This commit is contained in:
2022-09-15 21:20:07 +02:00
parent 0616d4af65
commit 2a8d6afc88
6 changed files with 34 additions and 9 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ async function needToBook(contact, mongoManager) {
}
async function startBook(contactPojo, device, selectedStore) {
console.log(`Model: ${device.model()}`);
console.log(`Serial: ${device.serial()}`);
console.log(`型号: ${device.model()}`);
console.log(`序列号: ${device.serial()}`);
if (await needToBook(contactPojo, mongoManager)) {
let commandor = new CommandorPage(contactPojo, device, mongoManager, selectedStore);
//read contacts form excel