zhangqian
2023-08-10 af7f2ebba1ca53c05ad1c47361c889afd53a9765
force-app/main/default/lwc/lexConsumFixtureSetSelect/lexConsumFixtureSetSelect.js
@@ -4,7 +4,6 @@
import { ShowToastEvent } from 'lightning/platformShowToastEvent';
import { NavigationMixin } from 'lightning/navigation';
// 耗材备品配套一览 自定义按钮或链接:选择明细
export default class LexConsumFixtureSetSelect extends LightningElement {
    @api recordId;
@@ -13,6 +12,12 @@
   connectedCallback(){
      if (this.recordId) {
          window.open("/apex/ConsumFixtureSetSelect?pt_recid="+this.recordId, "_top");
         this.closeAction();
      }
   }
   closeAction() {
        //返回当前的耗材申请
        window.open("/"+this.recordId,'_self');
    }
}