buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.js
@@ -163,15 +163,16 @@
    }
    //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,
@@ -243,16 +244,9 @@
  //保存
  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);