|
|
@@ -226,17 +226,26 @@ namespace Dongke.IBOSS.PRD.Client.Controls
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- //// 判断票据类型输入是否正确
|
|
|
- //if (this.ftcLogo.SelectedValue == null)
|
|
|
- //{
|
|
|
- // MessageBox.Show(string.Format("{0}是必须输入项目,请输入{0}。", "产品商标"), this.Text,
|
|
|
- // MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
- // this.ftcLogo.Focus();
|
|
|
- // return;
|
|
|
- //}
|
|
|
-
|
|
|
- // 判断票据名称输入是否正确
|
|
|
- if (string.IsNullOrEmpty(this.txtInvoiceName.Text.Trim()))
|
|
|
+ //xuwei add 2019-11-26
|
|
|
+ if ("".Equals(this.ddlPrintType.Text.Trim()))
|
|
|
+ {
|
|
|
+ MessageBox.Show(string.Format("{0}是必须输入项目,请输入{0}。", "打印类型"), this.Text,
|
|
|
+ MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ this.ddlPrintType.Focus();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ //// 判断票据类型输入是否正确
|
|
|
+ //if (this.ftcLogo.SelectedValue == null)
|
|
|
+ //{
|
|
|
+ // MessageBox.Show(string.Format("{0}是必须输入项目,请输入{0}。", "产品商标"), this.Text,
|
|
|
+ // MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ // this.ftcLogo.Focus();
|
|
|
+ // return;
|
|
|
+ //}
|
|
|
+
|
|
|
+ // 判断票据名称输入是否正确
|
|
|
+ if (string.IsNullOrEmpty(this.txtInvoiceName.Text.Trim()))
|
|
|
{
|
|
|
MessageBox.Show(string.Format("{0}是必须输入项目,请输入{0}。", "模板名称"), this.Text,
|
|
|
MessageBoxButtons.OK, MessageBoxIcon.Warning);
|