| | |
| | | return false; |
| | | } |
| | | //txtHMateOutBatchNo |
| | | if (DBUtility.ClsPub.isStrNull(txtHMateOutBatchNo.Text) == "") |
| | | { |
| | | MessageBox.Show("åææ¹æ¬¡ä¸è½ä¸ºç©ºï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | //if (DBUtility.ClsPub.isStrNull(txtHMateOutBatchNo.Text) == "") |
| | | //{ |
| | | // MessageBox.Show("åææ¹æ¬¡ä¸è½ä¸ºç©ºï¼", "æç¤º"); |
| | | // return false; |
| | | //} |
| | | |
| | | } |
| | | //忮巿¯å¦éå¤ |
| | |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | MessageBox.Show(s, "æç¤º"); |
| | | return false; |
| | | } |
| | | //if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(dtpHDate.Value, ref sYear, ref sPeriod, ref s) == false) |
| | | //{ |
| | | // MessageBox.Show(s, "æç¤º"); |
| | | // return false; |
| | | //} |
| | | sYear = ClsPub.isDate(dtpHDate.Value).Year; |
| | | sPeriod = ClsPub.isDate(dtpHDate.Value).Month; |
| | | //æºåä¿¡æ¯ |
| | | //BillNew.omodel.HMainSourceBillType = cmbSourceBillType.Text; |
| | | // |