|
|
@@ -985,14 +985,18 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.txtBarcode.Focus();
|
|
|
this.txtBarcode.SelectAll();
|
|
|
return;
|
|
|
- }
|
|
|
- if (string.IsNullOrWhiteSpace(item["mouldPlan"].ToString()) || Convert.ToInt32(item["mouldPlan"].ToString()) == 0 )
|
|
|
+ }
|
|
|
+ if (!string.IsNullOrWhiteSpace(item["MouldTypeName"].ToString()) && item["MouldTypeName"].ToString() != "高压")
|
|
|
{
|
|
|
- MessageBox.Show("此模具未报工,不能添加到成型线。", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
- this.txtBarcode.Focus();
|
|
|
- this.txtBarcode.SelectAll();
|
|
|
- return;
|
|
|
+ if (string.IsNullOrWhiteSpace(item["mouldPlan"].ToString()) || Convert.ToInt32(item["mouldPlan"].ToString()) == 0)
|
|
|
+ {
|
|
|
+ MessageBox.Show("此模具未报工,不能添加到成型线。", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ this.txtBarcode.Focus();
|
|
|
+ this.txtBarcode.SelectAll();
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
//DataRow r = dtInfo.NewRow();
|
|
|
//r["GroutingMouldCode"] = gMouldCode;
|
|
|
//r["MouldSource"] = "1";
|