| | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region 委外补料 |
| | | |
| | | /// <summary> |
| | | /// 委外工单退料扫码 |
| | | /// 委外工单补料扫码 |
| | | /// 扫描条码 prc_rf_pda_scan_zout_barcode3 |
| | | /// </summary> |
| | | /// <param name="query">查询参数</param> |
| | |
| | | Guid = Guid.NewGuid(), |
| | | Status = 1, |
| | | BillTypeId = 200, // p_bill_type_id |
| | | TransactionCode = "209", // p_transaction_no |
| | | TransactionCode = "220", // p_transaction_no |
| | | BusinessType = -1, |
| | | ItemBarcode = newBarcode, |
| | | ItemNo = stockBarcode.ItemNo, |
| | |
| | | && a.OutDate.Value.Date.ToString("yyyy-MM-dd") == |
| | | DateTime.Now.Date.ToString("yyyy-MM-dd") |
| | | && a.BillTypeId == 200 |
| | | && a.TransactionNo == 209 |
| | | && a.TransactionNo == 220 |
| | | && a.Status == 0) |
| | | .First(); |
| | | |
| | |
| | | LastupdateBy = query.userName, |
| | | LastupdateDate = DateTime.Now, |
| | | BillTypeId = 200, |
| | | TransactionNo = 209, |
| | | TransactionNo = 220, |
| | | Remark = mesItemBl.Bl007, |
| | | DepotCode = womdab.Dab017, |
| | | OutPart = womdaa.Daa013.ToString(), |