| 12345678910111213141516171819202122232425262728293031 |
- using Core.Mes.Client.Comm.Tool;
- using CoreFS.CA06;
- using System;
- using System.Windows.Forms;
- namespace Core.StlMes.Client.Qcm
- {
- public partial class PopupAudit : FrmBase
- {
- public PopupAudit(string memo)
- {
- InitializeComponent();
- txtMemo.Text = memo;
- }
- private void btnSubmit_Click(object sender, EventArgs e)
- {
- if (cmbAuditType.Text == "")
- {
- MessageUtil.ShowWarning("请选择审核结果后再进行确认!");
- return;
- }
- else if (txtMemo.Text.Trim() == "" && cmbAuditType.Text == "审核不通过")
- {
- MessageUtil.ShowWarning("请输入审核不通过原因,再进行确认!");
- return;
- }
- this.DialogResult = DialogResult.OK;
- }
- }
- }
|