|
|
@@ -903,8 +903,9 @@ namespace UAS_MES_NEW.Packing
|
|
|
|
|
|
private void RefreshWeigh_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
+ string prcode = dh.getFieldDataByCondition("packagedetail", "pd_prodcode", "pd_outboxcode = '" + pa_outboxcode.Text + "'").ToString();
|
|
|
sql.Clear();
|
|
|
- sql.Append("select pr_cartonmaxw,pr_cartonunit,pr_cartonminw,pr_cartongw from product where pr_code='" + pr_code.Text + "'");
|
|
|
+ sql.Append("select pr_cartonmaxw,pr_cartonunit,pr_cartonminw,pr_cartongw from product where pr_code='" + prcode + "'");
|
|
|
DataTable dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|