WebAPI/Controllers/MJGL/Sc_MouldDotCheckRuleBillController.cs
@@ -182,6 +182,20 @@
                        return objJsonResult;
                    }
                    oBill.omodel = oItem;
                    if (oItem.HInterID == 0)
                    {
                        // 判断新增的表单与表格中的表单是否有重复
                        DataSet ds = oCN.RunProcReturn("select * from h_v_Sc_MouldDotCheckRuleBillList where 单据号 = '" + oItem.HBillNo + "'", "h_v_Sc_MouldDotCheckRuleBillList");
                        if (ds.Tables[0].Rows.Count > 0)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "保存失败!单据号不得有重复!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                    }
                }
                //点检项表体数据