From 61a1f14632fe167668d9e1a9c5838442fbcfd4e4 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期二, 20 六月 2023 11:06:22 +0800
Subject: [PATCH] test
---
force-app/main/default/lwc/lexArriveGsDetails/lexArriveGsDetails.js | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/lexArriveGsDetails/lexArriveGsDetails.js b/force-app/main/default/lwc/lexArriveGsDetails/lexArriveGsDetails.js
index c3e3de9..30c135b 100644
--- a/force-app/main/default/lwc/lexArriveGsDetails/lexArriveGsDetails.js
+++ b/force-app/main/default/lwc/lexArriveGsDetails/lexArriveGsDetails.js
@@ -30,7 +30,7 @@
{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};
@@ -109,7 +109,8 @@
proSale({
cocStr : JSON.stringify(this.coc),
orderallcountParm : this.orderallcount,
- consumableorderdetailsCountParm : this.consumableorderdetailsCount
+ consumableorderdetailsCountParm : this.consumableorderdetailsCount,
+ eSetIdStr : this.eSetId
})
.then(result=>{
if(result.result == 'Success'){
@@ -123,7 +124,7 @@
this[NavigationMixin.Navigate](config);
}else {
this.showSpinner = false;
- console.log("error:"+error);
+ console.log("error:"+result.errorMsg);
this.showMyToast('鍑哄簱澶辫触',result.errorMsg,'error');
}
})
@@ -135,6 +136,18 @@
})
}
+ 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 = '';
--
Gitblit v1.9.1