2013年11月13日

文件过期提醒功能

摘要: 数据库脚本:create view view_LiuYanasselect mouldNo,outUserName,partName,drawingNo,rstartDate,ostartDate,oendDate,supplierName , case when DATEDIFF (D,GETDATE(),ostartDate)0 then 'tryellow' when DATEDIFF(D,GETDATE(),ostartDate)>" %> VOutProceSchedule ... 阅读全文

posted @ 2013-11-13 16:52 守望星空 阅读(386) 评论(0) 推荐(0) 编辑

JS 打印报表

摘要: 前台页面:>" %> 打印外协发出订单 工厂地址: ... 阅读全文

posted @ 2013-11-13 16:05 守望星空 阅读(251) 评论(0) 推荐(0) 编辑

JS 动态显示 获取下拉框的多个值

摘要: 后台代码:static StringBuilder sbProcessingtype = null;private void getProcessingtype() {if (null == sbProcessingtype) { sbProcessingtype= new StringBuilder();string str_Query = "select comoboxText from Bs_ComboBoxConfig where comoboxID='15' order by comoboxValue asc"; IList list = objC 阅读全文

posted @ 2013-11-13 15:38 守望星空 阅读(934) 评论(0) 推荐(0) 编辑

Exel 利用模板导出方法

摘要: #region Exel导出方法 [MaxuniAuthAttribute(Roles = "sysroles")] public void OrderExport(string id) { string strWhere = " from VOutProceExel where OProcessRequisitionId='" + id + "'"; var obj = objBaseRepository.GetOneRecord(id);//数据库,表里的信息 var obj... 阅读全文

posted @ 2013-11-13 14:50 守望星空 阅读(297) 评论(0) 推荐(0) 编辑

JS 获取Button控件的提交类型

摘要: 提交审批 撤消 关闭 后台获取: string audittype = Request.Form["audittype"];if (audittype == "cancel") { string refreshTab = Request.Form["refreshTab"]; WorkflowC... 阅读全文

posted @ 2013-11-13 14:32 守望星空 阅读(981) 评论(0) 推荐(0) 编辑

js 动态计算折扣后总价格

摘要: 声明两个对象: model.TotalPrice, new { id = "Out.TotalPrice" })%> model.discountPrice, new { id = "Out.discountPrice" })%> 原价(¥) 折扣(%) 总价(¥) 后台代码 private string BindTableOutSend(IList objList) { sbProcessingtype = null; getProcessingtype();... 阅读全文

posted @ 2013-11-13 14:14 守望星空 阅读(2637) 评论(0) 推荐(0) 编辑

导航