| 1234567891011121314151617181920212223242526272829303132333435363738 |
- 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 CoreFS.CA06;
- using Core.Mes.Client.Comm.Tool;
- namespace Core.StlMes.Client.SaleOrder.Dialog
- {
- public partial class PopupAudit : FrmBase
- {
- public PopupAudit(string caption)
- {
- InitializeComponent();
- this.Text = caption;
- this.cmbAuditType.Caption = caption;
- }
- private void btnSubmit_Click(object sender, EventArgs e)
- {
- if (cmbAuditType.Text == "")
- {
- MessageUtil.ShowWarning("请选择" + this.Text + "结果后再进行确认!");
- return;
- }
- if (cmbAuditType.Text == "不通过" && txtAudit.Text.Trim() == "")
- {
- MessageUtil.ShowWarning("请输入不通过原因!");
- return;
- }
- this.DialogResult = DialogResult.OK;
- }
- }
- }
|