Browse Source

1. 修正工單維護相關Bug

PTD
Ray 2 years ago
parent
commit
79b6c0fc96
  1. 9
      AMESCoreStudio.Web/Views/PCS/PCS003.cshtml
  2. 7
      AMESCoreStudio.Web/Views/PCS/PCS034.cshtml

9
AMESCoreStudio.Web/Views/PCS/PCS003.cshtml

@ -27,7 +27,6 @@
<input asp-for="wipInfo.WipID" type="hidden" value="@Model.wipInfo.WipID" />
<input asp-for="wipInfo.WipNO" type="hidden" value="@Model.wipInfo.WipNO" />
<input asp-for="wipAtt.ItemNO" type="hidden" value="@Model.wipAtt.ItemNO" />
<input asp-for="wipInfo.WipType" type="hidden" value="@Model.wipInfo.WipType" />
<input asp-for="wipBarcodeOther.OtherID" type="hidden" value="@if(Model.wipBarcodeOther != null){
@Model.wipBarcodeOther.OtherID
}" />
@ -1375,7 +1374,15 @@
$(this.element).closest('div.layui-inline').find('input[id*=' + this.element.id + '_Desc]').val(item.meterialDesc);
}
});
$(this).change(function () {
var txt = $(this).val();
if (txt.length == 0) {
$(this).closest('div.layui-inline').find('input[id*=' + this.id + '_Desc]').val('');
}
});
})
// PowerMode
layui.autocomplete({
element: '#wipSystem_PowerMode',

7
AMESCoreStudio.Web/Views/PCS/PCS034.cshtml

@ -27,7 +27,6 @@
<input asp-for="wipInfo.WipID" type="hidden" value="@Model.wipInfo.WipID" />
<input asp-for="wipInfo.UnitNO" type="hidden" value="@Model.wipInfo.UnitNO" />
<input asp-for="wipInfo.WipNO" type="hidden" value="@Model.wipInfo.WipNO" />
<input asp-for="wipInfo.WipType" type="hidden" value="@Model.wipInfo.WipType" />
<input asp-for="wipAtt.ItemNO" type="hidden" value="@Model.wipAtt.ItemNO" />
<input asp-for="wipBarcodeOther.OtherID" type="hidden" value="@if(Model.wipBarcodeOther != null){
@Model.wipBarcodeOther.OtherID
@ -1312,6 +1311,12 @@
$(this.element).closest('div.layui-inline').find('input[id*=' + this.element.id + '_Desc]').val(item.meterialDesc);
}
});
$(this).change(function () {
var txt = $(this).val();
if (txt.length == 0) {
$(this).closest('div.layui-inline').find('input[id*=' + this.id + '_Desc]').val('');
}
});
})
// PowerMode
layui.autocomplete({

Loading…
Cancel
Save