Browse Source

PTD規格書-2023系統需求(2023-09-25)- DN 單查詢出貨清單

調整明細欄位名稱、BugFix
PTD
vick_wang419@hotmail.com.tw 1 year ago
parent
commit
5496e45687
  1. 6
      AMESCoreStudio.Web/Controllers/PTDController.cs
  2. 11
      AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs

6
AMESCoreStudio.Web/Controllers/PTDController.cs

@ -123,13 +123,13 @@ namespace AMESCoreStudio.Web.Controllers
kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;MOID</td>"; kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;MOID</td>";
break; break;
case 2: case 2:
kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;ProductID</td>"; kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;Material(料號)</td>";
break; break;
case 3: case 3:
kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;ShipmentSN</td>"; kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;出貨料號</td>";
break; break;
case 4: case 4:
kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;ProductSN</td>"; kpDataList = kpDataList + "<td width = '150' style = 'text-align:left'>&nbsp;生產序號</td>";
break; break;
case 5: case 5:
strStartDate = "<td width = '120' style = 'text-align:left'>&nbsp;StartDate</td>"; strStartDate = "<td width = '120' style = 'text-align:left'>&nbsp;StartDate</td>";

11
AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs

@ -2744,15 +2744,18 @@ and b.item_no = '{0}' and a.barcode_no = '{1}'", kp_no, barcode_no);
} }
} }
if (dtBarcode.Rows.Count > 0)
{
//整理欄位 //整理欄位
dtBarcode.Columns.Remove("WIP_ID"); dtBarcode.Columns.Remove("WIP_ID");
dtBarcode.Columns.Remove("BARCODE_ID"); dtBarcode.Columns.Remove("BARCODE_ID");
dtBarcode.Columns["WipNo"].ColumnName = "MOID"; //dtBarcode.Columns["WipNo"].ColumnName = "MOID";
dtBarcode.Columns["ItemNO"].ColumnName = "Material(料號)"; //dtBarcode.Columns["ItemNO"].ColumnName = "Material(料號)";
dtBarcode.Columns["ExtraBarcodeNo"].ColumnName = "出貨料號"; //dtBarcode.Columns["ExtraBarcodeNo"].ColumnName = "出貨料號";
dtBarcode.Columns["BarcodeNo"].ColumnName = "生產序號"; //dtBarcode.Columns["BarcodeNo"].ColumnName = "生產序號";
dtBarcode.AcceptChanges(); dtBarcode.AcceptChanges();
}
List <dynamic> list = new List<dynamic>(); List <dynamic> list = new List<dynamic>();
foreach (DataRow row in dtBarcode.Rows) foreach (DataRow row in dtBarcode.Rows)

Loading…
Cancel
Save