From 41ad0c0840a6135b7acf2280f0eebdc29bf6479b Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 30 五月 2023 14:25:11 +0800
Subject: [PATCH] backup0530

---
 force-app/main/default/lwc/lexConsumable/lexConsumable.js |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/force-app/main/default/lwc/lexConsumable/lexConsumable.js b/force-app/main/default/lwc/lexConsumable/lexConsumable.js
index f365f1e..07313bb 100644
--- a/force-app/main/default/lwc/lexConsumable/lexConsumable.js
+++ b/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;

--
Gitblit v1.9.1