| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using Core.Mes.Client.Comm.Server;
- using Core.Mes.Client.Comm.Tool;
- using CoreFS.CA06;
- namespace Core.StlMes.Client.SaleOrder.Dialog
- {
- public partial class DetectionPopup : FrmBase
- {
- private string _ordLnPk = "";
- public DetectionPopup(string ordLnPk, OpeBase ob)
- {
- InitializeComponent();
- this.ob = ob;
- _ordLnPk = ordLnPk;
- DataTable dtDetection = ServerHelper.GetData("com.steering.pss.sale.order.ReviewForm.CoreOrderReviewTechnology.getOrdLnState",
- new object[] { ordLnPk }, ob);
- labelNumericText1.Value = dtDetection.Rows[0]["INSPECTION_VALUE"].ToString();
- }
- private void ultraButton1_Click(object sender, EventArgs e)
- {
- if (labelNumericText1.Value == null)
- {
- MessageUtil.ShowWarning("请输入切长!");
- return;
- }
- SaveDetection(labelNumericText1.Value.ToString2());
- MessageUtil.ShowTips("保存成功!");
- DialogResult = System.Windows.Forms.DialogResult.OK;
- }
- private void SaveDetection(string detectionLength)
- {
- ServerHelper.SetData("com.steering.pss.sale.order.ReviewForm.CoreOrderReviewTechnology.updateOrderLineInspV",
- new object[] { _ordLnPk, detectionLength }, ob);
- }
- }
- }
|