diff --git a/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml index d16834ca..e0bc5a79 100644 --- a/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml +++ b/AMESCoreStudio.Web/Views/PCS/PCS003.cshtml @@ -27,7 +27,6 @@ - @@ -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', diff --git a/AMESCoreStudio.Web/Views/PCS/PCS034.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS034.cshtml index a4715123..52579fde 100644 --- a/AMESCoreStudio.Web/Views/PCS/PCS034.cshtml +++ b/AMESCoreStudio.Web/Views/PCS/PCS034.cshtml @@ -27,7 +27,6 @@ - FINE_PACKAGE
+ @(Model.wipSystem.FinePackage == "Y" ? "checked" : "") + } type="checkbox" title="是否為精裝" name="wipSystem.FinePackage" />
@@ -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({