buli
2023-06-05 e9b970ea36eea5dcf93fd5b965bf13d7010ce0ad
force-app/main/default/lwc/tenderLost/tenderLost.js
@@ -15,7 +15,10 @@
        {label:"银行资金",value:"銀行資金"},
        {label:"公司/个人投资",value:"会社/個人資金"},
        {label:"融资租赁",value:"融资租赁(リース)"},
        {label:"其他",value:"その他"},
        // SWAG-CK363P 2022-10-12 start
        {label:"贴息贷款",value:"贴息贷款"},
        // {label:"其他",value:"その他"},
        // SWAG-CK363P 2022-10-12 end
    ];
    //招标方式选项
@@ -75,6 +78,9 @@
    
    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);
@@ -85,6 +91,7 @@
    PTKSId = '';
    selectedPTKS(event)
    {
        debugger
        console.warn(event.detail.selectdata.Id);
        this.opp.AccountId = event.detail.selectdata.Id;
    }
@@ -101,7 +108,7 @@
    //保存数据逻辑
    saveFn(){
        if(this.opp.Fund_Basis__c == undefined || this.opp.Sales_Method__c == undefined || this.opp.AccountId == undefined){
        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 == "" ){
            this.Alert("请不要输入空哦。",false,true);
        }else{
            this.OnLoading(true);