| | |
| | | @track contactDealer = []; |
| | | @track proLimitAndDate = []; |
| | | @track agencyProType; |
| | | @track agencyProType1; |
| | | @track OSHFLG = false; |
| | | @track bargainPrice; |
| | | @track showOrderDate = false; |
| | | @track showAttUploadDate = false; |
| | |
| | | get cols(){ |
| | | var cols = []; |
| | | cols.push({label:'消耗品名称',fieldName:'prodName',wrapText:true,hideDefaultActions: true,sortable: true}); |
| | | cols.push({label:'规格',fieldName:'packing_list',hideDefaultActions: true,initialWidth:50,cellAttributes: { alignment: "right" }}); |
| | | cols.push({label:'CFDA状态',fieldName:'prodSFDAStatus',hideDefaultActions: true,initialWidth:97}); |
| | | cols.push({label:'规格',fieldName:'packing_list',wrapText:true,hideDefaultActions: true,initialWidth:50,cellAttributes: { alignment: "right" }}); |
| | | cols.push({label:'CFDA状态',fieldName:'prodSFDAStatus',wrapText:true,hideDefaultActions: true,initialWidth:97}); |
| | | cols.push({label:'注册证编码号',fieldName:'approbation_No',wrapText:true,hideDefaultActions: true,initialWidth:120}); |
| | | cols.push({label:'注册证效期',fieldName:'expiration_Date',hideDefaultActions: true,initialWidth:105}); |
| | | cols.push({label:'注册证效期',fieldName:'expiration_Date',wrapText:true,hideDefaultActions: true,initialWidth:105}); |
| | | cols.push({label:'第3分类',fieldName:'prodCategory3',wrapText:true,hideDefaultActions: true,initialWidth:78,sortable: true}); |
| | | cols.push({label:'第4分类',fieldName:'prodCategory4',wrapText:true,hideDefaultActions: true,initialWidth:107,sortable: true}); |
| | | cols.push({label:'第5分类',fieldName:'prodCategory5',wrapText:true,hideDefaultActions: true,initialWidth:80,sortable: true}); |
| | |
| | | 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 = '经销商有效合同'; |
| | |
| | | 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'){ |
| | |
| | | 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'){ |
| | |
| | | |
| | | //打开合同检索弹窗并初始化 |
| | | showSearchCon(){ |
| | | initContract({ctype:this.agencyProType}) |
| | | initContract({ctype:this.agencyProType1}) |
| | | .then(result=>{ |
| | | if(result.result == 'Success'){ |
| | | this.showConPop = true; |
| | |
| | | |
| | | //检索合同 |
| | | 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; |