| | |
| | | pb1.Value = 0; |
| | | pb1.Maximum = HBQty; |
| | | // |
| | | string[] sSQLNoMul = new string[ClsPub.isInt(grdMain.Rows[j].Cells[HBQtyCol].Value)]; |
| | | //string[] sSQLNoMul = new string[ClsPub.isInt(grdMain.Rows[j].Cells[HBQtyCol].Value)]; |
| | | string[] sSQLNoMul = new string[1]; |
| | | int nn = 0; |
| | | // |
| | | for (int i = k; i < HBQty; i++) //ä»Kå°æ»å
æ°ï¼ æ¯ç´¯å çæ¹å¼ |
| | |
| | | k = k + 1; |
| | | n = n + 1; |
| | | //oWeb.getRunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | sSQLNoMul[nn] = " exec h_p_WMS_SetMaxNo '" + sTMNumber + "' "; |
| | | //sSQLNoMul[nn] = " exec h_p_WMS_SetMaxNo '" + sTMNumber + "' "; |
| | | nn = nn + 1; |
| | | } |
| | | //åå°æ¹éæ§è¡è¯å¥ |
| | | |
| | | sSQLNoMul[0] = " exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "',"+ nn.ToString() + " "; |
| | | if (oWeb.getRunProcByMul_Back(sSQLNoMul, ref DBUtility.ClsPub.sExeReturnInfo) == false) |
| | | { |
| | | MessageBox.Show("æ¡ç çæå¤±è´¥,æ¹éçææµæ°´å·å¤±è´¥ï¼"); |