zhangchunxu
2023-08-01 43aac46c4c586d2a906a63ec1dcaac3a49350448
修改 签收单  “医院”和“经销商”
2个文件已修改
16 ■■■■ 已修改文件
force-app/main/default/lwc/lexESignAcceptanceFranchiser/lexESignAcceptanceFranchiser.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexESignAcceptanceHospital/lexESignAcceptanceHospital.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexESignAcceptanceFranchiser/lexESignAcceptanceFranchiser.js
@@ -1,3 +1,10 @@
/*
 * @Author: zhangchunxu
 * @Date: 2023-06-27 16:51:15
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-08-01 19:46:48
 *
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -79,7 +86,7 @@
                return;
            }else{
                window.open ('/apex/AgencyConfirmPage?id='+this.recordId, '经销商确认',
                'height=440, width=750, top=150, left=300, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                'height=440, width=1200, top=170, left=70, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                this.dispatchEvent(new CloseActionScreenEvent());
            }
        }
@@ -93,4 +100,4 @@
        this.dispatchEvent(event);
        this.dispatchEvent(new CloseActionScreenEvent());
    }
}
}
force-app/main/default/lwc/lexESignAcceptanceHospital/lexESignAcceptanceHospital.js
@@ -34,6 +34,7 @@
        init({
            recordId: this.recordId
        }).then(result => {
            console.log(result,"11111111");
            this.GrouppurchasePCL = result.GrouppurchasePCL;
            this.OCMManProvinceCus = result.OCMManProvinceCus;
            this.HPSignUpStatus = result.HPSignUpStatus;
@@ -85,11 +86,11 @@
                }else{
                    if(sales_Root_Formula == 'OCM直接販売'){
                        window.open ('/apex/HPDirectSalesConfirmPage?id='+this.recordId, '医院确认',
                        'height=340, width=600, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                        'height=440, width=1200, top=170, left=70, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                        this.dispatchEvent(new CloseActionScreenEvent());
                    }else{
                        window.open ('/apex/HPConfirmPage?id='+this.recordId, '医院确认',
                        'height=340, width=800, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                        'height=440, width=1200, top=170, left=70, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
                        this.dispatchEvent(new CloseActionScreenEvent());
                    }
                }