username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/FiPiecerate/Index.cshtml
@@ -4,16 +4,16 @@
}
@section headerStyle{
    <script type="text/javascript">
        var Pieceratetype = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Pieceratetype))';
        var Standard = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Standard))';
        //loseherght = 60;
        dataCol = [
            { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
            { label: '类别', name: 'PieceratetypeName', labtype: 'txt', hidden: false, width: 100 },
            { label: '类别', name: 'PieceratetypeName', labtype: 'txt', hidden: true, width: 100 },
            {
                label: '服务项目', name: 'Project', labtype: 'txt', hidden: false, width: 100,
                formatter: function (cellvalue, options, rowObject) {
@@ -21,13 +21,13 @@
                }
            },
            { label: '提成标准', name: 'StandardName', labtype: 'txt', hidden: false, width: 100 },
            { label: '提成额度', name: 'Percent', labtype: 'txt', hidden: false, width: 100 },
            {
                label: '启用时间', name: 'CreatedAtTimeName', labtype: 'txt', hidden: false, width: 100  },
            { label: '是否计件登记', name: 'StandardName', labtype: 'txt', hidden: false, width: 100 },
            { label: '提成额度', name: 'Percent', labtype: 'txt', hidden: true, width: 100 },
            {
                label: '启用时间', name: 'CreatedAtTimeName', labtype: 'txt', hidden: true, width: 100  },
        ];
@@ -38,10 +38,12 @@
            { label: '启用时间', name: 'CreatedAtTime', labtype: 'datearea', hidden: false },
            { label: '类别', name: 'Pieceratetype', labtype: 'combox', hidden: false, data: JSON.parse(Pieceratetype), cwidth: '5%', cccwidth: '8%' },
            //{ label: '启用时间', name: 'CreatedAtTime', labtype: 'datearea', hidden: false },
            //{ label: '类别', name: 'Pieceratetype', labtype: 'combox', hidden: false, data: JSON.parse(Pieceratetype), cwidth: '5%', cccwidth: '8%' },
            { label: '服务项目', name: 'Project', labtype: 'txt', hidden: false },
            { label: '是否计件登记', name: 'Standard', labtype: 'combox', hidden: false, data: JSON.parse(Standard), cwidth: '5%', cccwidth: '8%' },
        ];
        var _pageAdd = function () {
            OpenWindow("新增计件标准", "98%", "90%", "/FiPiecerate/Edit/");