|
|
@@ -545,7 +545,7 @@ namespace UAS_LabelMachine
|
|
|
{
|
|
|
Input.Clear();
|
|
|
sql.Clear();
|
|
|
- sql.Append("select pi_id,pi_cardcode,to_char(pi_date,'yyyymmdd')pi_date from prodinout where pi_inoutno='" + pi_inoutno.Text + "'");
|
|
|
+ sql.Append("select pi_id,pi_cardcode,to_char(pi_date,'yyyymmdd')pi_date from prodinout where pi_inoutno='" + pi_inoutno.Text + "' and pi_invostatuscode='AUDITED'");
|
|
|
dt = (DataTable)dh.ExecuteSql(sql.ToString(), "select");
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
@@ -578,8 +578,7 @@ namespace UAS_LabelMachine
|
|
|
stw.ShowDialog();
|
|
|
LogManager.DoLog("输入单号【" + pi_inoutno.Text + "】");
|
|
|
}
|
|
|
- else
|
|
|
- MessageBox.Show("当前出入库单号不存在!", "提示");
|
|
|
+ else MessageBox.Show("当前出入库单号不存在或者未审核!", "提示");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -1130,7 +1129,7 @@ namespace UAS_LabelMachine
|
|
|
{
|
|
|
if (ComBoxClickChangeLabelDoc)
|
|
|
{
|
|
|
- SingleReport.Load(SingleLabelCombox.Text);
|
|
|
+ SingleReport.Load(ftpOperater.DownLoadTo + SingleLabelCombox.Text);
|
|
|
}
|
|
|
}
|
|
|
catch (Exception) { }
|
|
|
@@ -1147,7 +1146,7 @@ namespace UAS_LabelMachine
|
|
|
{
|
|
|
if (ComBoxClickChangeLabelDoc)
|
|
|
{
|
|
|
- MidReport.Load(MidLabelCombox.Text);
|
|
|
+ MidReport.Load(ftpOperater.DownLoadTo + MidLabelCombox.Text);
|
|
|
}
|
|
|
}
|
|
|
catch (Exception) { }
|
|
|
@@ -1164,7 +1163,7 @@ namespace UAS_LabelMachine
|
|
|
{
|
|
|
if (ComBoxClickChangeLabelDoc)
|
|
|
{
|
|
|
- OutReport.Load(OutBoxCombox.Text);
|
|
|
+ OutReport.Load(ftpOperater.DownLoadTo + OutBoxCombox.Text);
|
|
|
}
|
|
|
}
|
|
|
catch (Exception) { }
|