HN.UI/Views/RetailBill/WaitAudit.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@{
    ViewBag.Title = "销售单批量审核";
    Layout = "~/Views/Shared/_LayoutList.cshtml";
}

<div id="tbar">
    <div class="tbar">
        <div class="z-toolbar">
            @Html.Raw(ViewBag.btnHtml)
        </div>
        <table>
            <tr>
                <td>单据编号:</td>
                <td class="td-left"><input type="text" id="txtBillNo" class="easyui-textbox" /></td>
                <td class="td-right">日期:</td>
                <td class="td-left"><input type="text" id="txtStartDate" class="easyui-datebox" />—<input type="text" id="txtEndDate" class="easyui-datebox" /></td>
                <td class="td-right"><a id="btnSearch" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="btnSearch_OnClick()">查询</a></td>
            </tr>
        </table>
    </div>
</div>
<table id="dg"></table>

@section PageSpecificScript{
    <script type="text/javascript">
        $("#dg").datagrid({
            url: '/RetailBill/GetNoAuditList',
            idField: 'RbID',
            pagination: true,
            pageSize: 20,
            rownumbers: true,
            fit: true,
            fitColumns: true,
            striped: true,
            toolbar: '#tbar',
            columns: [[
                { field: 'RbID', title: 'RbID', checkbox: true },
                { field: 'BillNo', title: '单据编号', width: 120, halign: 'center' },
                { field: 'BillDate', title: '单据日期', width: 80, halign: 'center', align: 'center' },
                { field: 'TaxMoney', title: '销售金额', width: 80, halign: 'center', align: 'right' },
                { field: 'RebateMoney', title: '投入金额', width: 80, halign: 'center', align: 'right' },
                { field: 'invoFlag', title: '状态', width: 60, halign: 'center', align: 'center', formatter: function (value, row, index) { if (value == 0) return '未完成'; else if (value == 1) return '已完成' } },
                { field: 'SaleName', title: '业务员', width: 60, halign: 'center' },
                { field: 'CustName', title: '客户', width: 120, halign: 'center' },
                { field: 'AuditStatus', title: '审核状态', width: 60, halign: 'center', align: 'center', formatter: function (value, row, index) { if (value == 0) return '未审核'; else if (value == 1) return '通过'; else return '未通过' } },
                { field: 'AuditName', title: '审核人', width: 60, halign: 'center' },
                { field: 'AuditDate', title: '审核日期', width: 80, halign: 'center' },
                { field: 'AuditIdea', title: '审核意见', width: 120, halign: 'center' },
                { field: 'Remark', title: '备注', width: 120, halign: 'center' },
            ]],
            onDblClickRow: btnView_OnClick
        })
        function btnSearch_OnClick() {
            queryData(null, { 'billNo': $("#txtBillNo").val(), 'startDate': $("#txtStartDate").datebox("getValue"), 'endDate': $("#txtEndDate").datebox("getValue") });
        }
        function btnBatchAudit_OnClick() {
            batchAudit("/RetailBill/BatchAudit", "销售单批量审核", 380, 260, 'icon-user-accept');
        }
        function btnView_OnClick(index, row) {
            openTopWin("/RetailBill/ViewDetails/" + row.RbID, "查看销售单", 1000, 500, 'icon-edit');
后面还有 5 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。