|
|
@@ -131,7 +131,7 @@ namespace UAS_MES.Make
|
|
|
sql.Append("insert into packagedetail(pd_id, pd_paid, pd_outboxcode, pd_innerboxcode, pd_innerqty)");
|
|
|
sql.Append("values(packagedetail_seq.nextval,'" + pa_id + "','" + palletcode.Text + "','" + outboxcode.Text + "','" + pa_totalqty.Text + "')");
|
|
|
dh.ExecuteSql(sql.GetString(), "insert");
|
|
|
- dh.UpdateByCondition("package", "pa_totalqty=pa_totalqty+1", "pa_outboxcode='" + outboxcode.Text + "' and pa_type=3");
|
|
|
+ dh.UpdateByCondition("package", "pa_totalqty=pa_totalqty+1", "pa_outboxcode='" + palletcode.Text + "' and pa_type=3");
|
|
|
OperateResult.AppendText(">>箱号" + outboxcode.Text + "采集成功!\n", Color.Green, outboxcode);
|
|
|
LoadGridData();
|
|
|
LoadCollectNum();
|
|
|
@@ -177,7 +177,7 @@ namespace UAS_MES.Make
|
|
|
|
|
|
private void LoadCollectNum()
|
|
|
{
|
|
|
- pa_totalqty.Text = dh.getFieldDataByCondition("package", "pa_totalqty", "pa_outboxcode='" + outboxcode.Text + "' and pa_type=3").ToString();
|
|
|
+ pa_totalqty.Text = dh.getFieldDataByCondition("package", "pa_totalqty", "pa_outboxcode='" + palletcode.Text + "' and pa_type=3").ToString();
|
|
|
}
|
|
|
|
|
|
private void 栈板称重_SizeChanged(object sender, EventArgs e)
|