buli
2023-04-20 f0bccccbb88d93ac05010c17d4b2e0cb22a2ce9a
force-app/main/default/lwc/tenderLost/tenderLost.js
@@ -78,9 +78,6 @@
    
    onsearchchangePTKS(event){
    var searchContentStr = event.detail.searchContent;
    if(!searchContentStr){
        this.opp.AccountId = "";
    }
    console.log('hospitals: ' + this.hospitals);
       SearchPTKS({content:searchContentStr, hospitals:this.hospitals}).then(response=>{
            var datas = JSON.parse(response);
@@ -91,7 +88,6 @@
    PTKSId = '';
    selectedPTKS(event)
    {
        debugger
        console.warn(event.detail.selectdata.Id);
        this.opp.AccountId = event.detail.selectdata.Id;
    }
@@ -108,7 +104,7 @@
    //保存数据逻辑
    saveFn(){
        if(this.opp.Fund_Basis__c == undefined || this.opp.Sales_Method__c == undefined || this.opp.AccountId == undefined ||this.opp.Fund_Basis__c == "" || this.opp.Sales_Method__c == "" || this.opp.AccountId == "" ){
        if(this.opp.Fund_Basis__c == undefined || this.opp.Sales_Method__c == undefined || this.opp.AccountId == undefined){
            this.Alert("请不要输入空哦。",false,true);
        }else{
            this.OnLoading(true);