-
@@ -742,7 +732,7 @@
@@ -776,7 +766,7 @@
-
+
@@ -799,7 +789,7 @@
-
+
@@ -814,7 +804,7 @@
-
+
@@ -1333,7 +1323,7 @@
{
url: "@Url.Action("GetMaterialFlowRuleJson", "PCS")",
dataType: 'json',
- data: { "itemno": $("#wipAtt_ItemNO").val(),"unit_no": $("#unit").val()},
+ data: { "itemno": $("#wipAtt_ItemNO").val(), "unit_no": $("#wipInfo_UnitNO").val()},
type: 'post',
success: function (result)
{
@@ -1359,7 +1349,7 @@
{
url: "@Url.Action("GetUnitLineJson", "BAS")",
dataType: 'json',
- data: { "unit_no": $("#unit").val()},
+ data: { "unit_no": $("#wipInfo_UnitNO").val()},
type: 'post',
success: function (result)
{
@@ -1383,6 +1373,7 @@
//UserName
function getUserName(val) {
+ if (val.value.length != 0) {
$.ajax(
{
url: "@Url.Action("getUserName", "SYS")",
@@ -1397,7 +1388,8 @@
{
alert(result);
}
- });
+ });
+ }
};
// RuleStation 備註
@@ -1406,7 +1398,7 @@
{
url: "@Url.Action("getMaterialFlowRuleRemark", "PCS")",
dataType: 'json',
- data: { "itemno": $("#wipAtt_ItemNO").val(), "unit_no": $("#unit").val(), "flowID": NewID },
+ data: { "itemno": $("#wipAtt_ItemNO").val(), "unit_no": $("#wipInfo_UnitNO").val(), "flowID": NewID },
type: 'post',
success: function (result)
{
diff --git a/AMESCoreStudio.Web/Views/PCS/PCS004.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS004.cshtml
index f618e9dd..d798d680 100644
--- a/AMESCoreStudio.Web/Views/PCS/PCS004.cshtml
+++ b/AMESCoreStudio.Web/Views/PCS/PCS004.cshtml
@@ -96,13 +96,13 @@
var tableCols = [[
{
- field: 'wipNO',
+ field: 'wipNo',
width: 200,
title: '工單號碼',
sort: true
},
{
- field: 'itemNO',
+ field: 'itemNo',
title: '料號',
width: 200,
sort: true
diff --git a/AMESCoreStudio.Web/Views/PCS/PCS005.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS005.cshtml
index a228ffb3..d561a4e1 100644
--- a/AMESCoreStudio.Web/Views/PCS/PCS005.cshtml
+++ b/AMESCoreStudio.Web/Views/PCS/PCS005.cshtml
@@ -2,13 +2,15 @@
ViewData["Title"] = "工單資料查詢";
Layout = "~/Views/Shared/_AMESLayout.cshtml";
}
+@using Microsoft.AspNetCore.Mvc.Localization
+@inject IHtmlLocalizer
sharedLocalizer