pages/caigouruku/POStockInBill.vue
@@ -437,6 +437,10 @@ console.log('仓位码: ', e); let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e) console.log('index: ', index); // 不先置空的话,数据再次扫描相同的仓位码 不会触发组件内的刷新 this.hform.HStockPlaceID = 0 this.hform.HStockPlaceName = '' await this.$nextTick() if (index == -1) { uni.showToast({ icon: 'none', @@ -789,6 +793,7 @@ }, //选择仓位 HStockPlaceNameChange(e) { console.log('e: ',e); let index = this.HStockPlaceNameList.findIndex(elem => elem['仓位名称'] == e) if (index != -1) {