|
|
@ -198,6 +198,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layui-form-item"> |
|
|
|
<div class="layui-inline"> |
|
|
|
<label asp-for="wipAtt.ECN" class="layui-form-label"></label> |
|
|
@ -249,14 +250,14 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.wipBarcodes) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
@index.StartNO |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
@index.EndNO |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
@index.StartNO |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
@index.EndNO |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
} |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
@ -308,14 +309,14 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.wipMACs) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
@index.Title@index.StartNO |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
@index.Title@index.EndNO |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
@index.Title@index.StartNO |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
@index.Title@index.EndNO |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
} |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
@ -380,30 +381,30 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.WipKps) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<input name="WipKps[@k].WipKpID" type="hidden" value="@index.WipKpID" /> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.KpName" name="WipKps[@k].KpName" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.KpNo" name="WipKps[@k].KpNo" asp-items="@ViewBag.ItemsList" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.KpSeq" name="WipKps[@k].KpSeq" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.Title" name="WipKps[@k].Title" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.Length" name="WipKps[@k].Length" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipKps[@k].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<input name="WipKps[@k].WipKpID" type="hidden" value="@index.WipKpID" /> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.KpName" name="WipKps[@k].KpName" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.KpNo" name="WipKps[@k].KpNo" asp-items="@ViewBag.ItemsList" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.KpSeq" name="WipKps[@k].KpSeq" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.Title" name="WipKps[@k].Title" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.Length" name="WipKps[@k].Length" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipKps[@k].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
k++; |
|
|
|
} |
|
|
|
</tbody> |
|
|
@ -454,11 +455,11 @@ |
|
|
|
<input asp-for="itemNoCT1" type="hidden" value="@Model.itemNoCT1" /> |
|
|
|
@if (!string.IsNullOrWhiteSpace(Model.itemNoCT1)) |
|
|
|
{ |
|
|
|
<span style="color:red">有維護標準工時</span> |
|
|
|
<span style="color:red">有維護標準工時</span> |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
<span style="color:red">**無維護標準工時**</span> |
|
|
|
<span style="color:red">**無維護標準工時**</span> |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -501,18 +502,9 @@ |
|
|
|
<label class="layui-form-label">DIP</label> |
|
|
|
<div class="layui-input-block"> |
|
|
|
<cl-checkbox asp-items="@ViewBag.GetCheckboxDIP" asp-for="wipBoard.DipSides" asp-skin="defult"></cl-checkbox> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.DipCarrier == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="CARRIER" name="wipBoard.DipCarrier" /> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.DipTape == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="貼付膠帶" name="wipBoard.DipTape" /> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.DipSolderMask == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="點防焊膠" name="wipBoard.DipSolderMask" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.DipCarrier == "Y" ? "checked" : "") } type="checkbox" title="CARRIER" name="wipBoard.DipCarrier" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.DipTape == "Y" ? "checked" : "") } type="checkbox" title="貼付膠帶" name="wipBoard.DipTape" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.DipSolderMask == "Y" ? "checked" : "") } type="checkbox" title="點防焊膠" name="wipBoard.DipSolderMask" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -528,10 +520,7 @@ |
|
|
|
<div class="layui-inline"> |
|
|
|
<label class="layui-form-label">燒錄</label> |
|
|
|
<div class="layui-input-inline"> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.Burn == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="是否燒入" name="wipBoard.Burn" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.Burn == "Y" ? "checked" : "") } type="checkbox" title="是否燒入" name="wipBoard.Burn" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
<label class="layui-form-label">燒機位置</label> |
|
|
@ -552,10 +541,7 @@ |
|
|
|
<div class="layui-inline"> |
|
|
|
<label class="layui-form-label">零件烘烤</label> |
|
|
|
<div class="layui-input-inline"> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.ISPartsBake == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="零件是否需要烘烤" name="wipBoard.ISPartsBake" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.ISPartsBake == "Y" ? "checked" : "") } type="checkbox" title="零件是否需要烘烤" name="wipBoard.ISPartsBake" /> |
|
|
|
</div> |
|
|
|
<label class="layui-form-label">零件烘烤溫度</label> |
|
|
|
<div class="layui-input-inline" style="width:100px"> |
|
|
@ -568,10 +554,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.PartsBakeOvertime == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="零件烘烤超過48hrs" name="wipBoard.PartsBakeOvertime" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.PartsBakeOvertime == "Y" ? "checked" : "") } type="checkbox" title="零件烘烤超過48hrs" name="wipBoard.PartsBakeOvertime" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -587,10 +570,7 @@ |
|
|
|
<div class="layui-inline"> |
|
|
|
<label class="layui-form-label">PCB烘烤</label> |
|
|
|
<div class="layui-input-inline"> |
|
|
|
<input @if (Model.wipBoard != null) |
|
|
|
{ |
|
|
|
@(Model.wipBoard.ISPcbBake == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="PCB是否需要烘烤" name="wipBoard.ISPcbBake" /> |
|
|
|
<input @if (Model.wipBoard != null) { @(Model.wipBoard.ISPcbBake == "Y" ? "checked" : "") } type="checkbox" title="PCB是否需要烘烤" name="wipBoard.ISPcbBake" /> |
|
|
|
</div> |
|
|
|
<div class="layui-input-inline"> |
|
|
|
<select asp-items="@ViewBag.GetPCBBakeTypeSelect" asp-for="wipBoard.PcbBake" class=""></select> |
|
|
@ -720,11 +700,11 @@ |
|
|
|
<input asp-for="itemNoCT1" type="hidden" value="@Model.itemNoCT1" /> |
|
|
|
@if (!string.IsNullOrWhiteSpace(Model.itemNoCT1)) |
|
|
|
{ |
|
|
|
<span style="color:red">有維護標準工時</span> |
|
|
|
<span style="color:red">有維護標準工時</span> |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
<span style="color:red">**無維護標準工時**</span> |
|
|
|
<span style="color:red">**無維護標準工時**</span> |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -896,10 +876,7 @@ |
|
|
|
<div class="layui-inline"> |
|
|
|
<label class="layui-form-label">FINE_PACKAGE</label> |
|
|
|
<div class="layui-input-inline"> |
|
|
|
<input @if (Model.wipSystem != null) |
|
|
|
{ |
|
|
|
@(Model.wipSystem.FinePackage == "Y" ? "checked" : "") |
|
|
|
} type="checkbox" title="是否為精裝" name="wipSystem.FinePackage" /> |
|
|
|
<input @if (Model.wipSystem != null) { @(Model.wipSystem.FinePackage == "Y" ? "checked" : "") } type="checkbox" title="是否為精裝" name="wipSystem.FinePackage" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -973,23 +950,23 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.WipOutfits) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
<input name="WipOutfits[@l].WipOutfitID" type="hidden" value="@index.WipOutfitID" /> |
|
|
|
<select asp-for="@index.PartNo" name="WipOutfits[@l].PartNo" asp-items="@ViewBag.OutfitCommodityInfo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipOutfits[@l].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
<select asp-for="@index.StationID" name="WipOutfits[@l].StationID" asp-items="@ViewBag.RuleStationByWipNoUnitNoList" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<td> |
|
|
|
<input name="WipOutfits[@l].WipOutfitID" type="hidden" value="@index.WipOutfitID" /> |
|
|
|
<select asp-for="@index.PartNo" name="WipOutfits[@l].PartNo" asp-items="@ViewBag.OutfitCommodityInfo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipOutfits[@l].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
<select asp-for="@index.StationID" name="WipOutfits[@l].StationID" asp-items="@ViewBag.RuleStationByWipNoUnitNoList" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
l++; |
|
|
|
} |
|
|
|
</tbody> |
|
|
@ -1010,8 +987,8 @@ |
|
|
|
SOP文件敘述 |
|
|
|
</th> |
|
|
|
@*<th> |
|
|
|
檔案路徑 |
|
|
|
</th>*@ |
|
|
|
檔案路徑 |
|
|
|
</th>*@ |
|
|
|
<th> |
|
|
|
SOP類型 |
|
|
|
</th> |
|
|
@ -1026,24 +1003,24 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.WipSops) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<input name="WipSops[@i].WipSOPID" type="hidden" value="@index.WipSOPID" /> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.SOPName" name="WipSops[@i].SOPName" /> |
|
|
|
</td> |
|
|
|
@*<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.SOPPath" name="WipSops[@i].SOPPath" /> |
|
|
|
</td>*@ |
|
|
|
<td> |
|
|
|
<select asp-for="@index.SOPType" name="WipSops[@i].SOPType" asp-items="@ViewBag.GetSOPTypeSelect" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipSops[@i].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<input name="WipSops[@i].WipSOPID" type="hidden" value="@index.WipSOPID" /> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.SOPName" name="WipSops[@i].SOPName" /> |
|
|
|
</td> |
|
|
|
@*<td> |
|
|
|
<input onkeypress="if( event.keyCode == 13 ) { return false; }" class="layui-input" asp-for="@index.SOPPath" name="WipSops[@i].SOPPath" /> |
|
|
|
</td>*@ |
|
|
|
<td> |
|
|
|
<select asp-for="@index.SOPType" name="WipSops[@i].SOPType" asp-items="@ViewBag.GetSOPTypeSelect" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<select asp-for="@index.UnitNo" name="WipSops[@i].UnitNo" asp-items="@ViewBag.FactoryUnitByWipNo" class=""></select> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs layui-icon layui-icon-delete" onclick="Remove(this);">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
i++; |
|
|
|
} |
|
|
|
</tbody> |
|
|
@ -1106,7 +1083,6 @@ |
|
|
|
<table lay-filter="demo" class="layui-table"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
Remark |
|
|
|
<th lay-data="{field:'username'}">檔案名稱</th> |
|
|
|
<th lay-data="{field:'experience', sort:true}">檔案路徑</th> |
|
|
|
<th lay-data="{field:'remark'}">備註</th> |
|
|
@ -1116,23 +1092,23 @@ |
|
|
|
<tbody> |
|
|
|
@foreach (var index in Model.wipInfoBlobs) |
|
|
|
{ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<span id="FileName">@index.ImageName</span> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<span id="Filepath">@index.Filepath</span> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<span id="Remark">@index.Remark</span> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<span id="FileName">@index.ImageName</span> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<span id="Filepath">@index.Filepath</span> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<span id="Remark">@index.Remark</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs layui-icon layui-icon-read" onclick="show(this)">預覽</a> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs" onclick="filedownload(this)">下載</a> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs layui-btn-danger" onclick="deleteFile(this)">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs layui-icon layui-icon-read" onclick="show(this)">預覽</a> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs" onclick="filedownload(this)">下載</a> |
|
|
|
<a class="layui-btn layui-btn-normal layui-btn-xs layui-btn-danger" onclick="deleteFile(this)">刪除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
} |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
@ -1146,6 +1122,12 @@ |
|
|
|
<input type="hidden" asp-for="wipInfoBlob.ImageName"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="layui-form-item"> |
|
|
|
<label class="layui-form-label">檔案備註</label> |
|
|
|
<div class="layui-input-block"> |
|
|
|
<textarea asp-for="wipInfoBlob.Remark" class="layui-textarea" type="text"></textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -1364,7 +1346,7 @@ |
|
|
|
else { |
|
|
|
var contactdiv = '<tr>' + |
|
|
|
`<td>${data.mix}</td> |
|
|
|
<td>${data.max}</td></tr>`; |
|
|
|
<td>${data.max}</td></tr>`; |
|
|
|
$('#MACTable').append(contactdiv); |
|
|
|
} |
|
|
|
}, |
|
|
@ -1492,13 +1474,13 @@ |
|
|
|
|
|
|
|
// 檔案刪除 |
|
|
|
function deleteFile(obj) { |
|
|
|
layer.confirm('確定是否要刪除該筆檔案?', { |
|
|
|
var FileName = $(obj).closest("TR").find('span[id*=FileName]').text(); |
|
|
|
layer.confirm(`確定是否要刪除【${FileName}】檔案?`, { |
|
|
|
btn: ['確定', '取消'] |
|
|
|
}, function () { |
|
|
|
layer.closeAll('dialog'); |
|
|
|
var FileName = $(obj).closest("TR").find('span[id*=FileName]').text(); |
|
|
|
$.ajax({ |
|
|
|
url: '@Url.Action("DeleteWipInfoBlobByFileName", "PCS")', |
|
|
|
url: '@Url.Action("DeleteWipInfoBlob", "PCS")', |
|
|
|
dataType: 'json', |
|
|
|
data: { "wipNo": '@Model.wipInfo.WipNO', "fileName": FileName }, |
|
|
|
cache: false, |
|
|
@ -1509,8 +1491,8 @@ |
|
|
|
parent.hg.msg(result.msg); |
|
|
|
} |
|
|
|
else { |
|
|
|
$("#wipBarcodeOther_StartNO").val(''); |
|
|
|
$("#wipBarcodeOther_EndNO").val(''); |
|
|
|
var row = $(obj).closest("TR"); |
|
|
|
row.hide(); |
|
|
|
} |
|
|
|
}, |
|
|
|
error: function (jqXHR, textStatus, errorThrown) { |
|
|
@ -1518,10 +1500,6 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
var Path = $(obj).closest("TR").find('span[id*=Filepath]').text(); |
|
|
|
var FileName = $(obj).closest("TR").find('span[id*=FileName]').text(); |
|
|
|
filePath = `/PCS/FileDownload?Path=${Path}&FileName=${FileName}`; |
|
|
|
$(obj).attr("href", filePath); |
|
|
|
} |
|
|
|
|
|
|
|
function getFlowRuleList(data) { |
|
|
@ -1960,7 +1938,6 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// 更新ECN or ECR |
|
|
|
function GetPLM_ECN() { |
|
|
|
$.ajax({ |
|
|
@ -1970,14 +1947,19 @@ |
|
|
|
success: function (result) { |
|
|
|
if (result.success) { |
|
|
|
var result_msg = result.msg; |
|
|
|
if ('@Model.wipAtt.ItemNO') |
|
|
|
console.log(result_msg); |
|
|
|
console.log('@Model.wipAtt.ECN'); |
|
|
|
if ('@Model.wipAtt.ECN' != result_msg) { |
|
|
|
layer.confirm('比對與PLM ECN/ECR不一樣,確定更新ECN/ECR嗎?', { |
|
|
|
btn: ['確定', '取消'] |
|
|
|
}, |
|
|
|
}, function () { |
|
|
|
layer.closeAll('dialog'); |
|
|
|
$("#wipAtt_ECN").val(result_msg); |
|
|
|
} |
|
|
|
else { |
|
|
|
parent.hg.msg(result.msg); |
|
|
|
}) |
|
|
|
} |
|
|
|
else { |
|
|
|
parent.hg.msg(result.msg); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
error: function (result) { |
|
|
|