|
|
@@ -230,7 +230,7 @@ namespace UAS_MES.Make
|
|
|
private void ReleasePallet_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
dh.ExecuteSql("delete from packagedetail where pd_paid=(select pa_id from package where pa_outboxcode='" + bigoutboxcode.Text + "' and pa_type=2)", "delete");
|
|
|
- dh.ExecuteSql("update package set pa_packageqty=0 where pa_outboxcode='" + bigoutboxcode.Text + "' and pa_type=2", "update");
|
|
|
+ dh.ExecuteSql("update package set pa_totalqty=0,pa_packageqty=0 where pa_outboxcode='" + bigoutboxcode.Text + "' and pa_type=2", "update");
|
|
|
OperateResult.AppendText(">>箱号" + outboxcode.Text + "解除成功\n", Color.Green);
|
|
|
palletcode_KeyDown(new object(), new KeyEventArgs(Keys.Enter));
|
|
|
}
|