Browse Source

1. 新增線頭看版 中英文版本

master
Sai 3 weeks ago
parent
commit
32c4c68048
  1. 5
      AMESCoreStudio.Web/Resources/Localization/CustomStringLocalizerFactory.cs
  2. 171
      AMESCoreStudio.Web/Resources/Views/RPT/Shared.en-US.resx
  3. 171
      AMESCoreStudio.Web/Resources/Views/RPT/Shared.zh-TW.resx
  4. 38
      AMESCoreStudio.Web/Views/RPT/RPT004.cshtml
  5. 38
      AMESCoreStudio.Web/Views/RPT/RPT005.cshtml

5
AMESCoreStudio.Web/Resources/Localization/CustomStringLocalizerFactory.cs

@ -24,6 +24,11 @@ namespace AMESCoreStudio.Web.Resources.Localization
{ {
baseName = "Views.PCS.Shared"; baseName = "Views.PCS.Shared";
} }
// 自訂邏輯:如果是 Views.RPT,或是 Controllers.RPT,使用 Shared 資源
if (baseName.Contains("Views.RPT") || baseName.Contains("Controllers.RPT"))
{
baseName = "Views.RPT.Shared";
}
return _baseFactory.Create(baseName, location); return _baseFactory.Create(baseName, location);
} }
} }

171
AMESCoreStudio.Web/Resources/Views/RPT/Shared.en-US.resx

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="WipNo" xml:space="preserve">
<value>Current Work Order</value>
</data>
<data name="PlanQty" xml:space="preserve">
<value>Planned Quantity</value>
</data>
<data name="LineHeadDashboard" xml:space="preserve">
<value>Line Head Dashboard</value>
</data>
<data name="LineHeadDashboardCarousel" xml:space="preserve">
<value>Line Head Dashboard (Carousel)</value>
</data>
<data name="ItemNo" xml:space="preserve">
<value>Engineering Number</value>
</data>
<data name="ProductionProcess" xml:space="preserve">
<value>Production Process</value>
</data>
<data name="ProductionLine" xml:space="preserve">
<value>Production Line</value>
</data>
<data name="Query" xml:space="preserve">
<value>Query</value>
</data>
<data name="StartTime" xml:space="preserve">
<value>Start Time</value>
</data>
<data name="CurrentTime" xml:space="preserve">
<value>Current Time</value>
</data>
<data name="StandardWorkingHours" xml:space="preserve">
<value>Standard CT</value>
</data>
<data name="TotalInput" xml:space="preserve">
<value>Total Input</value>
</data>
<data name="Station" xml:space="preserve">
<value>Station</value>
</data>
<data name="ExpectedInputQuantity" xml:space="preserve">
<value>Expected&lt;br/&gt;Input Quantity</value>
</data>
<data name="ActualInputQuantity" xml:space="preserve">
<value>Actual&lt;br/&gt;Input Quantity</value>
</data>
<data name="ProductionEfficiency" xml:space="preserve">
<value>Production&lt;br/&gt;Efficiency</value>
</data>
<data name="Line" xml:space="preserve">
<value>Line</value>
</data>
</root>

171
AMESCoreStudio.Web/Resources/Views/RPT/Shared.zh-TW.resx

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="WipNo" xml:space="preserve">
<value>當前工單</value>
</data>
<data name="PlanQty" xml:space="preserve">
<value>計畫產量</value>
</data>
<data name="LineHeadDashboard" xml:space="preserve">
<value>線頭看板</value>
</data>
<data name="ProductionEfficiency" xml:space="preserve">
<value>生產效率</value>
</data>
<data name="ActualInputQuantity" xml:space="preserve">
<value>實際投入數量</value>
</data>
<data name="ProductionLine" xml:space="preserve">
<value>生產線別</value>
</data>
<data name="LineHeadDashboardCarousel" xml:space="preserve">
<value>線頭看板(輪播)</value>
</data>
<data name="Query" xml:space="preserve">
<value>查詢</value>
</data>
<data name="ProductionProcess" xml:space="preserve">
<value>生產製程</value>
</data>
<data name="StartTime" xml:space="preserve">
<value>開工時間</value>
</data>
<data name="CurrentTime" xml:space="preserve">
<value>目前時間</value>
</data>
<data name="StandardWorkingHours" xml:space="preserve">
<value>標準工時</value>
</data>
<data name="TotalInput" xml:space="preserve">
<value>累計投入數</value>
</data>
<data name="Station" xml:space="preserve">
<value>站別</value>
</data>
<data name="ExpectedInputQuantity" xml:space="preserve">
<value>應投入數量</value>
</data>
<data name="ItemNo" xml:space="preserve">
<value>工程編號</value>
</data>
<data name="Line" xml:space="preserve">
<value>目前線別</value>
</data>
</root>

38
AMESCoreStudio.Web/Views/RPT/RPT004.cshtml

@ -1,7 +1,9 @@
@model AMESCoreStudio.WebApi.DTO.AMES.RPT004ViewDto @model AMESCoreStudio.WebApi.DTO.AMES.RPT004ViewDto
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{ @{
ViewData["Title"] = "線頭看板"; ViewData["Title"] = @Localizer["LineHeadDashboard"];
Layout = "~/Views/Shared/_AMESLayout.cshtml"; Layout = "~/Views/Shared/_AMESLayout.cshtml";
} }
@ -72,18 +74,18 @@
<div class="layui-row"> <div class="layui-row">
<div class="layui-col-md12 layui-form-item spanMasterTitleClass" style="margin-top:5px;"> <div class="layui-col-md12 layui-form-item spanMasterTitleClass" style="margin-top:5px;">
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">生產製程</label> <label class="layui-form-label">@Localizer["ProductionProcess"]</label>
<div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;"> <div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;">
<select id="unit" lay-filter="unit" lay-verify="required" lay-submit asp-for="unitNo" asp-items="@ViewBag.FactoryUnitList"> <select id="unit" lay-filter="unit" lay-verify="required" lay-submit asp-for="unitNo" asp-items="@ViewBag.FactoryUnitList">
</select> </select>
</div> </div>
<label class="layui-form-label">生產線別</label> <label class="layui-form-label">@Localizer["ProductionLine"]</label>
<div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;"> <div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;">
<select id="lineId" lay-filter="lineId" lay-verify="required" lay-submit asp-for="lineId"> <select id="lineId" lay-filter="lineId" lay-verify="required" lay-submit asp-for="lineId">
</select> </select>
</div> </div>
<button class="layui-btn" lay-submit lay-filter="querysubmit"> <button class="layui-btn" lay-submit lay-filter="querysubmit">
查詢 @Localizer["Query"]
</button> </button>
</div> </div>
</div> </div>
@ -91,15 +93,15 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md5"> <div class="layui-col-md5">
<label class="layui-form-label">當前工單</label> <label class="layui-form-label">@Localizer["WipNo"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNo</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNo</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">工程編號</label> <label class="layui-form-label">@Localizer["ItemNo"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.product</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.product</label>
</div> </div>
<div class="layui-col-md3"> <div class="layui-col-md3">
<label class="layui-form-label">計畫產量</label> <label class="layui-form-label">@Localizer["PlanQty"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoQty pcs</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoQty pcs</label>
</div> </div>
</div> </div>
@ -107,11 +109,11 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md6"> <div class="layui-col-md6">
<label class="layui-form-label">開工時間</label> <label class="layui-form-label">@Localizer["StartTime"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoStrDate</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoStrDate</label>
</div> </div>
<div class="layui-col-md6"> <div class="layui-col-md6">
<label class="layui-form-label">日前時間</label> <label class="layui-form-label">@Localizer["CurrentTime"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@DateTime.Now.ToString("yyyy/MM/dd HH:mm")</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@DateTime.Now.ToString("yyyy/MM/dd HH:mm")</label>
</div> </div>
</div> </div>
@ -119,15 +121,15 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">標準工時</label> <label class="layui-form-label">@Localizer["StandardWorkingHours"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.workTime min</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.workTime min</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">累計投入數</label> <label class="layui-form-label">@Localizer["TotalInput"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.cumulativeQty pcs</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.cumulativeQty pcs</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">站別</label> <label class="layui-form-label">@Localizer["Station"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.stationName</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.stationName</label>
</div> </div>
</div> </div>
@ -136,8 +138,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="grid-demo" style="color: #000000;margin:10% 0;"> <div class="grid-demo" style="color: #000000;margin:10% 0 0 0;">
<p>應投入數量</p> <p style="line-height:0.9">@Localizer["ExpectedInputQuantity"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>
@ -152,8 +154,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12 "> <div class="layui-col-md12 ">
<div style="color: #000000;margin:10% 0;"> <div style="color: #000000;margin:10% 0 0 0;">
<p>實際投入數量</p> <p style="line-height:0.9">@Localizer["ActualInputQuantity"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>
@ -168,8 +170,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="grid-demo" style="color: #000000;margin:10% 0;"> <div class="grid-demo" style="color: #000000;margin:10% 0 0 0;">
<p>生產效率</p> <p style="line-height:0.9">@Localizer["ProductionEfficiency"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>

38
AMESCoreStudio.Web/Views/RPT/RPT005.cshtml

@ -1,7 +1,9 @@
@model AMESCoreStudio.WebApi.DTO.AMES.RPT004ViewDto @model AMESCoreStudio.WebApi.DTO.AMES.RPT004ViewDto
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{ @{
ViewData["Title"] = "線頭看板(輪播)"; ViewData["Title"] = @Localizer["LineHeadDashboardCarousel"];
Layout = "~/Views/Shared/_AMESLayout.cshtml"; Layout = "~/Views/Shared/_AMESLayout.cshtml";
} }
@ -75,18 +77,18 @@
<div class="layui-row"> <div class="layui-row">
<div class="layui-col-md12 layui-form-item spanMasterTitleClass" style="margin-top:5px;"> <div class="layui-col-md12 layui-form-item spanMasterTitleClass" style="margin-top:5px;">
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">生產製程</label> <label class="layui-form-label">@Localizer["ProductionProcess"]</label>
<div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;"> <div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;">
<select id="unit" lay-filter="unit" lay-verify="required" lay-submit asp-for="unitNo" asp-items="@ViewBag.FactoryUnitList"> <select id="unit" lay-filter="unit" lay-verify="required" lay-submit asp-for="unitNo" asp-items="@ViewBag.FactoryUnitList">
</select> </select>
</div> </div>
<label class="layui-form-label">生產線別</label> <label class="layui-form-label">@Localizer["ProductionLine"]</label>
<div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;"> <div class="layui-input-inline" style=" color: #000000;font-size: 3vmin;">
<select id="lineId" lay-filter="lineId" lay-verify="required" lay-submit asp-for="lineId"> <select id="lineId" lay-filter="lineId" lay-verify="required" lay-submit asp-for="lineId">
</select> </select>
</div> </div>
<button class="layui-btn" lay-submit lay-filter="querysubmit"> <button class="layui-btn" lay-submit lay-filter="querysubmit">
查詢 @Localizer["Query"]
</button> </button>
</div> </div>
</div> </div>
@ -94,15 +96,15 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md5"> <div class="layui-col-md5">
<label class="layui-form-label">當前工單</label> <label class="layui-form-label">@Localizer["WipNo"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNo</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNo</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">工程編號</label> <label class="layui-form-label">@Localizer["ItemNo"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.product</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.product</label>
</div> </div>
<div class="layui-col-md3"> <div class="layui-col-md3">
<label class="layui-form-label">計畫產量</label> <label class="layui-form-label">@Localizer["PlanQty"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoQty pcs</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoQty pcs</label>
</div> </div>
</div> </div>
@ -110,11 +112,11 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md6"> <div class="layui-col-md6">
<label class="layui-form-label">開工時間</label> <label class="layui-form-label">@Localizer["StartTime"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoStrDate</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.wipNoStrDate</label>
</div> </div>
<div class="layui-col-md6"> <div class="layui-col-md6">
<label class="layui-form-label">日前時間</label> <label class="layui-form-label">@Localizer["CurrentTime"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@DateTime.Now.ToString("yyyy/MM/dd HH:mm")</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@DateTime.Now.ToString("yyyy/MM/dd HH:mm")</label>
</div> </div>
</div> </div>
@ -122,15 +124,15 @@
<div class="layui-row" style="text-align: center;"> <div class="layui-row" style="text-align: center;">
<div class="layui-col-md12 spanDetailTitleClass"> <div class="layui-col-md12 spanDetailTitleClass">
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">標準工時</label> <label class="layui-form-label">@Localizer["StandardWorkingHours"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.workTime min</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.workTime min</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">累計投入數</label> <label class="layui-form-label">@Localizer["TotalInput"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.cumulativeQty pcs</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.cumulativeQty pcs</label>
</div> </div>
<div class="layui-col-md4"> <div class="layui-col-md4">
<label class="layui-form-label">目前線別</label> <label class="layui-form-label">@Localizer["Line"]</label>
<label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.lineName</label> <label class="layui-form-label" style="text-align: left; color: #FFFFFF">@Model.lineName</label>
</div> </div>
</div> </div>
@ -139,8 +141,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="grid-demo" style="color: #000000;margin:10% 0;"> <div class="grid-demo" style="color: #000000;margin:10% 0 0 0;">
<p>應投入數量</p> <p style="line-height:0.9">@Localizer["ExpectedInputQuantity"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>
@ -155,8 +157,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12 "> <div class="layui-col-md12 ">
<div style="color: #000000;margin:10% 0;"> <div style="color: #000000;margin:10% 0 0 0;">
<p>實際投入數量</p> <p style="line-height:0.9">@Localizer["ActualInputQuantity"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>
@ -171,8 +173,8 @@
<div class="layui-col-md4"> <div class="layui-col-md4">
<div class="layui-row Col"> <div class="layui-row Col">
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="grid-demo" style="color: #000000;margin:10% 0;"> <div class="grid-demo" style="color: #000000;margin:10% 0 0 0;">
<p>生產效率</p> <p style="line-height:0.9">@Localizer["ProductionEfficiency"]</p>
<div class="Link-bottom"></div> <div class="Link-bottom"></div>
</div> </div>
</div> </div>

Loading…
Cancel
Save