Beispiel #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(293, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
            if (Model.listPurchaseDetailListViewModel != null && Model.listPurchaseDetailListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/PurchaseDetailList/Default.cshtml】中顯示[目前進貨清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(521, 669, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>商品名稱</th>
                    <th>尺寸</th>
                    <th>顏色</th>
                    <th>進價</th>
                    <th>數量</th>
                    <th>商品費用</th>
                    <th>運費</th>
                    <th>雜費</th>
                    <th>進貨總額</th>
                    <th>進貨總額(NT$)</th>
                    <th>商品進貨均價(NT$))</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                foreach (PurchaseDetailListViewModel MLVM in Model.listPurchaseDetailListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1341, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1396, 12, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(MLVM.Product);

#line default
#line hidden
                    EndContext();
                    BeginContext(1408, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1444, 16, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(MLVM.ProductSize);

#line default
#line hidden
                    EndContext();
                    BeginContext(1460, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1496, 17, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(MLVM.ProductColor);

#line default
#line hidden
                    EndContext();
                    BeginContext(1513, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1549, 45, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.PurchasePrice));

#line default
#line hidden
                    EndContext();
                    BeginContext(1594, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1630, 13, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(MLVM.Quantity);

#line default
#line hidden
                    EndContext();
                    BeginContext(1643, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1679, 42, false);
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.ProductFee));

#line default
#line hidden
                    EndContext();
                    BeginContext(1721, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1757, 39, false);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.Freight));

#line default
#line hidden
                    EndContext();
                    BeginContext(1796, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1832, 45, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.miscellaneous));

#line default
#line hidden
                    EndContext();
                    BeginContext(1877, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1913, 44, false);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.TotalExpense));

#line default
#line hidden
                    EndContext();
                    BeginContext(1957, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1993, 46, false);
#line 43 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.TotalExpenseNT));

#line default
#line hidden
                    EndContext();
                    BeginContext(2039, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(2075, 52, false);
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.PurchasePriceTotalNT));

#line default
#line hidden
                    EndContext();
                    BeginContext(2127, 34, true);
                    WriteLiteral("</td>\r\n                    </tr>\r\n");
                    EndContext();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2180, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 50 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/PurchaseDetailList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2321, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2340, 305, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e08a3f23d3b446768244618980c60aa1", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                WriteLiteral(Url.Action("GetPurchaseDetailListNoButton", "Purchase"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2645, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(2671, 21, true);
                WriteLiteral("    <h3>沒有進貨明細</h3>\r\n");
                EndContext();
#line 58 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailListNoButton\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"

            List <int> tR  = ViewBag.TR;
            int        ret = 0;

#line default
#line hidden
            BeginContext(109, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
            if (Model.listMemberListViewModel != null && Model.listMemberListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/MemberList/Default.cshtml】中顯示[目前會員分類清單] (含停權與準批發與批發,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(434, 599, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class="" table table-sm table-nowrap card-table"">

            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>會員手機</th>
                    <th>會員姓名</th>
                    <th>會員等級</th>
                    <th>紅利點數</th>
                    <th>累積點數</th>
                    <th>推薦人手機</th>
                    <th>停權狀態</th>
                    <th>入會日期</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
               
");
                EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                foreach (MemberViewModel MLVM in Model.listMemberListViewModel)
                {
                    DateTime dt = (DateTime)MLVM.Duedate;

#line default
#line hidden
                    BeginContext(1215, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1270, 17, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(MLVM.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1287, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1323, 15, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(MLVM.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1338, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1374, 16, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(MLVM.MemberLevel);

#line default
#line hidden
                    EndContext();
                    BeginContext(1390, 62, true);
                    WriteLiteral("</td>\r\n                        <td><input type=\"text\" size=\"6\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\'", 1452, "\'", 1471, 1);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 1460, MLVM.Bonus, 1460, 11, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("id", " id=\'", 1472, "\'", 1501, 2);
                    WriteAttributeValue("", 1477, "bonus_", 1477, 6, true);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 1483, MLVM.MemberMobile, 1483, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("name", " name=\'", 1502, "\'", 1533, 2);
                    WriteAttributeValue("", 1509, "bonus_", 1509, 6, true);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 1515, MLVM.MemberMobile, 1515, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1534, 66, true);
                    WriteLiteral(" style=\'text-align:right;\' /><input type=\"text\" size=\"20\" value=\'\'");
                    EndContext();
                    BeginWriteAttribute("id", " id=\'", 1600, "\'", 1628, 2);
                    WriteAttributeValue("", 1605, "memo_", 1605, 5, true);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 1610, MLVM.MemberMobile, 1610, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("name", " name=\'", 1629, "\'", 1659, 2);
                    WriteAttributeValue("", 1636, "memo_", 1636, 5, true);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 1641, MLVM.MemberMobile, 1641, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1660, 312, true);
                    WriteLiteral(@" placeholder=""請輸入變更原因..."" /> <a class=""btn btn-default btn-success"" role=""button""><span class=""glyphicon glyphicon-usd"" aria-hidden=""true"" title=""變更點數""></span></a></td>
                        
                        <td>
                         
                        </td>
                        <td>");
                    EndContext();
                    BeginContext(1973, 19, false);
#line 43 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(MLVM.ReferrerMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1992, 7, true);
                    WriteLiteral("</td>\r\n");
                    EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    if (MLVM.Enabled == 0)
                    {
#line default
#line hidden
                        BeginContext(2075, 42, true);
                        WriteLiteral("                            <td>停權中</td>\r\n");
                        EndContext();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(2201, 42, true);
                        WriteLiteral("                            <td>使用中</td>\r\n");
                        EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2270, 24, true);
                    WriteLiteral("                        ");
                    EndContext();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    ret++;

#line default
#line hidden
                    BeginContext(2306, 30, true);
                    WriteLiteral("\r\n                        <td>");
                    EndContext();
                    BeginContext(2337, 21, false);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(dt.ToLongDateString());

#line default
#line hidden
                    EndContext();
                    BeginContext(2358, 37, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n");
                    EndContext();
#line 56 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    if (tR.Contains(15))
                    {
#line default
#line hidden
#line 59 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        if (MLVM.Enabled == 1)
                        {
#line default
#line hidden
                            BeginContext(2571, 173, true);
                            WriteLiteral("                                    <a class=\"btn btn-default btn-enabled\" role=\"button\"><span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\" title=\"停權\"></span></a>\r\n");
                            EndContext();
#line 62 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        }
                        else
                        {
#line default
#line hidden
                            BeginContext(2852, 169, true);
                            WriteLiteral("                                    <a class=\"btn btn-default btn-enabled\" role=\"button\"><span class=\"glyphicon glyphicon-ok\" aria-hidden=\"true\" title=\"復權\"></span></a>\r\n");
                            EndContext();
#line 66 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        }

#line default
#line hidden
#line 66 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3087, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 69 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    if (tR.Contains(17))
                    {
#line default
#line hidden
                        BeginContext(3171, 164, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-bonus\" role=\"button\"><span class=\"glyphicon glyphicon-usd\" aria-hidden=\"true\" title=\"點數\"></span></a>\r\n");
                        EndContext();
#line 72 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        //20181212更新 ---棋
                        if (MLVM.MemberLevelId == 2)
                        {
#line default
#line hidden
                            BeginContext(3483, 176, true);
                            WriteLiteral("                                    <a class=\"btn btn-default btn-vip\" role=\"button\"><span class=\"glyphicon glyphicon-arrow-up\" aria-hidden=\"true\" title=\"升級為批發會員\"></span></a>\r\n");
                            EndContext();
#line 76 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        }
                    }

#line default
#line hidden
                    BeginContext(3725, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
#line 78 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    if (MLVM.PictureContent != null)
                    {
                        //20181213 ---棋
                        //暫時不另外設定權限

#line default
#line hidden
                        BeginContext(3913, 112, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-MemberMobileImg\" role=\"button\" data-MemberMobile=\"");
                        EndContext();
                        BeginContext(4026, 17, false);
#line 82 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                        Write(MLVM.MemberMobile);

#line default
#line hidden
                        EndContext();
                        BeginContext(4043, 88, true);
                        WriteLiteral("\"><span class=\"glyphicon glyphicon-list-alt\" aria-hidden=\"true\" title=\"資料\"></span></a>\r\n");
                        EndContext();
#line 83 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(4162, 95, true);
                    WriteLiteral("                            <!-- Modal -->\r\n                            <div class=\"modal fade\"");
                    EndContext();
                    BeginWriteAttribute("id", " id=\"", 4257, "\"", 4280, 1);
#line 85 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 4262, MLVM.MemberMobile, 4262, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(4281, 612, true);
                    WriteLiteral(@" tabindex=""-1"" role=""dialog"" aria-labelledby=""exampleModalLabel"" aria-hidden=""false"">
                                <div class=""modal-dialog "" role=""document"" style=""max-width: 1000px !important;"">
                                    <div class=""modal-content"">
                                        <div class=""modal-header"">
                                            <h5 class=""modal-title"" id=""exampleModalLabel"">範例</h5>
                                        </div>
                                        <div class=""modal-body"">
                                            <img id=""imgMember""");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 4893, "\"", 4986, 1);
#line 92 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    WriteAttributeValue("", 4899, Url.Action("GetCagegoryImage", "VipMember", new { MemberMobile = @MLVM.MemberMobile }), 4899, 87, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(4987, 666, true);
                    WriteLiteral(@" style=""margin:0px auto; width:100%"" />
                                        </div>
                                        <div class=""modal-footer"">
                                            <button type=""button"" class=""btn btn-primary ml-auto p-2"" data-dismiss=""modal"" aria-label=""Close"">
                                                <span aria-hidden=""true"">關閉</span>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
");
                    EndContext();
#line 104 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(5672, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 108 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"

                // 9-10.系統在View【Views/Shared/Components/MemberList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(5807, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(5826, 287, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e838e6a48a58489bbf4126c6d75c5e3a", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                WriteLiteral(Url.Action("GetMemberList", "Member"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 111 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6113, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
                BeginContext(6129, 389, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color: black;background-color:powderblue;"">

                    <th>會員帳號</th>
                    <th>會員姓名</th>
                    <th>會員點數</th>
                    <th>#</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 126 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                foreach (var i in Model.listMemberBonusListViewModel)
                {
#line default
#line hidden
                    BeginContext(6609, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(6664, 14, false);
#line 129 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(i.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(6678, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(6714, 12, false);
#line 130 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(i.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(6726, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(6762, 13, false);
#line 131 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                    Write(i.MemberBonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(6775, 246, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default \" role=\"button\"><span class=\"glyphicon glyphicon-usd\" aria-hidden=\"true\" title=\"點數\"></span></a>\r\n                        </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 136 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(7040, 54, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>  \r\n");
                EndContext();
#line 140 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listMemberListViewModel!=null and Count>0)。
                //  9-8a-1.回10。

#line default
#line hidden
                BeginContext(7205, 26, true);
                WriteLiteral("< h3 > 沒有符合條件之會員 </ h3 >\r\n");
                EndContext();
#line 147 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberList\Default.cshtml"
            }

#line default
#line hidden
            BeginContext(7234, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
Beispiel #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(293, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
            if (Model.listPurchaseDetailListViewModel != null && Model.listPurchaseDetailListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/PurchaseDetailList/Default.cshtml】中顯示[目前進貨清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(521, 700, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>商品名稱</th>
                    <th>尺寸</th>
                    <th>顏色</th>
                    <th>進價</th>
                    <th>數量</th>
                    <th>商品費用</th>
                    <th>運費</th>
                    <th>雜費</th>
                    <th>進貨總額</th>
                    <th>進貨總額(NT$)</th>
                    <th>商品進貨均價(NT$))</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 31 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                foreach (PurchaseDetailListViewModel MLVM in Model.listPurchaseDetailListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1372, 46, true);
                    WriteLiteral("                <tr>\r\n                    <td>");
                    EndContext();
                    BeginContext(1419, 12, false);
#line 35 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.Product);

#line default
#line hidden
                    EndContext();
                    BeginContext(1431, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1463, 16, false);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.ProductSize);

#line default
#line hidden
                    EndContext();
                    BeginContext(1479, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1511, 17, false);
#line 37 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.ProductColor);

#line default
#line hidden
                    EndContext();
                    BeginContext(1528, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1560, 45, false);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.PurchasePrice));

#line default
#line hidden
                    EndContext();
                    BeginContext(1605, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1637, 13, false);
#line 39 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.Quantity);

#line default
#line hidden
                    EndContext();
                    BeginContext(1650, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1682, 42, false);
#line 40 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.ProductFee));

#line default
#line hidden
                    EndContext();
                    BeginContext(1724, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1756, 39, false);
#line 41 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.Freight));

#line default
#line hidden
                    EndContext();
                    BeginContext(1795, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1827, 45, false);
#line 42 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.miscellaneous));

#line default
#line hidden
                    EndContext();
                    BeginContext(1872, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1904, 44, false);
#line 43 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.TotalExpense));

#line default
#line hidden
                    EndContext();
                    BeginContext(1948, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1980, 46, false);
#line 44 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.TotalExpenseNT));

#line default
#line hidden
                    EndContext();
                    BeginContext(2026, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(2058, 52, false);
#line 45 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(String.Format("{0:0.00}", MLVM.PurchasePriceTotalNT));

#line default
#line hidden
                    EndContext();
                    BeginContext(2110, 33, true);
                    WriteLiteral("</td>\r\n                    <td>\r\n");
                    EndContext();
                    BeginContext(2394, 106, true);
                    WriteLiteral("                        <a class=\"btn btn-default btn-delete-detaill\" role=\"button\" data-purchasedetaiid=\"");
                    EndContext();
                    BeginContext(2501, 21, false);
#line 48 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.PurchaseDetailId);

#line default
#line hidden
                    EndContext();
                    BeginContext(2522, 19, true);
                    WriteLiteral("\" data-purchaseid=\"");
                    EndContext();
                    BeginContext(2542, 15, false);
#line 48 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                    Write(MLVM.PurchaseId);

#line default
#line hidden
                    EndContext();
                    BeginContext(2557, 135, true);
                    WriteLiteral("\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\" title=\"刪除\"></span></a>\r\n                    </td>\r\n                </tr>\r\n");
                    EndContext();
#line 51 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2711, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/PurchaseDetailList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2852, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2871, 297, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5654968a7b6b4b389bcff14ba0b81150", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                WriteLiteral(Url.Action("GetPurchaseDetailList", "Purchase"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3168, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 59 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(3194, 21, true);
                WriteLiteral("    <h3>沒有進貨明細</h3>\r\n");
                EndContext();
#line 63 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\PurchaseDetailList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(276, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(368, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 11 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
            if (Model.listEmployeeMonthSalaryViewModel != null && Model.listEmployeeMonthSalaryViewModel.Count > 0)
            {
                // if9.系統在View【Views/Shared/Components/OrderList/Default.cshtml】中顯示[銷貨單清單]。

#line default
#line hidden
                BeginContext(560, 482, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>月份</th>
                    <th>員工代碼</th>
                    <th>員工姓名</th>
                    <th>部門</th>
                    <th>性別</th>
                    <th>薪資</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                foreach (var o in @Model.listEmployeeMonthSalaryViewModel)
                {
#line default
#line hidden
                    BeginContext(1138, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1193, 33, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.Month.ToString().Substring(0, 6));

#line default
#line hidden
                    EndContext();
                    BeginContext(1226, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1262, 16, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.EmployeeMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1278, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1314, 14, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.EmployeeName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1328, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1364, 12, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.Department);

#line default
#line hidden
                    EndContext();
                    BeginContext(1376, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1412, 5, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.sex);

#line default
#line hidden
                    EndContext();
                    BeginContext(1417, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1453, 8, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.Salary);

#line default
#line hidden
                    EndContext();
                    BeginContext(1461, 123, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default btn-SalaryAdd\" data-BaseSalary=\"");
                    EndContext();
                    BeginContext(1585, 12, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.BaseSalary);

#line default
#line hidden
                    EndContext();
                    BeginContext(1597, 15, true);
                    WriteLiteral("\" data-Mobile=\"");
                    EndContext();
                    BeginContext(1613, 16, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.EmployeeMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1629, 14, true);
                    WriteLiteral("\" data-Month=\"");
                    EndContext();
                    BeginContext(1644, 7, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.Month);

#line default
#line hidden
                    EndContext();
                    BeginContext(1651, 16, true);
                    WriteLiteral("\" data-Account=\"");
                    EndContext();
                    BeginContext(1668, 11, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    Write(o.IsAccount);

#line default
#line hidden
                    EndContext();
                    BeginContext(1679, 104, true);
                    WriteLiteral("\" role=\"button\" title=\"新增 /修改\"><span class=\"glyphicon glyphicon-pencil\" aria-hidden=\"true\"></span></a>\r\n");
                    EndContext();
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    if (o.IsAccount == 0)
                    {
#line default
#line hidden
                        BeginContext(1866, 93, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-SalaryDelete\" data-BaseSalary=\"");
                        EndContext();
                        BeginContext(1960, 12, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                        Write(o.BaseSalary);

#line default
#line hidden
                        EndContext();
                        BeginContext(1972, 14, true);
                        WriteLiteral("\" data-Month=\"");
                        EndContext();
                        BeginContext(1987, 7, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                        Write(o.Month);

#line default
#line hidden
                        EndContext();
                        BeginContext(1994, 15, true);
                        WriteLiteral("\" data-Mobile=\"");
                        EndContext();
                        BeginContext(2010, 16, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                        Write(o.EmployeeMobile);

#line default
#line hidden
                        EndContext();
                        BeginContext(2026, 99, true);
                        WriteLiteral("\" role=\"button\" title=\"刪除\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2156, 58, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 45 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2233, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/OrderList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2365, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2384, 249, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d90f2d4048fa498f8e9cf24cf052a0d0", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.Url = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                BeginWriteTagHelperAttribute();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2633, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listOrderListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2727, 23, true);
                WriteLiteral("    <h3>沒有員工薪資管理</h3>\r\n");
                EndContext();
#line 58 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeMonthSalary\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(298, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
            if (Model.listReplyMessageManagementDataListviewModel != null && Model.listReplyMessageManagementDataListviewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/OrderDetailListNoButton/Default.cshtml】中顯示[目前銷貨清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(555, 490, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>項次</th>
                    <th>回覆者</th>
                    <th>回復時間</th>
                    <th>回覆者手機</th>
                    <th>回覆內容</th>
                    <th>#</th>
                </tr>
            </thead>
            <tbody>

");
                EndContext();
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                foreach (var o in Model.listReplyMessageManagementDataListviewModel)
                {
#line default
#line hidden
                    BeginContext(1151, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1206, 16, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    Write(o.ReplyMessageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1222, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1258, 15, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    Write(o.ReplyNickName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1273, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1309, 18, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    Write(o.ReplyMessageTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1327, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1363, 13, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    Write(o.ReplyMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1376, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1412, 19, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    Write(o.ReplyMessageValue);

#line default
#line hidden
                    EndContext();
                    BeginContext(1431, 222, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default btn-DeleteReplyMessageManagement\" role=\"button\" title=\"刪除\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\"></span></a>\r\n");
                    EndContext();
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    if (@o.ReplyMobile != "0911111111")
                    {
#line default
#line hidden
                        BeginContext(1750, 185, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-UpdateMemberEnabledData\" role=\"button\" title=\"停權\"><span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1966, 58, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2043, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/OrderDetailListNoButton/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2189, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2208, 299, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d295fafec854eebb3fff36b5a540218", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                WriteLiteral(Url.Action("GetOrderDetailListNoButton", "Order"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2507, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 50 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(2533, 22, true);
                WriteLiteral("    <h3>沒有回覆的留言</h3>\r\n");
                EndContext();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagementData\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"

            List <int> tR = ViewBag.TR;

#line default
#line hidden
            BeginContext(212, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
            if (Model.listAccountingListViewModel != null && Model.listAccountingListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/AccountingList/Default.cshtml】中顯示[目前會計科目清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(430, 383, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>科目代碼</th>
                    <th>科目名稱</th>
                    <th>說明</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 21 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                foreach (AccountingListViewModel MLVM in Model.listAccountingListViewModel)
                {
#line default
#line hidden
                    BeginContext(926, 23, true);
                    WriteLiteral("                    <tr");
                    EndContext();
                    BeginWriteAttribute("id", " id=\"", 949, "\"", 972, 1);
#line 23 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                    WriteAttributeValue("", 954, MLVM.AccountingId, 954, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(973, 31, true);
                    WriteLiteral(">\r\n                        <td>");
                    EndContext();
                    BeginContext(1005, 17, false);
#line 24 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                    Write(MLVM.AccountingId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1022, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1058, 22, false);
#line 25 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                    Write(MLVM.AccountingSubject);

#line default
#line hidden
                    EndContext();
                    BeginContext(1080, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1116, 26, false);
#line 26 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                    Write(MLVM.AccountingDescription);

#line default
#line hidden
                    EndContext();
                    BeginContext(1142, 420, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-edit"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                            <a class=""btn btn-default btn-delete"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                        </td>
                    </tr>
");
                    EndContext();
#line 32 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1581, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/AccountingList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1718, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1737, 295, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b732f116959c43c292af0b96badbe84d", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                WriteLiteral(Url.Action("GetAccountingList", "Accounting"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2032, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 40 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listAccountingListViewModel!=null and Count>0)。
                //  9-8a-1.回10。

#line default
#line hidden
                BeginContext(2152, 26, true);
                WriteLiteral("    <h3>沒有符合條件之會計科目</h3>\r\n");
                EndContext();
#line 46 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\AccountingList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(275, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
            if (Model.listEmployeeListViewModel != null && Model.listEmployeeListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示[目前部門員工清單] (含修改與刪除與權限,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(490, 183, true);
                WriteLiteral("    <div class=\"container container-fluid\">\r\n        <table class=\"table table-bordered\">\r\n            <thead>\r\n                <tr style=\"color:gainsboro;background-color:#000000\">\r\n");
                EndContext();
                BeginContext(709, 408, true);
                WriteLiteral(@"                    <th>員工手機</th>
                    <th>員工姓名</th>
                    <th>性別</th>
                    <th>生日</th>
                    <th>到職日</th>
                    <th>繴急聯絡人</th>
                    <th>繴急聯絡電話</th>
                    <th>職務名稱</th>
                    <th>本薪</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 30 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                foreach (EmployeeListViewModel MLVM in Model.listEmployeeListViewModel)
                {
                    DateTime dt  = (DateTime)MLVM.Duedate;
                    DateTime dtb = (DateTime)MLVM.Birthday;
                    id += 1;

#line default
#line hidden
                    BeginContext(1376, 26, true);
                    WriteLiteral("                    <tr>\r\n");
                    EndContext();
                    BeginContext(1444, 28, true);
                    WriteLiteral("                        <td>");
                    EndContext();
                    BeginContext(1473, 19, false);
#line 37 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.EmployeeMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1492, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1528, 17, false);
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.EmployeeName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1545, 7, true);
                    WriteLiteral("</td>\r\n");
                    EndContext();
#line 39 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    if (MLVM.sex == 0)
                    {
#line default
#line hidden
                        BeginContext(1624, 41, true);
                        WriteLiteral("                            <td>女性</td>\r\n");
                        EndContext();
#line 42 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1749, 41, true);
                        WriteLiteral("                            <td>男性</td>\r\n");
                        EndContext();
#line 46 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1817, 24, true);
                    WriteLiteral("                        ");
                    EndContext();
                    BeginContext(1869, 30, true);
                    WriteLiteral("\r\n                        <td>");
                    EndContext();
                    BeginContext(1900, 22, false);
#line 48 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(dtb.ToLongDateString());

#line default
#line hidden
                    EndContext();
                    BeginContext(1922, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1958, 21, false);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(dt.ToLongDateString());

#line default
#line hidden
                    EndContext();
                    BeginContext(1979, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(2015, 21, false);
#line 50 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.EmergencyContact);

#line default
#line hidden
                    EndContext();
                    BeginContext(2036, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(2072, 26, false);
#line 51 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.EmergencyContactPhone);

#line default
#line hidden
                    EndContext();
                    BeginContext(2098, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(2134, 13, false);
#line 52 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.Position);

#line default
#line hidden
                    EndContext();
                    BeginContext(2147, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(2183, 15, false);
#line 53 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.BaseSalary);

#line default
#line hidden
                    EndContext();
                    BeginContext(2198, 176, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default btn-edit-Employee\" role=\"button\" title=\"修改\"\r\n                               data-id=\"");
                    EndContext();
                    BeginContext(2375, 7, false);
#line 56 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.ID);

#line default
#line hidden
                    EndContext();
                    BeginContext(2382, 21, true);
                    WriteLiteral("\" data-contactphone=\"");
                    EndContext();
                    BeginContext(2404, 17, false);
#line 56 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.ContactPhone);

#line default
#line hidden
                    EndContext();
                    BeginContext(2421, 23, true);
                    WriteLiteral("\" data-contactaddress=\"");
                    EndContext();
                    BeginContext(2445, 19, false);
#line 56 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.ContactAddress);

#line default
#line hidden
                    EndContext();
                    BeginContext(2464, 46, true);
                    WriteLiteral("\"\r\n                               data-email=\"");
                    EndContext();
                    BeginContext(2511, 10, false);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.eMail);

#line default
#line hidden
                    EndContext();
                    BeginContext(2521, 15, true);
                    WriteLiteral("\" data-lineid=\"");
                    EndContext();
                    BeginContext(2537, 11, false);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.LineId);

#line default
#line hidden
                    EndContext();
                    BeginContext(2548, 12, true);
                    WriteLiteral("\" data-sex=\"");
                    EndContext();
                    BeginContext(2561, 8, false);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.sex);

#line default
#line hidden
                    EndContext();
                    BeginContext(2569, 19, true);
                    WriteLiteral("\" data-positionid=\"");
                    EndContext();
                    BeginContext(2589, 15, false);
#line 57 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    Write(MLVM.PositionId);

#line default
#line hidden
                    EndContext();
                    BeginContext(2604, 554, true);
                    WriteLiteral(@""">
                                <span class=""glyphicon glyphicon-pencil"" aria-hidden=""true""></span>
                            </a>
                            <a class=""btn btn-default btn-delete-Employee"" role=""button"" title=""刪除""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-employee-position"" role=""button"" title=""更換職務""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span><span class=""glyphicon glyphicon-user"" aria-hidden=""true""></span></a>
");
                    EndContext();
#line 62 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    if (tR.Contains(6))
                    {
#line default
#line hidden
                        BeginContext(3239, 190, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-employee-right\" role=\"button\" title=\"員工權限\"><span class=\"glyphicon glyphicon-object-align-right\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 65 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3460, 89, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n                    <tr></tr>\r\n");
                    EndContext();
#line 69 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(3568, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 73 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(3703, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(3722, 291, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ee37cbd9bd4a40aeabb17f67b6e990e9", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                WriteLiteral(Url.Action("GetEmployeeList", "Employee"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 75 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4013, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 77 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listEmployeeListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(4110, 19, true);
                WriteLiteral("    <h3>沒有員工</h3>\r\n");
                EndContext();
#line 82 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\EmployeeList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(276, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
            if (Model.listPositionListViewModel != null && Model.listPositionListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/PositionList/Default.cshtml】中顯示[目前職務職務清單] (含修改與刪除與新員工,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(492, 183, true);
                WriteLiteral("    <div class=\"container container-fluid\">\r\n        <table class=\"table table-bordered\">\r\n            <thead>\r\n                <tr style=\"color:gainsboro;background-color:#000000\">\r\n");
                EndContext();
                BeginContext(711, 202, true);
                WriteLiteral("                    <th>職務代碼</th>\r\n                    <th>職務名稱</th>\r\n                    <th>職務描述</th>\r\n                    <th></th>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n");
                EndContext();
#line 24 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                foreach (PositionListViewModel MLVM in Model.listPositionListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1052, 26, true);
                    WriteLiteral("                    <tr>\r\n");
                    EndContext();
                    BeginContext(1120, 28, true);
                    WriteLiteral("                        <td>");
                    EndContext();
                    BeginContext(1149, 15, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                    Write(MLVM.PositionId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1164, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1200, 13, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                    Write(MLVM.Position);

#line default
#line hidden
                    EndContext();
                    BeginContext(1213, 7, true);
                    WriteLiteral("</td>\r\n");
                    EndContext();
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                    if (MLVM.PositionDescription == null)
                    {
#line default
#line hidden
                        BeginContext(1311, 39, true);
                        WriteLiteral("                            <td></td>\r\n");
                        EndContext();
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1434, 32, true);
                        WriteLiteral("                            <td>");
                        EndContext();
                        BeginContext(1467, 58, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                        Write(Html.Raw(MLVM.PositionDescription.Replace("\n", "<br />")));

#line default
#line hidden
                        EndContext();
                        BeginContext(1525, 7, true);
                        WriteLiteral("</td>\r\n");
                        EndContext();
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1559, 860, true);
                    WriteLiteral(@"                        <td>
                            <a class=""btn btn-default btn-edit-position"" role=""button"" title=""修改""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-delete-position"" role=""button"" title=""刪除""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-new-employee"" role=""button"" title=""新員工""><span class=""glyphicon glyphicon-plus"" aria-hidden=""true""></span><span class=""glyphicon glyphicon-user"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-employee"" role=""button"" title=""員工""><span class=""glyphicon glyphicon-user"" aria-hidden=""true""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2438, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/PositionList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2573, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2592, 291, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a56757a9d584f65be12d94b79b167d3", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                WriteLiteral(Url.Action("GetPositionList", "Employee"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2883, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listPositionListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2980, 20, true);
                WriteLiteral("    <h3>沒有子職務</h3>\r\n");
                EndContext();
#line 60 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PositionList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(273, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
            if (Model.listLedgerListViewModel != null && Model.listLedgerListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示[目前部門員工清單] (含修改與刪除與權限,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(484, 449, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>日期</th>
                    <th>科目名稱</th>
                    <th>單據號碼</th>
                    <th>說明</th>
                    <th>金額</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 25 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                foreach (var o in Model.listLedgerListViewModel)
                {
#line default
#line hidden
                    BeginContext(1019, 46, true);
                    WriteLiteral("                <tr>\r\n                    <td>");
                    EndContext();
                    BeginContext(1066, 34, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.Month.ToString().Substring(0, 6));

#line default
#line hidden
                    EndContext();
                    BeginContext(1100, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1132, 19, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.AccountingSubject);

#line default
#line hidden
                    EndContext();
                    BeginContext(1151, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1183, 11, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.InvoiceId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1194, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1226, 19, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.LedgerDescription);

#line default
#line hidden
                    EndContext();
                    BeginContext(1245, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1277, 7, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.Money);

#line default
#line hidden
                    EndContext();
                    BeginContext(1284, 53, true);
                    WriteLiteral("</td>\r\n                    <td style=\"display:none;\">");
                    EndContext();
                    BeginContext(1338, 10, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.LedgerId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1348, 53, true);
                    WriteLiteral("</td>\r\n                    <td style=\"display:none;\">");
                    EndContext();
                    BeginContext(1402, 14, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.AccountingId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1416, 378, true);
                    WriteLiteral(@"</td>
                    <td>
                        <a class=""btn btn-default btn-edit-AccountingId"" role=""button"" title=""修改""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span><span class=""glyphicon glyphicon-user"" aria-hidden=""true""></span></a>
                        <a class=""btn btn-default btn-delete-AccountingId"" role=""button"" data-AccountingId=""");
                    EndContext();
                    BeginContext(1795, 14, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.AccountingId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1809, 17, true);
                    WriteLiteral("\" data-LedgerId=\"");
                    EndContext();
                    BeginContext(1827, 10, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                    Write(o.LedgerId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1837, 135, true);
                    WriteLiteral("\" title=\"刪除\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\"></span></a>\r\n                    </td>\r\n                </tr>\r\n");
                    EndContext();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1991, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2126, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2145, 243, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "08e64cf1647946c2a8a094cff3ada79d", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2388, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listEmployeeListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2485, 22, true);
                WriteLiteral("    <h3>沒有分類帳管理</h3>\r\n");
                EndContext();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\GetLedgerList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(424, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
            if (Model.listEmployeeDevelopmentBonusDetailList != null && Model.listEmployeeDevelopmentBonusDetailList.Count > 0)
            {
                //9-9.系統在View【Views/Shared/Components/MemberBonusDetailList/Default.cshtml】中顯示[批發會員獎金清單]。

#line default
#line hidden
                BeginContext(644, 386, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>會員手機</th>
                    <th>會員姓名</th>
                    <th>日期</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 23 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                foreach (var o in Model.listEmployeeDevelopmentBonusDetailList)
                {
#line default
#line hidden
                    BeginContext(1131, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <th>");
                    EndContext();
                    BeginContext(1186, 14, false);
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1200, 35, true);
                    WriteLiteral("</th>\r\n                        <th>");
                    EndContext();
                    BeginContext(1236, 12, false);
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                    Write(o.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1248, 35, true);
                    WriteLiteral("</th>\r\n                        <th>");
                    EndContext();
                    BeginContext(1284, 9, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                    Write(o.VipDate);

#line default
#line hidden
                    EndContext();
                    BeginContext(1293, 34, true);
                    WriteLiteral("</th>\r\n                    </tr>\r\n");
                    EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1346, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                //9-10.系統在View【Views/Shared/Components/MemberBonusDetailList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1489, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1508, 244, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c61083ed963e41458e68ef17eeb74b80", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1752, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(1778, 23, true);
                WriteLiteral("    <h3>沒有會員發展獎金</h3>\r\n");
                EndContext();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusDetailList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #11
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = Model.id;

#line default
#line hidden
            BeginContext(283, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
            if (Model.listMemberBonusChangeRecordListViewModel != null && Model.listMemberBonusChangeRecordListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示[目前部門員工清單] (含修改與刪除與權限,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(528, 523, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>項次</th>
                    <th>會員手機</th>
                    <th>異動時間</th>
                    <th>異動類型</th>
                    <th>異動前</th>
                    <th>異動數量</th>
                    <th>異動後</th>
                    <th>執行</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 27 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                foreach (var o in Model.listMemberBonusChangeRecordListViewModel)
                {
#line default
#line hidden
                    BeginContext(1154, 46, true);
                    WriteLiteral("                <tr>\r\n                    <td>");
                    EndContext();
                    BeginContext(1201, 10, false);
#line 30 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.RecordId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1211, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1243, 14, false);
#line 31 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1257, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1289, 48, false);
#line 32 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.ChangeTime.ToString("yyyy/MM/dd hh:mm:ss:fff"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1337, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1369, 7, false);
#line 33 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.Event);

#line default
#line hidden
                    EndContext();
                    BeginContext(1376, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1408, 13, false);
#line 34 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.BeforeBonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1421, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(1453, 13, false);
#line 35 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.ChangeBonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1466, 58, true);
                    WriteLiteral("</td>\r\n                    <td>\r\n                         ");
                    EndContext();
                    BeginContext(1525, 12, false);
#line 37 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    Write(o.AfterBonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1537, 55, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n");
                    EndContext();
#line 40 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    if (o.Event == "點數提領")
                    {
#line default
#line hidden
                        BeginContext(1668, 331, true);
                        WriteLiteral(@"                            <a class=""btn btn-default btn-success"" role=""button""><span class=""glyphicon glyphicon-usd"" aria-hidden=""true"" title=""確認撥款""></span></a>
                            <a class=""btn btn-default btn-danger"" role=""button""><span class=""glyphicon glyphicon-bitcoin"" aria-hidden=""true"" title=""銀行帳號""></span></a>
");
                        EndContext();
#line 44 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2026, 50, true);
                    WriteLiteral("                    </td>\r\n                </tr>\r\n");
                    EndContext();
#line 47 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                    id += 1;
                }

#line default
#line hidden
                BeginContext(2125, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 52 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                // if10.系統在View【Views/Shared/Components/EmployeeList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2260, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2279, 242, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "97b93306b69b49ec8dba80d57b77786a", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2521, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 56 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listEmployeeListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2618, 23, true);
                WriteLiteral("    <h3>沒有會員點數異動</h3>\r\n");
                EndContext();
#line 61 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusChangeRecord\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"

            List <int> tR = ViewBag.TR;

#line default
#line hidden
            BeginContext(215, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
            if (Model.listSalaryClassListViewModel != null && Model.listSalaryClassListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/SalaryClassList/Default.cshtml】中顯示[目前薪資類別清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(436, 418, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>類別代碼</th>
                    <th>類別名稱</th>
                    <th>類別薪資</th>
                    <th>說明</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 22 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                foreach (SalaryClassListViewModel MLVM in Model.listSalaryClassListViewModel)
                {
#line default
#line hidden
                    BeginContext(969, 23, true);
                    WriteLiteral("                    <tr");
                    EndContext();
                    BeginWriteAttribute("id", " id=\"", 992, "\"", 1016, 1);
#line 24 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                    WriteAttributeValue("", 997, MLVM.SalaryClassId, 997, 19, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1017, 31, true);
                    WriteLiteral(">\r\n                        <td>");
                    EndContext();
                    BeginContext(1049, 18, false);
#line 25 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                    Write(MLVM.SalaryClassId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1067, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1103, 16, false);
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                    Write(MLVM.SalaryClass);

#line default
#line hidden
                    EndContext();
                    BeginContext(1119, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1155, 16, false);
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                    Write(MLVM.ClassSalary);

#line default
#line hidden
                    EndContext();
                    BeginContext(1171, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1207, 27, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                    Write(MLVM.SalaryClassDescription);

#line default
#line hidden
                    EndContext();
                    BeginContext(1234, 420, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-edit"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                            <a class=""btn btn-default btn-delete"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                        </td>
                    </tr>
");
                    EndContext();
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1673, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/SalaryClassList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1811, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1830, 297, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19cf4f77a0cf4d15880a8fbf3b87ca4c", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                WriteLiteral(Url.Action("GetSalaryClassList", "SalaryClass"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2127, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listSalaryClassListViewModel!=null and Count>0)。
                //  9-8a-1.回10。

#line default
#line hidden
                BeginContext(2248, 26, true);
                WriteLiteral("    <h3>沒有符合條件之薪資類別</h3>\r\n");
                EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\SalaryClassList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(274, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(366, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 11 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
            if (Model.listGetMailCenterMessageListViewModel != null && Model.listGetMailCenterMessageListViewModel.Count > 0)
            {
#line default
#line hidden
                BeginContext(573, 483, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>項次</th>
                    <th>發布時間</th>
                    <th>發布對象</th>
                    <th>主旨</th>
                    <th>內容</th>
                    <th>發布人</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                foreach (var o in @Model.listGetMailCenterMessageListViewModel)
                {
#line default
#line hidden
                    BeginContext(1157, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1212, 11, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MessageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1223, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1259, 13, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MessageTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1272, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1308, 13, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MemberLevel);

#line default
#line hidden
                    EndContext();
                    BeginContext(1321, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1357, 14, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MessageTitle);

#line default
#line hidden
                    EndContext();
                    BeginContext(1371, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1407, 14, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MessageValue);

#line default
#line hidden
                    EndContext();
                    BeginContext(1421, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1457, 16, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.EmployeeMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1473, 127, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default btn-DelMessage\" data-memberlerelid=\"");
                    EndContext();
                    BeginContext(1601, 15, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                    Write(o.MemberLevelid);

#line default
#line hidden
                    EndContext();
                    BeginContext(1616, 157, true);
                    WriteLiteral("\" role=\"button\" title=\"刪除\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\"></span></a>\r\n                        </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1792, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
                BeginContext(1928, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1947, 249, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "97444f0e4f2a4534b2e3812ac676893b", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.Url = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                BeginWriteTagHelperAttribute();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2196, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listOrderListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2290, 19, true);
                WriteLiteral("    <h3>沒有訊息</h3>\r\n");
                EndContext();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageCenterList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #14
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"

            List <int> tR = ViewBag.TR;

#line default
#line hidden
            BeginContext(219, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
            if (Model.listProductCategoryListViewModel != null && Model.listProductCategoryListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views / Shared / Components ProductCategory / Default.cshtml】中顯示[目前商品分類清單](含修改與刪除與商品,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(456, 420, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>分類代碼</th>
                    <th>分類名稱</th>
                    <th>分類圖示</th>
                    <th>分類說明</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 22 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                foreach (ProductCategoryViewModel MLVM in Model.listProductCategoryListViewModel)
                {
#line default
#line hidden
                    BeginContext(995, 19, true);
                    WriteLiteral("                <tr");
                    EndContext();
                    BeginWriteAttribute("id", " id=\"", 1014, "\"", 1042, 1);
#line 24 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    WriteAttributeValue("", 1019, MLVM.ProductCategoryId, 1019, 23, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1043, 27, true);
                    WriteLiteral(">\r\n                    <td>");
                    EndContext();
                    BeginContext(1071, 22, false);
#line 25 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    Write(MLVM.ProductCategoryId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1093, 71, true);
                    WriteLiteral("</td>\r\n                    <td><a href=\"#\" class=\"ProductLevelPathList\"");
                    EndContext();
                    BeginWriteAttribute("title", " title=\"", 1164, "\"", 1195, 1);
#line 26 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    WriteAttributeValue("", 1172, MLVM.ProductCategoryId, 1172, 23, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1196, 1, true);
                    WriteLiteral(">");
                    EndContext();
                    BeginContext(1198, 20, false);
#line 26 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    Write(MLVM.ProductCategory);

#line default
#line hidden
                    EndContext();
                    BeginContext(1218, 56, true);
                    WriteLiteral("</a></td>\r\n                    <td class=\"item-pic\"><img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 1274, "\"", 1374, 1);
#line 27 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    WriteAttributeValue("", 1280, Url.Action("GetCagegoryImage", "Product", new { ProeuctCatagoryId = MLVM.ProductCategoryId }), 1280, 94, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("alt", " alt=\"", 1375, "\"", 1402, 1);
#line 27 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    WriteAttributeValue("", 1381, MLVM.ProductCategory, 1381, 21, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1403, 75, true);
                    WriteLiteral(" class=\"img-responsive\" style=\"max-width:200px;max-height:200px;\" /></td>\r\n");
                    EndContext();
#line 28 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    if (MLVM.ProductCategoryDescription == null)
                    {
#line default
#line hidden
                        BeginContext(1567, 35, true);
                        WriteLiteral("                        <td></td>\r\n");
                        EndContext();
#line 31 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1674, 28, true);
                        WriteLiteral("                        <td>");
                        EndContext();
                        BeginContext(1703, 65, false);
#line 34 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                        Write(Html.Raw(MLVM.ProductCategoryDescription.Replace("\n", "<br />")));

#line default
#line hidden
                        EndContext();
                        BeginContext(1768, 7, true);
                        WriteLiteral("</td>\r\n");
                        EndContext();
#line 35 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1798, 719, true);
                    WriteLiteral(@"                    <td>
                        <a class=""btn btn-default btn-edit"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                        <a class=""btn btn-default btn-delete"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                        <a class=""btn btn-default btn-product"" role=""button""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true"" title=""商品""></span></a>
                        <a class=""btn btn-default btn-addproduct"" role=""button""><span class=""glyphicon glyphicon-plus"" aria-hidden=""true"" title=""新增商品""></span></a>
                    </td>
                </tr>
");
                    EndContext();
#line 43 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2536, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 47 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/ProductCategory/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2674, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2693, 293, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db093d6376dd43a69658ea0cc0837b6f", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                WriteLiteral(Url.Action("GetProductCategory", "Product"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2986, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 51 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(3012, 20, true);
                WriteLiteral("    <h2>沒有子分類</h2>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\ProductCategory\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #15
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"

            List <int> tR = ViewBag.TR;
            int        id = 0;

#line default
#line hidden
            BeginContext(222, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
            if (Model.listStockListViewModel != null && Model.listStockListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/ProductStockList/Default.cshtml】中顯示[目前商品分類清單] (含盤整,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(429, 183, true);
                WriteLiteral("    <div class=\"container container-fluid\">\r\n        <table class=\"table table-bordered\">\r\n            <thead>\r\n                <tr style=\"color:gainsboro;background-color:#000000\">\r\n");
                EndContext();
                BeginContext(648, 374, true);
                WriteLiteral(@"                    <th>盤整代碼</th>
                    <th>盤整日期</th>
                    <th>商品代碼</th>
                    <th>商品名稱</th>
                    <th>尺寸</th>
                    <th>顏色</th>
                    <th>原庫存</th>
                    <th>新庫存</th>
                    <th>盤整量</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                foreach (StockListViewModel MLVM in Model.listStockListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1155, 26, true);
                    WriteLiteral("                    <tr>\r\n");
                    EndContext();
                    BeginContext(1223, 28, true);
                    WriteLiteral("                        <td>");
                    EndContext();
                    BeginContext(1252, 32, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.ProductStockConsolidationId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1284, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1320, 27, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.StockConsolidationTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1347, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1383, 14, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.ProductId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1397, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1433, 12, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.Product);

#line default
#line hidden
                    EndContext();
                    BeginContext(1445, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1481, 16, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.ProductSize);

#line default
#line hidden
                    EndContext();
                    BeginContext(1497, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1533, 17, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.ProductColor);

#line default
#line hidden
                    EndContext();
                    BeginContext(1550, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1586, 10, false);
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.Stock);

#line default
#line hidden
                    EndContext();
                    BeginContext(1596, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1632, 22, false);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.StockConsolidatio);

#line default
#line hidden
                    EndContext();
                    BeginContext(1654, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1690, 18, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                    Write(MLVM.Consolidation);

#line default
#line hidden
                    EndContext();
                    BeginContext(1708, 34, true);
                    WriteLiteral("</td>\r\n                    </tr>\r\n");
                    EndContext();
#line 43 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1761, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/StockList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1893, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1912, 285, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c4537ee0cca04b2498cb29f04b695981", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                WriteLiteral(Url.Action("GetStockList", "Stock"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2197, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listStockListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(2291, 21, true);
                WriteLiteral("    <h3>沒有盤整記錄</h3>\r\n");
                EndContext();
#line 56 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\StockList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #16
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"

            List <int> tR = ViewBag.TR;
            int        id = 0;

#line default
#line hidden
            BeginContext(243, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
            if (Model.listProductImageListViewModel != null && Model.listProductImageListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/ProductImageList/Default.cshtml】中顯示[目前商品分類清單] (含修改與刪除與主圖示,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(471, 414, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>#</th>
                    <th>圖示檔名</th>
                    <th>圖示</th>
                    <th>主圖示</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 23 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                foreach (ProductImageListViewModel MLVM in Model.listProductImageListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1032, 45, true);
                    WriteLiteral("                    <tr data-productimageid=\"");
                    EndContext();
                    BeginContext(1078, 19, false);
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    Write(MLVM.ProductImageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1097, 18, true);
                    WriteLiteral("\" data-productid=\"");
                    EndContext();
                    BeginContext(1116, 14, false);
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    Write(MLVM.ProductId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1130, 32, true);
                    WriteLiteral("\">\r\n                        <td>");
                    EndContext();
                    BeginContext(1163, 2, false);
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    Write(id);

#line default
#line hidden
                    EndContext();
                    BeginContext(1165, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1201, 13, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    Write(MLVM.FileName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1214, 56, true);
                    WriteLiteral("</td>\r\n                        <td class=\"item-pic\"><img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 1270, "\"", 1391, 1);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    WriteAttributeValue("", 1276, Url.Action("GetOneProductImage", "Product", new { ProeuctId = MLVM.ProductId, ProductImageId = MLVM.ProductImageId }), 1276, 115, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("alt", " alt=\"", 1392, "\"", 1412, 1);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    WriteAttributeValue("", 1398, MLVM.FileName, 1398, 14, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1413, 75, true);
                    WriteLiteral(" class=\"img-responsive\" style=\"max-width:200px;max-height:200px;\" /></td>\r\n");
                    EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    if (MLVM.IsMajor)
                    {
#line default
#line hidden
                        BeginContext(1559, 42, true);
                        WriteLiteral("                            <td>yes</td>\r\n");
                        EndContext();
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1685, 41, true);
                        WriteLiteral("                            <td>no</td>\r\n");
                        EndContext();
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1753, 572, true);
                    WriteLiteral(@"                            <td>
                                <a class=""btn btn-default btn-edit-productimage"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                                <a class=""btn btn-default btn-delete-productimage"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                                <a class=""btn btn-default btn-product-majorimage"" role=""button""><span class=""glyphicon glyphicon-star"" aria-hidden=""true"" title=""主圖示""></span></a>
");
                    EndContext();
                    BeginContext(2615, 62, true);
                    WriteLiteral("                            </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2696, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/ProductImageList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2835, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2854, 294, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3265eb2710cf473099a920a2ef540eee", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                WriteLiteral(Url.Action("GetProductImageList", "Product"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3148, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(3174, 21, true);
                WriteLiteral("    <h3>沒有商品圖示</h3>\r\n");
                EndContext();
#line 59 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductImageList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #17
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"

            List <int> tR = ViewBag.TR;
            int        id = 0;

#line default
#line hidden
            BeginContext(230, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
            if (Model.listMallImageListViewModel != null && Model.listMallImageListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/MallImageList/Default.cshtml】中顯示[目前商城行銷圖示清單] (含修改與刪除)。

#line default
#line hidden
                BeginContext(428, 418, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>圖示代碼</th>
                    <th>圖示檔名</th>
                    <th>圖示</th>
                    <th>圖示說明</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 23 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                foreach (MallImageViewModel MLVM in Model.listMallImageListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(983, 42, true);
                    WriteLiteral("                    <tr data-MallImageid=\"");
                    EndContext();
                    BeginContext(1026, 16, false);
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    Write(MLVM.MallImageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1042, 32, true);
                    WriteLiteral("\">\r\n                        <td>");
                    EndContext();
                    BeginContext(1075, 16, false);
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    Write(MLVM.MallImageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1091, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1127, 13, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    Write(MLVM.FileName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1140, 56, true);
                    WriteLiteral("</td>\r\n                        <td class=\"item-pic\"><img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 1196, "\"", 1285, 1);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    WriteAttributeValue("", 1202, Url.Action("GetOneMallImage", "MallImage", new { MallImageId = MLVM.MallImageId }), 1202, 83, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("alt", " alt=\"", 1286, "\"", 1306, 1);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    WriteAttributeValue("", 1292, MLVM.FileName, 1292, 14, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1307, 103, true);
                    WriteLiteral(" class=\"img-responsive\" style=\"max-width:200px;max-height:200px;\" /></td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1411, 59, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                    Write(Html.Raw(MLVM.MallImageDescription.Replace("\n", "<br />")));

#line default
#line hidden
                    EndContext();
                    BeginContext(1470, 420, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-edit"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                            <a class=""btn btn-default btn-delete"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                        </td>
                    </tr>
");
                    EndContext();
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1909, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/MallImageList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2045, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2064, 293, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66bef4abd7f64ed382de5e3ae123bf99", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                WriteLiteral(Url.Action("GetMallImageList", "MallImage"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2357, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(2383, 23, true);
                WriteLiteral("    <h3>沒有商城行銷圖示</h3>\r\n");
                EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MallImageList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #18
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"

            List <int>
                tR   = ViewBag.TR;
            int Page = ViewBag.Page;
            int id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(175, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(396, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 13 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
            if (Model.listEmployeeDevelopmentBonusListViewModel != null && Model.listEmployeeDevelopmentBonusListViewModel.Count > 0)
            {
#line default
#line hidden
                BeginContext(525, 424, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>會員手機 </th>
                    <th>會員姓名</th>
                    <th>會員發展獎金</th>
                    <th>己入帳</th>
                    <th></th>
                </tr>
            </thead>

            <tbody>
");
                EndContext();
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                foreach (var o in Model.listEmployeeDevelopmentBonusListViewModel)
                {
#line default
#line hidden
                    BeginContext(1057, 62, true);
                    WriteLiteral("                        <tr>\r\n                            <td>");
                    EndContext();
                    BeginContext(1120, 16, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                    Write(o.EmployeeMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1136, 39, true);
                    WriteLiteral("</td>\r\n                            <td>");
                    EndContext();
                    BeginContext(1176, 14, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                    Write(o.EmployeeName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1190, 39, true);
                    WriteLiteral("</td>\r\n                            <td>");
                    EndContext();
                    BeginContext(1230, 7, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                    Write(o.Bonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1237, 39, true);
                    WriteLiteral("</td>\r\n                            <td>");
                    EndContext();
                    BeginContext(1277, 12, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                    Write(o.IsRecorded);

#line default
#line hidden
                    EndContext();
                    BeginContext(1289, 311, true);
                    WriteLiteral(@"</td>
                            <td>
                                <a class=""btn btn-default btn-detail"" role=""button"" title=""業務""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span></a>
                            </td>
                        </tr>
                        <tr></tr>
");
                    EndContext();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1623, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"

                // 9-10.系統在View【Views/Shared/Components/MemberBonusList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1763, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1782, 238, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ef48bda59b8f4ce69c2a29aac6dea14f", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2020, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
            }
            else
            {
                //9-8a.系統判斷!(9-7傳回之listMemberBonusListViewModel!=null and Count>0)。
                //9 - 8a - 1.回11。

#line default
#line hidden
                BeginContext(2142, 39, true);
                WriteLiteral("    <h3>\r\n        沒有業務發展獎金\r\n    </h3>\r\n");
                EndContext();
#line 57 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\EmployeeDevelopmentBonusList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #19
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"

            List <int>
                tR   = ViewBag.TR;
            int Page = ViewBag.Page;
            int id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(173, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(394, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 13 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
            if (Model.listMemberDevelopmentBonusListViewModel != null && Model.listMemberDevelopmentBonusListViewModel.Count > 0)
            {
#line default
#line hidden
                BeginContext(519, 426, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>會員手機 </th>
                    <th>會員姓名</th>
                    <th>會員發展獎金</th>
                    <th>己入帳</th>

                    <th></th>
                </tr>
            </thead>

            <tbody>
");
                EndContext();
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                foreach (var o in Model.listMemberDevelopmentBonusListViewModel)
                {
#line default
#line hidden
                    BeginContext(1047, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1102, 14, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1116, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1152, 12, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                    Write(o.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1164, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1200, 7, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                    Write(o.Bonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1207, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1243, 12, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                    Write(o.IsRecorded);

#line default
#line hidden
                    EndContext();
                    BeginContext(1255, 293, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-detail"" role=""button"" title=""直屬會員""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1567, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                foreach (var o in Model.listMemberDevelopmentBonusListViewModel)
                {
#line default
#line hidden
                    BeginContext(1699, 46, true);
                    WriteLiteral("        <input type=\"hidden\" name=\"MerberList\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\"", 1745, "\"", 1768, 1);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                    WriteAttributeValue("", 1753, o.MemberMobile, 1753, 15, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1769, 5, true);
                    WriteLiteral(" />\r\n");
                    EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                }

#line default
#line hidden
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"


                // 9-10.系統在View【Views/Shared/Components/MemberBonusList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1869, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1888, 238, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af589eda61d5456bb9299d28ff7d3abe", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2126, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
            }
            else
            {
                //9-8a.系統判斷!(9-7傳回之listMemberBonusListViewModel!=null and Count>0)。
                //9 - 8a - 1.回11。

#line default
#line hidden
                BeginContext(2248, 37, true);
                WriteLiteral("    <h3>\r\n    沒有批發會員發展獎金\r\n    </h3>\r\n");
                EndContext();
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberDevelopmentBonusList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #20
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(278, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
            if (Model.listDepartmentListViewModel != null && Model.listDepartmentListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/DepartmentList/Default.cshtml】中顯示[部門員工清單]。

#line default
#line hidden
                BeginContext(466, 183, true);
                WriteLiteral("    <div class=\"container container-fluid\">\r\n        <table class=\"table table-bordered\">\r\n            <thead>\r\n                <tr style=\"color:gainsboro;background-color:#000000\">\r\n");
                EndContext();
                BeginContext(685, 202, true);
                WriteLiteral("                    <th>部門代碼</th>\r\n                    <th>部門名稱</th>\r\n                    <th>部門描述</th>\r\n                    <th></th>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n");
                EndContext();
#line 24 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                foreach (DepartmentListViewModel MLVM in Model.listDepartmentListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1030, 26, true);
                    WriteLiteral("                    <tr>\r\n");
                    EndContext();
                    BeginContext(1098, 28, true);
                    WriteLiteral("                        <td>");
                    EndContext();
                    BeginContext(1127, 17, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    Write(MLVM.DepartmentId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1144, 78, true);
                    WriteLiteral("</td>\r\n                        <td><a href=\"#\" class=\"DepartmentLevelPathList\"");
                    EndContext();
                    BeginWriteAttribute("title", " title=\"", 1222, "\"", 1248, 1);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    WriteAttributeValue("", 1230, MLVM.DepartmentId, 1230, 18, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1249, 1, true);
                    WriteLiteral(">");
                    EndContext();
                    BeginContext(1251, 15, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    Write(MLVM.Department);

#line default
#line hidden
                    EndContext();
                    BeginContext(1266, 11, true);
                    WriteLiteral("</a></td>\r\n");
                    EndContext();
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    if (MLVM.DepartmentDescription == null)
                    {
#line default
#line hidden
                        BeginContext(1369, 39, true);
                        WriteLiteral("                            <td></td>\r\n");
                        EndContext();
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1492, 32, true);
                        WriteLiteral("                            <td>");
                        EndContext();
                        BeginContext(1525, 60, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                        Write(Html.Raw(MLVM.DepartmentDescription.Replace("\n", "<br />")));

#line default
#line hidden
                        EndContext();
                        BeginContext(1585, 7, true);
                        WriteLiteral("</td>\r\n");
                        EndContext();
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1619, 848, true);
                    WriteLiteral(@"                        <td>
                            <a class=""btn btn-default btn-edit"" role=""button"" title=""修改""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-delete"" role=""button"" title=""刪除""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-new-position"" role=""button"" title=""新職務""><span class=""glyphicon glyphicon-plus"" aria-hidden=""true""></span><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-position"" role=""button"" title=""職務""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 47 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2486, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/DepartmentList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2623, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2642, 293, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6007f7c45b50432d9230e0951f272f40", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                WriteLiteral(Url.Action("GetDepartmentList", "Employee"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2935, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 55 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listDepartmentListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(3034, 20, true);
                WriteLiteral("    <h3>沒有子部門</h3>\r\n");
                EndContext();
#line 60 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\DepartmentList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #21
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(300, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
            if (Model.listOrderDetailListViewModel != null && Model.listOrderDetailListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/OrderDetailListNoButton/Default.cshtml】中顯示[目前銷貨清單] (含修改與刪除,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(527, 550, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>#</th>
                    <th>商品代碼</th>
                    <th>商品名稱</th>
                    <th>尺寸</th>
                    <th>顏色</th>
                    <th>零售</th>
                    <th>數量</th>
                    <th>小計</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                foreach (CartListViewModel MLVM in Model.listOrderDetailListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1215, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1270, 2, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(id);

#line default
#line hidden
                    EndContext();
                    BeginContext(1272, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1308, 12, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(MLVM.Product);

#line default
#line hidden
                    EndContext();
                    BeginContext(1320, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1356, 14, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(MLVM.ProductId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1370, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1406, 16, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(MLVM.ProductSize);

#line default
#line hidden
                    EndContext();
                    BeginContext(1422, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1458, 17, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(MLVM.ProductColor);

#line default
#line hidden
                    EndContext();
                    BeginContext(1475, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1511, 34, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:0}", MLVM.Price));

#line default
#line hidden
                    EndContext();
                    BeginContext(1545, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1581, 13, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(MLVM.Quantity);

#line default
#line hidden
                    EndContext();
                    BeginContext(1594, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1630, 41, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                    Write(String.Format("{0:#,###}", MLVM.SubTotal));

#line default
#line hidden
                    EndContext();
                    BeginContext(1671, 34, true);
                    WriteLiteral("</td>\r\n                    </tr>\r\n");
                    EndContext();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1724, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/OrderDetailListNoButton/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1870, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1889, 299, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "047626e76be34bc7a969b12d3c07b2a7", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                WriteLiteral(Url.Action("GetOrderDetailListNoButton", "Order"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2188, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(2214, 21, true);
                WriteLiteral("    <h3>沒有銷貨明細</h3>\r\n");
                EndContext();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderDetailListNoButton\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #22
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(159, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 10 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
            if (Model.listMessageManagementList != null && Model.listMessageManagementList.Count > 0)
            {
#line default
#line hidden
                BeginContext(459, 557, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>項次</th>
                    <th>版別</th>
                    <th>發佈時間</th>
                    <th>留言者手機</th>
                    <th>留言者暱稱</th>
                    <th>留言標題</th>
                    <th>留言內容</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                foreach (var o in @Model.listMessageManagementList)
                {
#line default
#line hidden
                    BeginContext(1105, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1160, 11, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.MessageId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1171, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1207, 13, false);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.VersionName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1220, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1256, 13, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.MessageTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1269, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1305, 14, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1319, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1355, 10, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.NickName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1365, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1401, 14, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.MessageTitle);

#line default
#line hidden
                    EndContext();
                    BeginContext(1415, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1451, 14, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    Write(o.MessageValue);

#line default
#line hidden
                    EndContext();
                    BeginContext(1465, 568, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-MessageContent"" role=""button"" title=""內容""><span class=""glyphicon glyphicon-align-center"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-MessageReply"" role=""button"" title=""回復""><span class=""glyphicon glyphicon-text-size"" aria-hidden=""true""></span></a>
                            <a class=""btn btn-default btn-DeleteMessageManagement"" role=""button"" title=""刪除""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true""></span></a>
");
                    EndContext();
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    if (@o.MemberMobile != "0911111111" && @o.MemberMobile != "1111111111")
                    {
#line default
#line hidden
                        BeginContext(2166, 181, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-UpdateMemberEnabled\" role=\"button\" title=\"停權\"><span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 45 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2378, 89, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n                    <tr></tr>\r\n");
                    EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2486, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"

                //Model 新增回復

#line default
#line hidden
                BeginContext(2558, 1281, true);
                WriteLiteral(@"    <div class=""modal fade"" id=""newReplyModal"" tabindex=""-1"" role=""dialog"" aria-labelledby=""exampleModalLabel"" aria-hidden=""true"">
        <div class=""modal-dialog modal-lg"" role=""document"">
            <div class=""modal-content"">
                <div class=""modal-header"">
                    <h5 class=""modal-title"" id=""exampleModalLabel"">新增回復</h5>
                    <button type=""button"" class=""close"" data-dismiss=""modal"" aria-label=""Close"">
                        <span aria-hidden=""true"">&times;</span>
                    </button>
                </div>
                <div class=""modal-body"">
                    <input type=""hidden"" id=""ReplyVersionid"" />
                    <div class=""form-group"">
                        <label for=""message-text"" class=""col-form-label"">內容:</label>
                        <textarea class=""form-control"" id=""newReplyMessageValue""></textarea>
                    </div>
                </div>
                <div class=""modal-footer"">
                    <");
                WriteLiteral(@"button type=""button"" class=""btn btn-secondary"" data-dismiss=""modal"">取消</button>
                    <button type=""button"" class=""btn btn-primary"" id=""btn-NewReplyMessage"">送出</button>
                </div>
            </div>
        </div>
    </div>
");
                EndContext();
#line 78 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"

                // 9-10.系統在View【Views/Shared/Components/OrderList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(3921, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(3940, 238, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "51572fd45e1f47f5a94d2c5730530e89", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 81 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4178, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 83 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listOrderListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(4272, 22, true);
                WriteLiteral("    <h3>沒有留言待管理</h3>\r\n");
                EndContext();
#line 88 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MessageManagement\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #23
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"

            List <int>
                tR   = ViewBag.TR;
            int Page = ViewBag.Page;
            int id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(162, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(383, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 13 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
            if (Model.listMemberBonusListViewModel != null && Model.listMemberBonusListViewModel.Count > 0)
            {
#line default
#line hidden
                BeginContext(488, 212, true);
                WriteLiteral("    <div class=\"container container-fluid\">\r\n        <table class=\"table table-bordered\">\r\n            <thead>\r\n                <tr style=\"color:gainsboro;background-color:#000000\">\r\n                    <th>會員手機 ");
                EndContext();
                BeginContext(701, 12, false);
#line 20 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                Write(Model.AClass);

#line default
#line hidden
                EndContext();
                BeginContext(713, 288, true);
                WriteLiteral(@"</th>
                    <th>會員姓名</th>
                    <th>會員採購總額</th>
                    <th>直屬會員採購總額</th>
                    <th>會員營運獎金</th>
                    <th>己入帳</th>
                    <th></th>
                </tr>
            </thead>

            <tbody>
");
                EndContext();
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                foreach (var o in Model.listMemberBonusListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1122, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1177, 14, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1191, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1227, 12, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1239, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1275, 16, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.MemberOrderSum);

#line default
#line hidden
                    EndContext();
                    BeginContext(1291, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1327, 23, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.OfflineMemberOrderSum);

#line default
#line hidden
                    EndContext();
                    BeginContext(1350, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1386, 13, false);
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.MemberBonus);

#line default
#line hidden
                    EndContext();
                    BeginContext(1399, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1435, 12, false);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                    Write(o.IsRecorded);

#line default
#line hidden
                    EndContext();
                    BeginContext(1447, 293, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-detail"" role=""button"" title=""直屬會員""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1759, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 50 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/MemberBonusList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1897, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1916, 238, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "baba37104fea47db9952391e9321a5c5", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2154, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
            }
            else
            {
                //9-8a.系統判斷!(9-7傳回之listMemberBonusListViewModel!=null and Count>0)。
                //9 - 8a - 1.回11。


#line default
#line hidden
                BeginContext(2278, 25, true);
                WriteLiteral("    <h3>沒有批發會員獎金清單</h3>\r\n");
                EndContext();
#line 61 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\MemberBonusList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #24
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"

            List <int>
                tR   = ViewBag.TR;
            int Page = ViewBag.Page;
            int id   = @Model.id;

#line default
#line hidden
            BeginContext(271, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 10 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
            if (Model.listOrderListViewModel != null && Model.listOrderListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/OrderList/Default.cshtml】中顯示[銷貨單清單]。

#line default
#line hidden
                BeginContext(443, 591, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:darkcyan"">
                    <th>#</th>
                    <th>訂單編號</th>
                    <th>訂購日期</th>
                    <th>訂購人</th>
                    <th>手機</th>
                    <th>送貨地址</th>
                    <th>收貨人手機</th>
                    <th>訂單狀態</th>
                    <th>訂購總額</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                foreach (OrderListViewModel MLVM in Model.listOrderListViewModel)
                {
#line default
#line hidden
                    BeginContext(1137, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1192, 2, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(id);

#line default
#line hidden
                    EndContext();
                    BeginContext(1194, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1230, 12, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.OrderId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1242, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1278, 14, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.OrderTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1292, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1328, 15, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1343, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1379, 17, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1396, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1432, 19, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.ContactAddress);

#line default
#line hidden
                    EndContext();
                    BeginContext(1451, 35, true);
                    WriteLiteral("</td>\r\n                        <th>");
                    EndContext();
                    BeginContext(1487, 11, false);
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.Mobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1498, 35, true);
                    WriteLiteral("</th>\r\n                        <td>");
                    EndContext();
                    BeginContext(1534, 15, false);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(MLVM.OrderState);

#line default
#line hidden
                    EndContext();
                    BeginContext(1549, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1585, 45, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    Write(String.Format("{0:#,###}", MLVM.TotalExpense));

#line default
#line hidden
                    EndContext();
                    BeginContext(1630, 204, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n                            <a class=\"btn btn-default btn-detail\" role=\"button\" title=\"銷貨明細\"><span class=\"glyphicon glyphicon-th-list\" aria-hidden=\"true\"></span></a>\r\n");
                    EndContext();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    if ((@MLVM.OrderStateId != 5) && (@MLVM.OrderStateId != 8) && (@MLVM.OrderStateId != 4))
                    {
#line default
#line hidden
                        BeginContext(2084, 117, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-OrdrState\" role=\"button\" title=\"狀態\" data-MemberMobile=\"");
                        EndContext();
                        BeginContext(2202, 17, false);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                        Write(MLVM.MemberMobile);

#line default
#line hidden
                        EndContext();
                        BeginContext(2219, 16, true);
                        WriteLiteral("\" data-orderid=\"");
                        EndContext();
                        BeginContext(2236, 12, false);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                        Write(MLVM.OrderId);

#line default
#line hidden
                        EndContext();
                        BeginContext(2248, 21, true);
                        WriteLiteral("\" data-orderstateid=\"");
                        EndContext();
                        BeginContext(2270, 17, false);
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                        Write(MLVM.OrderStateId);

#line default
#line hidden
                        EndContext();
                        BeginContext(2287, 75, true);
                        WriteLiteral("\"><span class=\"glyphicon glyphicon-pencil\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2393, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 51 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    if ((@MLVM.OrderStateId == 4) || (@MLVM.OrderStateId == 5))
                    {
#line default
#line hidden
                        BeginContext(2516, 112, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-Shipment\" role=\"button\" title=\"出貨單\" data-orderid=\"");
                        EndContext();
                        BeginContext(2629, 12, false);
#line 53 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                        Write(MLVM.OrderId);

#line default
#line hidden
                        EndContext();
                        BeginContext(2641, 77, true);
                        WriteLiteral("\"><span class=\"glyphicon glyphicon-list-alt\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2749, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
#line 55 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    if (@MLVM.OrderStateId == 5)
                    {
                        //20181213 ---棋
                        //已出貨才能刪除訂單

#line default
#line hidden
                        BeginContext(2933, 111, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-Exchange\" role=\"button\" title=\"退貨\" data-orderid=\"");
                        EndContext();
                        BeginContext(3045, 12, false);
#line 59 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                        Write(MLVM.OrderId);

#line default
#line hidden
                        EndContext();
                        BeginContext(3057, 82, true);
                        WriteLiteral("\"><span class=\"glyphicon glyphicon-shopping-cart\" aria-hidden=\"true\"></span></a>\r\n");
                        EndContext();
#line 60 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3170, 89, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n                    <tr></tr>\r\n");
                    EndContext();
#line 64 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                    id += 1;
                }

#line default
#line hidden
                BeginContext(3308, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 69 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/OrderList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(3440, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(3459, 242, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "983cbbdd54f94212977cb1deb51f1254", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 71 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3701, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 73 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listOrderListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(3795, 20, true);
                WriteLiteral("    <h3>沒有銷貨單</h3>\r\n");
                EndContext();
#line 78 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\OrderList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #25
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(276, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
            if (Model.listPurchaseListViewModel != null && Model.listPurchaseListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/PurchaseList/Default.cshtml】中顯示[進貨單清單]。

#line default
#line hidden
                BeginContext(457, 623, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>#</th>
                    <th>進貨單號</th>
                    <th>進貨日期</th>
                    <th>幣別</th>
                    <th>滙率</th>
                    <th>運費</th>
                    <th>雜費</th>
                    <th>商品總額</th>
                    <th>進貨成本</th>
                    <th>進貨成本(台幣)</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                foreach (PurchaseListViewModel MLVM in Model.listPurchaseListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1219, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1274, 2, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(id);

#line default
#line hidden
                    EndContext();
                    BeginContext(1276, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1312, 15, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.PurchaseId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1327, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1363, 17, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.PurchaseTime);

#line default
#line hidden
                    EndContext();
                    BeginContext(1380, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1416, 13, false);
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.Currency);

#line default
#line hidden
                    EndContext();
                    BeginContext(1429, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1465, 17, false);
#line 38 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.ExchangeRate);

#line default
#line hidden
                    EndContext();
                    BeginContext(1482, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1518, 12, false);
#line 39 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.Freight);

#line default
#line hidden
                    EndContext();
                    BeginContext(1530, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1566, 18, false);
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.miscellaneous);

#line default
#line hidden
                    EndContext();
                    BeginContext(1584, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1620, 15, false);
#line 41 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.ProductFee);

#line default
#line hidden
                    EndContext();
                    BeginContext(1635, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1671, 17, false);
#line 42 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.TotalExpense);

#line default
#line hidden
                    EndContext();
                    BeginContext(1688, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1724, 19, false);
#line 43 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    Write(MLVM.TotalExpenseNT);

#line default
#line hidden
                    EndContext();
                    BeginContext(1743, 37, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n");
                    EndContext();
#line 45 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    if (tR.Contains(19))
                    {
#line default
#line hidden
                        BeginContext(1862, 166, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-edit\" role=\"button\"><span class=\"glyphicon glyphicon-pencil\" aria-hidden=\"true\" title=\"修改\"></span></a>\r\n");
                        EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2059, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
#line 49 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    if (tR.Contains(20))
                    {
#line default
#line hidden
                        BeginContext(2141, 167, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-delete\" role=\"button\"><span class=\"glyphicon glyphicon-trash\" aria-hidden=\"true\" title=\"刪除\"></span></a>\r\n");
                        EndContext();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2339, 256, true);
                    WriteLiteral(@"                            <a class=""btn btn-default btn-detail"" role=""button""><span class=""glyphicon glyphicon-th-list"" aria-hidden=""true"" title=""進貨清單""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 57 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(2614, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 61 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/PurchaseList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(2749, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(2768, 291, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c12aab7c9d6840f494a052556e56c05c", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                WriteLiteral(Url.Action("GetPurchaseList", "Purchase"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 63 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3059, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 65 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
            }
            else
            {
                // 9-8a.系統判斷!(9-7傳回之listPurchaseListViewModel!=null and Count>0)。

#line default
#line hidden
                BeginContext(3156, 20, true);
                WriteLiteral("    <h3>沒有進貨單</h3>\r\n");
                EndContext();
#line 70 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\PurchaseList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #26
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"

            List <int> tR = ViewBag.TR;

#line default
#line hidden
            BeginContext(211, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
            if (Model.listProductListViewModel != null && Model.listProductListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/ProductList/Default.cshtml】中顯示[目前商品分類清單] (含修改與刪除與圖示/新圖示/盤整,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(430, 557, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>分類名稱</th>
                    <th>商品代碼</th>
                    <th>商品名稱</th>
                    <th>商品圖示</th>
                    <th>商品說明</th>
                    <th>零售價</th>
                    <th>批發價</th>
                    <th>量批價</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 26 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                foreach (ProductListViewModel MLVM in Model.listProductListViewModel)
                {
#line default
#line hidden
                    BeginContext(1094, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1149, 20, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.ProductCategory);

#line default
#line hidden
                    EndContext();
                    BeginContext(1169, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1205, 14, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.ProductId);

#line default
#line hidden
                    EndContext();
                    BeginContext(1219, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1255, 12, false);
#line 31 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.Product);

#line default
#line hidden
                    EndContext();
                    BeginContext(1267, 56, true);
                    WriteLiteral("</td>\r\n                        <td class=\"item-pic\"><img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 1323, "\"", 1406, 1);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    WriteAttributeValue("", 1329, Url.Action("GetProductImage", "Product", new { ProeuctId = MLVM.ProductId }), 1329, 77, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginWriteAttribute("alt", " alt=\"", 1407, "\"", 1426, 1);
#line 32 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    WriteAttributeValue("", 1413, MLVM.Product, 1413, 13, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1427, 103, true);
                    WriteLiteral(" class=\"img-responsive\" style=\"max-width:200px;max-height:200px;\" /></td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1531, 23, false);
#line 33 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.ProductDescription);

#line default
#line hidden
                    EndContext();
                    BeginContext(1554, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1590, 10, false);
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.Price);

#line default
#line hidden
                    EndContext();
                    BeginContext(1600, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1636, 19, false);
#line 35 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.SaleLimitPrice);

#line default
#line hidden
                    EndContext();
                    BeginContext(1655, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1691, 15, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                    Write(MLVM.OfferPrice);

#line default
#line hidden
                    EndContext();
                    BeginContext(1706, 1308, true);
                    WriteLiteral(@"</td>
                        <td>
                            <a class=""btn btn-default btn-edit-product"" role=""button""><span class=""glyphicon glyphicon-pencil"" aria-hidden=""true"" title=""修改""></span></a>
                            <a class=""btn btn-default btn-delete-product"" role=""button""><span class=""glyphicon glyphicon-trash"" aria-hidden=""true"" title=""刪除""></span></a>
                            <a class=""btn btn-default btn-image-product"" role=""button""><span class=""glyphicon glyphicon-camera"" aria-hidden=""true"" title=""圖示""></span></a>
                            <a class=""btn btn-default btn-addimage"" role=""button""><span class=""glyphicon glyphicon-plus"" aria-hidden=""true"" title=""新增圖示""></span></a>
                            <a class=""btn btn-default btn-size"" role=""button""><span class=""glyphicon glyphicon-resize-small"" aria-hidden=""true"" title=""尺寸""></span></a>
                            <a class=""btn btn-default btn-color"" role=""button""><span class=""glyphicon glyphicon-text-color"" aria-hidden=""true");
                    WriteLiteral(@""" title=""顏色""></span></a>
                            <a class=""btn btn-default btn-stock-pro"" role=""button""><span class=""glyphicon glyphicon-asterisk"" aria-hidden=""true"" title=""庫存""></span></a>
                        </td>
                    </tr>
                    <tr></tr>
");
                    EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(3033, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                // // 9-10.系統在View【Views/Shared/Components/ProductList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(3170, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(3189, 289, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "426f1bc6f7904824907c7336179db2b2", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                WriteLiteral(Url.Action("GetProductList", "Product"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 54 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3478, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 56 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(3504, 19, true);
                WriteLiteral("    <h3>沒有商品</h3>\r\n");
                EndContext();
#line 60 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #27
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"

            List <int> tR = ViewBag.TR;
            int        id = 0;

#line default
#line hidden
            BeginContext(243, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
            if (Model.listProductStockListViewModel != null && Model.listProductStockListViewModel.Count > 0)
            {
                // 9-9.系統在View【Views/Shared/Components/ProductStockList/Default.cshtml】中顯示[目前商品分類清單] (含盤整,但應依ViewBag.TR之權限顯示)。

#line default
#line hidden
                BeginContext(464, 411, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>#</th>
                    <th>尺寸</th>
                    <th>顏色</th>
                    <th>庫存</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 23 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                foreach (ProductStockListViewModel MLVM in Model.listProductStockListViewModel)
                {
                    id += 1;

#line default
#line hidden
                    BeginContext(1022, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <td>");
                    EndContext();
                    BeginContext(1077, 2, false);
#line 27 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    Write(id);

#line default
#line hidden
                    EndContext();
                    BeginContext(1079, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1115, 16, false);
#line 28 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    Write(MLVM.ProductSize);

#line default
#line hidden
                    EndContext();
                    BeginContext(1131, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1167, 17, false);
#line 29 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    Write(MLVM.ProductColor);

#line default
#line hidden
                    EndContext();
                    BeginContext(1184, 35, true);
                    WriteLiteral("</td>\r\n                        <td>");
                    EndContext();
                    BeginContext(1220, 10, false);
#line 30 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    Write(MLVM.Stock);

#line default
#line hidden
                    EndContext();
                    BeginContext(1230, 37, true);
                    WriteLiteral("</td>\r\n                        <td>\r\n");
                    EndContext();
#line 34 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    if (tR.Contains(26))
                    {
#line default
#line hidden
                        BeginContext(1442, 103, true);
                        WriteLiteral("                                <a class=\"btn btn-default btn-stock\" role=\"button\" data-productsizeid=\"");
                        EndContext();
                        BeginContext(1546, 17, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                        Write(MLVM.ProducSizeId);

#line default
#line hidden
                        EndContext();
                        BeginContext(1563, 24, true);
                        WriteLiteral("\" data-productcollorid=\"");
                        EndContext();
                        BeginContext(1588, 19, false);
#line 36 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                        Write(MLVM.ProductColorId);

#line default
#line hidden
                        EndContext();
                        BeginContext(1607, 86, true);
                        WriteLiteral("\"><span class=\"glyphicon glyphicon-pencil\" aria-hidden=\"true\" title=\"盤整\"></span></a>\r\n");
                        EndContext();
#line 37 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1724, 58, true);
                    WriteLiteral("                        </td>\r\n                    </tr>\r\n");
                    EndContext();
#line 40 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1801, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 44 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                // 9-10.系統在View【Views/Shared/Components/ProductStockList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1940, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1959, 294, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad8cacafa9954dae89a1d4b775e6f678", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                WriteLiteral(Url.Action("GetProductStockList", "Product"));

#line default
#line hidden
                __tagHelperStringValueBuffer             = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.Url = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("url", __YunQiERP_TagHelpers_PagerTagHelper.Url, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                BeginWriteTagHelperAttribute();
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                WriteLiteral(Model.AClass);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("a-class", __YunQiERP_TagHelpers_PagerTagHelper.AClass, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 46 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2253, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 48 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(2279, 21, true);
                WriteLiteral("    <h3>沒有商品庫存</h3>\r\n");
                EndContext();
#line 52 "C:\Users\a5772\Desktop\1.6\YunQi\YunQiERP\Views\Shared\Components\ProductStockList\Default.cshtml"
            }

#line default
#line hidden
        }
Beispiel #28
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"

            List <int> tR   = ViewBag.TR;
            int        Page = ViewBag.Page;
            int        id   = (Page - 1) * 10;

#line default
#line hidden
            BeginContext(411, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
            if (Model.listMemberBonusDetailListViewModel != null && Model.listMemberBonusDetailListViewModel.Count > 0)
            {
                //9-9.系統在View【Views/Shared/Components/MemberBonusDetailList/Default.cshtml】中顯示[批發會員獎金清單]。

#line default
#line hidden
                BeginContext(623, 388, true);
                WriteLiteral(@"    <div class=""container container-fluid"">
        <table class=""table table-bordered table-condensed"" id=""tableProduct"">
            <thead>
                <tr style=""color:gainsboro;background-color:#000000"">
                    <th>會員手機</th>
                    <th>會員姓名</th>
                    <th>採購總額</th>
                </tr>
            </thead>
            <tbody>
");
                EndContext();
#line 23 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                foreach (var o in Model.listMemberBonusDetailListViewModel)
                {
#line default
#line hidden
                    BeginContext(1108, 54, true);
                    WriteLiteral("                    <tr>\r\n                        <th>");
                    EndContext();
                    BeginContext(1163, 14, false);
#line 26 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                    Write(o.MemberMobile);

#line default
#line hidden
                    EndContext();
                    BeginContext(1177, 35, true);
                    WriteLiteral("</th>\r\n                        <th>");
                    EndContext();
                    BeginContext(1213, 12, false);
#line 27 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                    Write(o.MemberName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1225, 35, true);
                    WriteLiteral("</th>\r\n                        <th>");
                    EndContext();
                    BeginContext(1261, 12, false);
#line 28 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                    Write(o.ProductFee);

#line default
#line hidden
                    EndContext();
                    BeginContext(1273, 34, true);
                    WriteLiteral("</th>\r\n                    </tr>\r\n");
                    EndContext();
#line 30 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                }

#line default
#line hidden
                BeginContext(1326, 52, true);
                WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
#line 34 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                //9-10.系統在View【Views/Shared/Components/MemberBonusDetailList/Default.cshtml】中顯示換頁超連結。

#line default
#line hidden
                BeginContext(1469, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1488, 245, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f30abf4d29d8466b9883a62093c5350f", async() => {
                }
                                                                            );
                __YunQiERP_TagHelpers_PagerTagHelper = CreateTagHelper <global::YunQiERP.TagHelpers.PagerTagHelper>();
                __tagHelperExecutionContext.Add(__YunQiERP_TagHelpers_PagerTagHelper);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage = Model.CurrentPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("current-page", __YunQiERP_TagHelpers_PagerTagHelper.CurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.PageCount = Model.PageCount;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-count", __YunQiERP_TagHelpers_PagerTagHelper.PageCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.Parameters = null;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("parameters", __YunQiERP_TagHelpers_PagerTagHelper.Parameters, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.StartPage = Model.StartPage;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("start-page", __YunQiERP_TagHelpers_PagerTagHelper.StartPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.TotalPages = Model.TotalPages;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("total-pages", __YunQiERP_TagHelpers_PagerTagHelper.TotalPages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __YunQiERP_TagHelpers_PagerTagHelper.PageLinkSize = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __YunQiERP_TagHelpers_PagerTagHelper.AClass = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 36 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
                __YunQiERP_TagHelpers_PagerTagHelper.LinkType = Model.LinkType;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("link-type", __YunQiERP_TagHelpers_PagerTagHelper.LinkType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1733, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 38 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(1759, 21, true);
                WriteLiteral("    <h3>沒有銷貨明細</h3>\r\n");
                EndContext();
#line 42 "C:\Users\a5772\Desktop\1.7\YunQi\YunQiERP\Views\Shared\Components\MemberBonusDetailList\Default.cshtml"
            }

#line default
#line hidden
        }