浏览代码

添加箱号产品编号

callm 4 年之前
父节点
当前提交
8b50aff663
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS_MES_PW/FunctionCode/Packing/Packing_PalletWightCollection.cs

+ 1 - 1
UAS_MES_PW/FunctionCode/Packing/Packing_PalletWightCollection.cs

@@ -141,7 +141,7 @@ namespace UAS_MES_NEW.Packing
                     }
                     //根据箱号查询表单数据
                     sql.Clear();
-                    sql.Append("select pa_totalqty,ma_code,ma_qty,ma_salecode,PA_STANDARDQTY PA_STANDARDQTYCARTON,PA_CURRENTQTY,pr_detail,pr_cartonunit,pr_code,pr_cartongw,");
+                    sql.Append("select pa_totalqty,ma_code,ma_qty,ma_salecode,pa_prodcode,PA_STANDARDQTY PA_STANDARDQTYCARTON,PA_CURRENTQTY,pr_detail,pr_cartonunit,pr_code,pr_cartongw,");
                     sql.Append("pr_cartonmaxw,pr_cartonminw,nvl(PR_CHECKCARTONW,'0') PR_CHECKCARTONW,nvl(pr_sendchecktype,'LineCode')pr_sendchecktype from package left join packagedetail ");
                     sql.Append("on pa_id=pd_paid left join makeserial on ms_sncode=pd_barcode and ms_makecode=pa_makecode left join product on pr_code=pd_prodcode left join make on ma_code=pd_makecode ");
                     sql.Append(" where pa_outboxcode='" + outboxcode.Text + "' and pa_nextstep='" + User.CurrentStepCode + "'");