In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to realize the return hint in JavaScript". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to realize the return hint in JavaScript".
[server] in the output method block, add the field to be output (qcm_batch_id)
QCMUserType.cs:
Public struct QCM_Custom_Create_Batch_Out_Tag {public BASCoreType.Cmn_Out_Tag _ cmn_out; public string qcm_batch_id; public int batch_count; public int _ size_batch_list; public QCM_Custom_Create_Batch_Out_Tag_batch_list [] batch_list } public static void serialize_QCM_Custom_Create_Batch_Out_Tag (ref MessageReply reply, ref QCM_Custom_Create_Batch_Out_Tag sourceType) {BASCoreType.serialize_Cmn_Out_Tag (ref reply, ref sourceType._cmn_out); reply.ReplyNode.AddInt ("batch_count" .ToUpper (), sourceType.batch_count) Reply.ReplyNode.AddInt ("_ size_batch_list" .ToUpper (), sourceType._size_batch_list); reply.ReplyNode.AddString ("qcm_batch_id" .ToUpper (), sourceType.qcm_batch_id); TRSNode batch_list; for (int I = 0; I < sourceType._size_batch_list) Batch_list +) {batch_list = reply.ReplyNode.AddNode ("batch_list" .ToUpper (); QCMUserType.serialize_QCM_Custom_Create_Batch_Out_Tag_batch_list (ref batch_list, ref sourceType.batch_ list [I]);}}
Set to the value you want to output in the data layer:
OutTag.qcm_batch_id = sBatchId
[client] get the value on the client and pop up the prompt box:
CommonFunction.ShowMsgBox (out_node.GetString ("QCM_BATCH_ID") + "created successfully!")
=
Tip: whether to turn off xxx
Private void btnClose_ItemClick (object sender, DevExpress.XtraBars.ItemClickEventArgs e) {try {if (CommonFunction.ShowMsgBox ("do you want to close this inspection batch?" , MessageBoxButtons.OKCancel, 1) = DialogResult.OK) {GlobalVariable.gaSelectPOID.Clear (); int [] iaPOs = gdvDetail.GetSelectedRows (); if (iaPOs.Length < 1) {CommonFunction.ShowMsgBox ("Please select one or more parameters") / / ToDo: Multi-Language return;} int [] iaRAWID = new int [iaPOs.Length]; / / + 2 string sBatchID = ""; / / string sFinalDecision = ""; for (int I = 0; I < iaPOs.Length SBatchID +) {sBatchID = gdvDetail.GetRowCellValue (iaPOs [I], "BATCH_ID"). ToString (); / / sFinalDecision = gdvDetail.GetRowCellValue (iaPOs [I], "FINAL_DECISION"). ToString ();} / / saPARA_ ID [iaPOs.length] = cboModelVer.EditValue.ToString () / / saPARA_ ID [iaPOs.Length + 1] = "EVENT"; TRSNode in_node = new TRSNode ("CREATE_BATCH_IN"); TRSNode out_node = new TRSNode ("CMN_OUT"); if (sBatchID! = "") {CommonRoutine.SetInMsg (in_node) In_node.ProcStep = '1century; in_node.AddString ("BATCH_ID", CommonFunction.Trim (sBatchID)); if (CommonRoutine.CallService ("QCM", "QCM_Custom_Final_Decision", in_node, ref out_node) = = false) {return } CommonRoutine.ShowSuccessMsg (out_node); BindGV (); return;} else {CommonFunction.ShowMsgBox ("BatchID cannot be empty!") ;} catch (Exception ex) {CommonFunction.ShowMsgBox ("frmAPSReleaseWO.btnSelect_Click ()\ n" + ex.Message) }} Thank you for your reading, the above is the content of "how to achieve the return prompt in JavaScript". After the study of this article, I believe you have a deeper understanding of how to achieve the return prompt in JavaScript, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.