buli
2023-05-30 41ad0c0840a6135b7acf2280f0eebdc29bf6479b
force-app/main/default/lwc/lexConsumable/lexConsumable.js
@@ -52,6 +52,8 @@
   @track contactDealer = [];
   @track proLimitAndDate = [];
   @track agencyProType;
   @track agencyProType1;
   @track OSHFLG = false;
   @track bargainPrice;
   @track showOrderDate = false;
   @track showAttUploadDate = false;
@@ -314,6 +316,8 @@
               this.category4Option = result.category4Option;
               this.category5Option = result.category5Option;
               this.agencyProType = result.agencyProType;
               this.agencyProType1 = result.agencyProType1;
               this.OSHFLG = result.OSHFLG;
               this.hospitalName = result.hospitalName;
               this.contractName = result.contractName;
               this.contractLabel = '经销商有效合同';
@@ -674,7 +678,10 @@
         contactDealerStr:JSON.stringify(this.contactDealer),
         methodTypeStr:this.pageType,
         eSetIdStr:this.esetId,
         hospitalIdStr : this.hospitalId
         hospitalIdStr : this.hospitalId,
         contractIdStr : this.contractId,
         agencyProType1Str : this.agencyProType1,
         OSHFLGStr : this.OSHFLG
      }).then(result=>{
         this.showSpinner = false;
         if(result.result == 'Success'){
@@ -705,7 +712,10 @@
         consumableorderdetailsRecordsviewStr:JSON.stringify(this.consumableorderdetailsRecordsview),
         contactDealerStr:JSON.stringify(this.contactDealer),
         methodTypeStr:this.pageType,
         hospitalIdStr:this.hospitalId
         hospitalIdStr:this.hospitalId,
         contractIdStr : this.contractId,
         agencyProType1Str : this.agencyProType1,
         OSHFLGStr : this.OSHFLG
      }).then(result=>{
         this.showSpinner = false;
         if(result.result == 'Success'){
@@ -1135,7 +1145,7 @@
   //检索合同
   searchCon(){
      searchContract({searchName:this.searchNameCon, accountId:this.accountid, ctype:this.agencyProType})
      searchContract({searchName:this.searchNameCon, accountId:this.accountid, ctype:this.agencyProType1,OSHFLGStr : this.OSHFLG})
      .then(result=>{
         if(result.result == 'Success'){
            this.contractList = result.attList;