username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/FiAccountIncome/PrintAll.cshtml
@@ -18,9 +18,11 @@
            },
            { label: '科目名称', name: 'SubjectName', labtype: 'txt', hidden: false, width: 100  },
            { label: '金额', name: 'Money', labtype: 'txt', hidden: false, width: 100  },
            { label: '余额', name: 'Balance', labtype: 'txt', hidden: false, width: 100 },
            { label: '余额', name: 'AccountMoney', labtype: 'txt', hidden: false, width: 100 },
            { label: '收(支)款单位', name: 'PaymentUnit', labtype: 'txt', hidden: false, width: 200 },
            { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false, width: 200  },
            { label: '操作人', name: 'CreaterName', labtype: 'txt', hidden: false, width: 60 },
            { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false, width: 200 },
            { label: '订单号', name: 'Remark', labtype: 'txt', hidden: false, width: 60 },
            { label: '操作时间', name: 'CreatetimeName', labtype: 'txt', hidden: false, width: 100 },
             
        ];
@@ -32,7 +34,7 @@
            { label: '科目名称', name: 'SubjectId', labtype: 'combox', hidden: false, data: JSON.parse(FiSubject) },
            { label: '记录类型', name: 'RecordTypeId', labtype: 'combox', hidden: false, data: JSON.parse(RecordTypeId) },
            { label: '摘要', name: 'OperationalMatters', labtype: 'txt', hidden: false },
            { label: '订单号', name: 'Remark', labtype: 'txt', hidden: false },
            { label: '付款人(单位)', name: 'PaymentUnit', labtype: 'txt', hidden: false },
            { label: '操作人', name: 'CreaterName', labtype: 'txt', hidden: false },
@@ -51,7 +53,7 @@
            var PaymentUnit = $("#PBSPaymentUnit").val();
            var CreaterName = $("#PBSCreaterName").val();
            var Remark = $("#PBSRemark").val();
            var Createtimestart = $("#PBSCreatetimestart").val();
@@ -62,12 +64,40 @@
            }
            var url = "/FiAccountIncome/print?Accounttype=" + Accounttype + "&AccountId=" + AccountId + "&SubjectId=" + SubjectId + "&RecordTypeId=" + RecordTypeId + "&OperationalMatters=" + OperationalMatters + "&PaymentUnit=" + PaymentUnit + "&CreaterName=" + CreaterName + "&Createtime=" + Createtime;
            var url = "/FiAccountIncome/print?Accounttype=" + Accounttype + "&AccountId=" + AccountId + "&SubjectId=" + SubjectId + "&RecordTypeId=" + RecordTypeId + "&OperationalMatters=" + OperationalMatters + "&PaymentUnit=" + PaymentUnit + "&CreaterName=" + CreaterName + "&Createtime=" + Createtime + "&Remark=" + Remark;
            var me = window.open(url, "打印");  //打开新窗口
        }
        var _pageDaochu = function () {
            var Accounttype = $("#PBSAccounttype").val();
            var AccountId = $("#PBSAccountId").val();
            var SubjectId = $("#PBSSubjectId").val();
            var RecordTypeId = $("#PBSRecordTypeId").val();
            var OperationalMatters = $("#PBSOperationalMatters").val();
            var PaymentUnit = $("#PBSPaymentUnit").val();
            var CreaterName = $("#PBSCreaterName").val();
            var Remark = $("#PBSRemark").val();
            var Createtimestart = $("#PBSCreatetimestart").val();
            var Createtimeend = $("#PBSCreatetimeend").val();
            var Createtime = '';
            if (Createtimestart != '' && Createtimeend != '') {
                Createtime = Createtimestart + '|' + Createtimeend;
            }
            var url = "/FiAccountIncome/GetDaochu?Accounttype=" + Accounttype + "&AccountId=" + AccountId + "&SubjectId=" + SubjectId + "&RecordTypeId=" + RecordTypeId + "&OperationalMatters=" + OperationalMatters + "&PaymentUnit=" + PaymentUnit + "&CreaterName=" + CreaterName + "&Createtime=" + Createtime + "&Remark=" + Remark;
            var me = window.open(url, "导出");  //打开新窗口
        }
      
        var _afterSave = function (result) {