| | |
| | | // |
| | | txtHMSourceBillNo.Enabled = true; |
| | | txtHZBarCode.Enabled = true; |
| | | cmdHSaveBill.Enabled = true; |
| | | } |
| | | |
| | | private void Sc_PackUnionBill_Load(object sender, EventArgs e) |
| | |
| | | //æ ¹æ®æºåå·æ¾å°å®¢æ·ç¼å·ååä½ |
| | | DataSet DS; |
| | | DS = oWeb.getDataSetBySQL("exec h_p_FindCustTopFour '" + HSourceBillNo + "'", "h_p_FindCustTopFour", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if(DS == null || DS.Tables[0].Rows.Count == 0){ |
| | | if(DS == null || DS.Tables[0].Rows.Count == 0) |
| | | { |
| | | } |
| | | else |
| | | { |
| | |
| | | try |
| | | { |
| | | DataTable ds = new DataTable(); |
| | | BLL.Utility.FillRecordToReport(Report, grdMain, ds, Fun_GetCol("éæ©")); |
| | | //BLL.Utility.FillRecordToReport(Report, grdMain, ds, Fun_GetCol("éæ©")); |
| | | SCM.Utility.FillRecordToReport(Report, grdMain, ds, Fun_GetCol("éæ©")); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | |
| | | int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | ClsPub1.DisplayGrid(grdMain, this.Name, s, FrCol); |
| | | //æ«æè¿çåé»è² |
| | | //int HMustQtyCol = Fun_GetCol("åºåæ°é"); |
| | | int HRelQtyCol = Fun_GetCol("æ°é"); |
| | | for (int i = 0; i < grdMain.Rows.Count; i++) |
| | | { |
| | | if(DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HRelQtyCol].Value)>0) |
| | | { |
| | | grdMain.Rows[i].DefaultCellStyle.BackColor = Color.Yellow; |
| | | } |
| | | else |
| | | { |
| | | grdMain.Rows[i].DefaultCellStyle.BackColor = Color.White; |
| | | } |
| | | } |
| | | //ç»çº¿ |
| | | //GraphLine(); |
| | | //Total(); |