diff --git a/AMESCoreStudio.Web/Views/JIG/JIG004C.cshtml b/AMESCoreStudio.Web/Views/JIG/JIG004C.cshtml
index ebc1aeaa..377c2b9b 100644
--- a/AMESCoreStudio.Web/Views/JIG/JIG004C.cshtml
+++ b/AMESCoreStudio.Web/Views/JIG/JIG004C.cshtml
@@ -69,7 +69,7 @@
-
+
@@ -502,9 +502,18 @@
-
-
-
+
+
+
@@ -520,7 +529,10 @@
@@ -570,7 +588,10 @@
@@ -876,7 +897,10 @@
@@ -950,23 +974,23 @@
@foreach (var index in Model.WipOutfits)
{
-
+
-
-
-
- |
-
-
- |
-
-
-
- |
-
- 刪除
- |
-
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+ 刪除
+ |
+
l++;
}
@@ -987,8 +1011,8 @@
SOP文件敘述
@*
- 檔案路徑
- | *@
+ 檔案路徑
+ *@
SOP類型
|
@@ -1003,24 +1027,24 @@
@foreach (var index in Model.WipSops)
{
-
-
-
-
- |
- @*
-
- | *@
-
-
- |
-
-
- |
-
- 刪除
- |
-
+
+
+
+
+ |
+ @*
+
+ | *@
+
+
+ |
+
+
+ |
+
+ 刪除
+ |
+
i++;
}
@@ -1092,23 +1116,23 @@
@foreach (var index in Model.wipInfoBlobs)
{
-
-
- @index.ImageName
- |
-
- @index.Filepath
- |
-
-
+ |
+
+ @index.ImageName
+ |
+
+ @index.Filepath
+ |
+
+
- |
-
- 預覽
- 下載
- 刪除
- |
-
+
+
+ 預覽
+ 下載
+ 刪除
+ |
+
}
@@ -1177,11 +1201,13 @@
}
// DIV 出貨序號
- //if ($('#wipBarcodeOther_StartNO').val() != "" && $('#wipBarcodeOther_EndNO').val() != "") {
- // $("#barcodeOtherDiv").hide();
- //}
-
+ if ($('#wipBarcodeOther_StartNO').val() != "" && $('#wipBarcodeOther_EndNO').val() != "") {
+ $("#divDeleteBarcodeOther").show();
+ }
+ else
+ $("#divDeleteBarcodeOther").hide();
+
// DIV keyPartsExcel
@if (Model.wipInfo.WipNO.StartsWith("981"))
{
@@ -1258,6 +1284,7 @@
else {
$("#wipBarcodeOther_StartNO").val(result.data.startNO);
$("#wipBarcodeOther_EndNO").val(result.data.endNO);
+ $("#divDeleteBarcodeOther").show();
}
},
error: function (jqXHR, textStatus, errorThrown) {
@@ -1282,6 +1309,7 @@
else {
$("#wipBarcodeOther_StartNO").val(result.data.startNO);
$("#wipBarcodeOther_EndNO").val(result.data.endNO);
+ $("#divDeleteBarcodeOther").show();
}
},
error: function (jqXHR, textStatus, errorThrown) {
@@ -1312,6 +1340,7 @@
else {
$("#wipBarcodeOther_StartNO").val('');
$("#wipBarcodeOther_EndNO").val('');
+ $("#divDeleteBarcodeOther").hide();
}
},
error: function (jqXHR, textStatus, errorThrown) {
@@ -1346,7 +1375,7 @@
else {
var contactdiv = '' +
`${data.mix} |
- ${data.max} |
`;
+ ${data.max} | `;
$('#MACTable').append(contactdiv);
}
},
@@ -1919,7 +1948,6 @@
'';
$('#KPTable').append(contactdiv);
No += 1;
-
});
$('#WipKpCount').val(No);
layui.form.render("select");//重新渲染 固定写法
@@ -1943,6 +1971,7 @@
$.ajax({
url: "@Url.Action("FQC007GetPLMECN", "FQC")",
type: "Post",
+ async: true,
data: { "ItemNo": '@Model.wipAtt.ItemNO' },
success: function (result) {
if (result.success) {
@@ -1958,7 +1987,8 @@
})
}
else {
- parent.hg.msg(result.msg);
+ hg.msghide("不需要更新!");
+ //parent.hg.msg(result.msg);
}
}
},