| | |
| | | } |
| | | //barcode录入 |
| | | barcodeEntrys(){ |
| | | |
| | | this.showSpinner = true; |
| | | this.showTable = false; |
| | | console.log('code'+this.barcode); |
| | | console.log(' this.accountName'+ this.accountName); |
| | | console.log(' this.barcode'+ this.barcode); |
| | | |
| | | |
| | | this.showSpinner = true; |
| | | |
| | | |
| | | if(this.barcode == ''||this.barcode==null){ |
| | | this.showMyToast('获取失败','请输入BarCode号','error'); |
| | | this.showSpinner = false; |
| | | } |
| | | barcodeEntry({ |
| | | accountNameLWC: this.accountName, |
| | | agencyProTypeLWC: this.agencyProType, |
| | |
| | | //保存 |
| | | saveConfirm() { |
| | | console.log('进入销存确认'); |
| | | debugger |
| | | var el = this.template.querySelector('c-lex-custom-lightning-datatable'); |
| | | if(el == null){ |
| | | //this.showMyToast('销存失败',result.msg,'error'); |
| | | return |
| | | } |
| | | this.showSpinner = true; |
| | | console.log('el = ' + el); |
| | | var el = this.template.querySelector('c-lex-custom-lightning-datatable'); |
| | | var selected = el.getSelectedRows(); |
| | | console.log('selected'); |
| | | this.selectedData = selected; |
| | | console.log('选中数据' + JSON.stringify(this.selectedData)); |
| | | console.log('this.overdueList'+this.overdueList); |