| | |
| | | {label:'注册证编码号' , fieldName:'approbation_No', hideDefaultActions: true,wrapText:true,initialWidth:125}, |
| | | {label:'注册证效期' , fieldName:'expiration_DateStr', hideDefaultActions: true,wrapText:true,initialWidth:115}, |
| | | {label:'使用期限' , fieldName:'Sterilization_limitStr', hideDefaultActions: true,wrapText:true,initialWidth:115}, |
| | | {label:'BarCode' , fieldName:'barCode', hideDefaultActions: true,initialWidth:250}, |
| | | {label:'BarCode' , fieldName:'barCode', hideDefaultActions: true,initialWidth:250,wrapText:true}, |
| | | {label:'采购单价' ,type:'number',fieldName:'intraTradeList', hideDefaultActions: true,wrapText:true,initialWidth:120,typeAttributes:{minimumFractionDigits: 2},cellAttributes: { alignment: "right" }} |
| | | ]; |
| | | label = {helpText}; |
| | |
| | | proSale({ |
| | | cocStr : JSON.stringify(this.coc), |
| | | orderallcountParm : this.orderallcount, |
| | | consumableorderdetailsCountParm : this.consumableorderdetailsCount |
| | | consumableorderdetailsCountParm : this.consumableorderdetailsCount, |
| | | eSetIdStr : this.eSetId |
| | | }) |
| | | .then(result=>{ |
| | | if(result.result == 'Success'){ |
| | |
| | | this[NavigationMixin.Navigate](config); |
| | | }else { |
| | | this.showSpinner = false; |
| | | console.log("error:"+error); |
| | | console.log("error:"+result.errorMsg); |
| | | this.showMyToast('出库失败',result.errorMsg,'error'); |
| | | } |
| | | }) |
| | |
| | | }) |
| | | } |
| | | |
| | | clickOrder(){ |
| | | if(this.coc.Arrive_Order__c != null && this.coc.Arrive_Order__c != ''){ |
| | | const config = { |
| | | type: 'standard__webPage', |
| | | attributes: { |
| | | url: '/detail/'+this.coc.Arrive_Order__c |
| | | } |
| | | }; |
| | | this[NavigationMixin.Navigate](config); |
| | | } |
| | | } |
| | | |
| | | showMyToast(title, message, variant) { |
| | | console.log('show custom message'); |
| | | var iconName = ''; |