overseamom-248 fix 越南MOM手持聚焦优化

master
魏子尧 2 years ago committed by suiwei
parent 4d7d3cd063
commit 073570cf31

@ -491,7 +491,7 @@
}
},
{
"path": "pages/raw/handover/aggregating-vn/index",//
"path": "pages/raw/handover/aggregating-Vn/index", //
"style": {
"navigationBarTitleText": "汇总查询",
"navigationStyle": "custom", //
@ -1333,7 +1333,7 @@
{
"path": "pages/product/stoOutbound/index",
"style": {
"navigationBarTitleText": "成品STO出库",//stosto
"navigationBarTitleText": "成品STO出库", //stosto
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}

@ -253,7 +253,7 @@ export default class finishProductOfflineDom extends BasePage {
}
}
add() {
// this.firstFocus = false
this.firstFocus = false;
if (!this.form.barCode) {
this.customToast(this.$t('message.barcode') as string);
return;
@ -287,7 +287,11 @@ export default class finishProductOfflineDom extends BasePage {
}
}
this.form.barCode = '';
this.firstFocus = true;
this.firstFocus = false;
this.$nextTick(function () {
uni.hideKeyboard(); //
this.firstFocus = true;
});
// this.$refs.BarCodeSearch.focus()
}
async getBarcode() {
@ -382,7 +386,10 @@ export default class finishProductOfflineDom extends BasePage {
}
if (this.open == true) {
this.form.barCode = '';
this.firstFocus = true;
this.firstFocus = false;
this.$nextTick(function () {
this.firstFocus = true;
});
}
}
}

@ -183,6 +183,7 @@ export default class dnReceiptDom extends BasePage {
//num: any = '';
//SunmitList: any = [];
async onOk() {
this.firstFocus = false;
this.carNo = '';
this.company = '';
this.showVehicle = false;
@ -215,9 +216,19 @@ export default class dnReceiptDom extends BasePage {
//this.TheItem.scanAmount = this.TheItem.scanAmount + 1;
this.model.stoNoList[this.ItemIndex].finQty += 1;
this.barcode = '';
this.firstFocus = false;
this.$nextTick(function () {
uni.hideKeyboard(); //
this.firstFocus = true;
});
}
// console.log('')
this.barcode = '';
this.firstFocus = true;
this.firstFocus = false;
this.$nextTick(function () {
uni.hideKeyboard(); //
this.firstFocus = true;
});
}
/**
* 详情

Loading…
Cancel
Save