|
|
@@ -250,7 +250,7 @@ namespace UAS_MES_NEW.Make
|
|
|
//更新工单数量+1
|
|
|
SQLS.Add("update make set ma_inqty=nvl(ma_inqty,0)+1 where ma_id='" + ma_id.Text + "'");
|
|
|
//更新该序列号的所属工单为返工工单
|
|
|
- SQLS.Add("update makeserial set ms_nextmacode='" + ma_code.Text + "' where ms_id='" + Msid + "'");
|
|
|
+ SQLS.Add("update makeserial set ms_outboxcode='',ms_nextmacode='" + ma_code.Text + "' where ms_id='" + Msid + "'");
|
|
|
if (ms_outboxcode != "")
|
|
|
{
|
|
|
string pamothercode = dh.getFieldDataByCondition("package", "pa_mothercode", "pa_outboxcode='" + ms_outboxcode + "'").ToString();
|