|
|
@@ -110,7 +110,6 @@ namespace UAS_MES_NEW.Query
|
|
|
MessageBox.Show("生成明细成功");
|
|
|
}
|
|
|
|
|
|
- string new_barcode = "";
|
|
|
|
|
|
private void pi_inoutno_UserControlTextChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
@@ -152,11 +151,11 @@ namespace UAS_MES_NEW.Query
|
|
|
string bar_prodcode = dt.Rows[0]["bar_prodcode"].ToString();
|
|
|
string bar_madedate = dt.Rows[0]["bar_madedate"].ToString();
|
|
|
string bar_vendbarcode = dt.Rows[0]["bar_vendbarcode"].ToString();
|
|
|
- dh.ExecuteSql("insert into barcodeio(bi_id,bi_piid,bi_barcode,bi_inoutno,bi_prodcode,bi_indate,bi_inqty,bi_vendbarcode,bi_madedate,bi_sourcecode)" +
|
|
|
- "values(barcodeio_seq.nextval,'" + pi_id + "','" + newbarcode + "','" + pi_inoutno.Text + "','" + bar_prodcode + "',sysdate,'" + bar_remain + "','" + bar_vendbarcode + "',to_date('" + bar_madedate + "','yyyy-mm-dd'),'" + bar_code + "')", "insert");
|
|
|
+ dh.ExecuteSql("insert into barcodeio(bi_id,bi_piid,bi_barcode,bi_inoutno,bi_prodcode,bi_indate,bi_inqty,bi_vendbarcode,bi_madedate,bi_sourcecode,bi_printstatus)" +
|
|
|
+ "values(barcodeio_seq.nextval,'" + pi_id + "','" + newbarcode + "','" + pi_inoutno.Text + "','" + bar_prodcode + "',sysdate,'" + bar_remain + "','" + bar_vendbarcode + "',to_date('" + bar_madedate + "','yyyy-mm-dd'),'" + bar_code + "',1)", "insert");
|
|
|
LoadGridData();
|
|
|
string ErrorMessage = "";
|
|
|
- if (Print.BarTender(Tag.ToString(), ref engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), PrinterList.Text, new_barcode, int.Parse("1"), pi_inoutno.Text, bar_prodcode, "自定义", "0", out ErrorMessage))
|
|
|
+ if (Print.BarTender(Tag.ToString(), ref engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), PrinterList.Text, newbarcode, int.Parse("1"), pi_inoutno.Text, bar_prodcode, "自定义", "0", out ErrorMessage))
|
|
|
{
|
|
|
|
|
|
}
|