diff --git a/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml index 84850668..69a1956c 100644 --- a/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml +++ b/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml @@ -270,10 +270,10 @@
-
+ - +
@@ -499,9 +499,18 @@
- - - + + +
@@ -517,7 +526,10 @@
- +
@@ -538,7 +550,10 @@
- +
@@ -551,7 +566,10 @@
- +
@@ -567,7 +585,10 @@
- +
@@ -873,7 +894,10 @@
- +
@@ -984,8 +1008,8 @@ SOP文件敘述 @* - 檔案路徑 - *@ + 檔案路徑 + *@ SOP類型 @@ -1006,8 +1030,8 @@ @* - - *@ + + *@ @@ -1280,34 +1304,34 @@ } }); - // 刪除出貨序號 + // 刪除出貨序號 $("#DeleteBarcodeOther").click(function (event) { - layer.confirm('確定是否要刪除出貨序號?', { - btn: ['確定', '取消'] - }, function () { - layer.closeAll('dialog'); - $.ajax({ - url: '@Url.Action("DeleteBarcodeOtherByWipNo", "PCS")', - dataType: 'json', - data: {"wipNo": '@Model.wipInfo.WipNO'}, - cache: false, - type: "POST", - success: function (result) { - // 錯誤訊息 - if (!result.success) { - parent.hg.msg(result.msg); - } - else { - $("#wipBarcodeOther_StartNO").val(''); - $("#wipBarcodeOther_EndNO").val(''); - } - }, - error: function (jqXHR, textStatus, errorThrown) { - alert("出貨序號刪除失敗,請洽系統管理員!!"); + layer.confirm('確定是否要刪除出貨序號?', { + btn: ['確定', '取消'] + }, function () { + layer.closeAll('dialog'); + $.ajax({ + url: '@Url.Action("DeleteBarcodeOtherByWipNo", "PCS")', + dataType: 'json', + data: { "wipNo": '@Model.wipInfo.WipNO' }, + cache: false, + type: "POST", + success: function (result) { + // 錯誤訊息 + if (!result.success) { + parent.hg.msg(result.msg); } - }); - }) + else { + $("#wipBarcodeOther_StartNO").val(''); + $("#wipBarcodeOther_EndNO").val(''); + } + }, + error: function (jqXHR, textStatus, errorThrown) { + alert("出貨序號刪除失敗,請洽系統管理員!!"); + } + }); + }) }); // 產生MAC @@ -1325,7 +1349,7 @@ $.ajax({ url: '@Url.Action("GetMAC", "PCS")', dataType: 'json', - data: { "itemno": $("#wipAtt_ItemNO").val(), "wipNo": $('#wipInfo_WipNO').val() ,"planQTY": $('#wipInfo_PlanQTY').val() }, + data: { "itemno": $("#wipAtt_ItemNO").val(), "wipNo": $('#wipInfo_WipNO').val(), "planQTY": $('#wipInfo_PlanQTY').val() }, cache: false, type: "POST", success: function (data, textStatus, jqXHR) { @@ -1335,7 +1359,7 @@ else { var contactdiv = '' + `${data.mix} - ${data.max}`; + ${data.max}`; $('#MACTable').append(contactdiv); } }, @@ -1395,7 +1419,7 @@ $(this).change(function () { var txt = $(this).val(); if (txt.length == 0) { - $(this).closest('div.layui-inline').find('input[id*=' + this.id + '_Desc]').val(''); + $(this).closest('div.layui-inline').find('input[id*=' + this.id + '_Desc]').val(''); } }); })