| | |
| | | string Ret = ""; |
| | | if (oSystemParameter.ShowBill(ref Ret)) |
| | | { |
| | | //夿客æ·ä¸ºé¾å±±æ±½é
|
| | | if (oSystemParameter.omodel.Gy_BarCodeBill_Rework_Ctrl != "")//çæç©ææ¡ç æ¶ï¼æºåç ä¸å
许为空,å¦è¥ç©æä»£ç åç¼ä¸ä¸ºGæLçï¼å¯è·³è¿æ§å¶ |
| | | //çæç©ææ¡ç æ¶ï¼æºåç ä¸å
许为空,å¦è¥ç©æä»£ç åç¼ä¸ä¸ºGæLçï¼å¯è·³è¿æ§å¶ |
| | | if (oSystemParameter.omodel.Gy_BarCodeBill_Rework_Ctrl != "") |
| | | { |
| | | string[] HMaterNumberPrefix = oSystemParameter.omodel.Gy_BarCodeBill_Rework_Ctrl.Split(','); |
| | | |
| | | |
| | | for (int j = 0; j < grdMain.Rows.Count; j++) |
| | | { |
| | | char HMaterfirstChar = grdMain.Rows[j].Cells[HSubjoin2Col].Value.ToString()[0]; |
| | | if (ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value) == 0) |
| | | { |
| | | continue; |
| | | } |
| | | |
| | | char HMaterfirstChar = grdMain.Rows[j].Cells[HMaterNumberCol].Value.ToString()[0]; |
| | | |
| | | if (ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value) != 0 && grdMain.Rows[j].Cells[HSubjoin2Col].Value.ToString() == "" && HMaterNumberPrefix.Contains(HMaterfirstChar.ToString())) |
| | | { |
| | | MessageBox.Show("第" + (j + 1) + "è¡ï¼æºåç æªç»´æ¤ï¼ä¸å
è®¸çææ¡ç "); |