摘要:数据库脚本: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 ...
阅读全文
摘要:前台页面:>" %> 打印外协发出订单 工厂地址: ...
阅读全文
摘要:后台代码: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
阅读全文
摘要:#region Exel导出方法 [MaxuniAuthAttribute(Roles = "sysroles")] public void OrderExport(string id) { string strWhere = " from VOutProceExel where OProcessRequisitionId='" + id + "'"; var obj = objBaseRepository.GetOneRecord(id);//数据库,表里的信息 var obj...
阅读全文
摘要:提交审批 撤消 关闭 后台获取: string audittype = Request.Form["audittype"];if (audittype == "cancel") { string refreshTab = Request.Form["refreshTab"]; WorkflowC...
阅读全文
摘要:声明两个对象: model.TotalPrice, new { id = "Out.TotalPrice" })%> model.discountPrice, new { id = "Out.discountPrice" })%> 原价(¥) 折扣(%) 总价(¥) 后台代码 private string BindTableOutSend(IList objList) { sbProcessingtype = null; getProcessingtype();...
阅读全文