提交 530cdc7c authored 作者: chengye's avatar chengye

调整表单模板

上级 8fc33f9d
差异被折叠。
<table bordercolor="#000000" border="1"><tbody><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*单号<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{docnum}<br /></span></td></tr><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*标题<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{title}<br /></span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请人</span></td><td class="ys2"><span style="white-space:nowrap;">{applicant}</span></td><td align="right" class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请部门</span></td><td class="ys2"><span style="white-space:nowrap;">{dept}</span></td></tr><tr><td width="15%" height="34" align="right" class="ys1" style="width:124.4px;height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请日期</span></td><td width="35%" class="ys2"><span style="white-space:nowrap;">{date}</span></td><td width="15%" align="right" class="ys1" style="text-align:center;width:124.4px;background-color:#CCCCCC;"><style="text-align:center;text-indent:28px;white-space:normal;background-color:#cccccc;" style="white-space: nowrap;">*收款方<br /></style="text-align:center;text-indent:28px;white-space:normal;background-color:#cccccc;"></td><td width="35%" class="ys2" style="width:294.8px;"><span style="white-space:nowrap;">{payee}</span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款方式</span></td><td class="ys2"><span style="white-space:nowrap;">{payway}</span></td><td align="right" class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款金额()</span></td><td class="ys2"><span style="white-space:nowrap;">{amount}</span></td></tr><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款组织<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{org}<br /></span></td></tr><tr><td class="ys2" colspan="4" style="background-color:#CCCCCC;vertical-align:middle;"><p><span style="white-space:nowrap;">款项明细</span></p></td></tr><tr><td colspan="4"><table class="tablesub ke-zeroborder" id="tablesub0" border="0" cellspacing="0" cellpadding="0" style="width:848px;"><tbody><tr><td width="10%" nowrap="nowrap">序号</td><td nowrap="nowrap">*款项类型</td><td nowrap="nowrap">*金额()</td><td nowrap="nowrap">*成本中心</td><td nowrap="nowrap">合同</td><td nowrap="nowrap">发票号</td><td width="5%" nowrap="nowrap">操作</td></tr><tr><td><span style="white-space:nowrap;">[xuhao0,0]</span></td><td><span style="white-space:nowrap;">[charge_type0,0]</span></td><td><span style="white-space:nowrap;">[amount0,0]</span></td><td><span style="white-space:nowrap;">[cbzxid0,0]</span></td><td><span style="white-space:nowrap;">[contract_num0,0]</span></td><td><span style="white-space:nowrap;">[receipt_num0,0]</span></td><td><span style="white-space:nowrap;">{删,0}</span></td></tr></tbody></table><div style="background-color:#F1F1F1;"><span style="white-space:nowrap;">{新增,0}</span></div><span style="white-space:nowrap;"><br /></span></td></tr><tr><td style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*收款方信息<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{info}<br /></span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款事由</span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{cause}</span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*附件</span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{receipt}</span></td></tr></tbody></table>
\ No newline at end of file
<table bordercolor="#000000" border="1"><tbody><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*单号<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{docnum}<br /></span></td></tr><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*标题<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{title}<br /></span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请人</span></td><td class="ys2"><span style="white-space:nowrap;">{applicant}</span></td><td align="right" class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请部门</span></td><td class="ys2"><span style="white-space:nowrap;">{dept}</span></td></tr><tr><td width="15%" height="34" align="right" class="ys1" style="width:124.4px;height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*申请日期</span></td><td width="35%" class="ys2"><span style="white-space:nowrap;">{date}</span></td><td width="15%" align="right" class="ys1" style="text-align:center;width:124.4px;background-color:#CCCCCC;"><style="text-align:center;text-indent:28px;white-space:normal;background-color:#cccccc;" style="white-space: nowrap;">*收款方<br /></style="text-align:center;text-indent:28px;white-space:normal;background-color:#cccccc;"></td><td width="35%" class="ys2" style="width:294.8px;"><span style="white-space:nowrap;">{payee}</span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款方式</span></td><td class="ys2"><span style="white-space:nowrap;">{payway}</span></td><td align="right" class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款金额()</span></td><td class="ys2"><span style="white-space:nowrap;">{amount}</span></td></tr><tr><td class="ys1" style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款组织<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{org}<br /></span></td></tr><tr><td class="ys2" colspan="4" style="background-color:#CCCCCC;vertical-align:middle;"><p><span style="white-space:nowrap;">款项明细</span></p></td></tr><tr><td colspan="4"><table class="tablesub ke-zeroborder" id="tablesub0" border="0" cellspacing="0" cellpadding="0" style="width:848px;"><tbody><tr><td width="10%" nowrap="nowrap">序号</td><td nowrap="nowrap">*款项类型</td><td nowrap="nowrap">*金额()</td><td nowrap="nowrap">*成本中心</td><td width="5%" nowrap="nowrap">操作</td></tr><tr><td><span style="white-space:nowrap;">[xuhao0,0]</span></td><td><span style="white-space:nowrap;">[charge_type0,0]</span></td><td><span style="white-space:nowrap;">[amount0,0]</span></td><td><span style="white-space:nowrap;">[cbzxid0,0]</span></td><td><span style="white-space:nowrap;">{删,0}</span></td></tr></tbody></table><div style="background-color:#F1F1F1;"><span style="white-space:nowrap;">{新增,0}</span></div><span style="white-space:nowrap;"><br /></span></td></tr><tr><td style="text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*收款方信息<br /></span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{info}<br /></span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">*付款事由</span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{cause}</span></td></tr><tr><td height="34" align="right" class="ys1" style="height:34px;text-align:center;background-color:#CCCCCC;"><span style="white-space:nowrap;">附件</span></td><td class="ys2" colspan="3"><span style="white-space:nowrap;">{receipt}</span></td></tr></tbody></table>
\ No newline at end of file
......@@ -9,9 +9,9 @@ defined('HOST') or die ('not access');
<script>
$(document).ready(function(){
{params}
var modenum = 'emfk',modename='电费付款',isflow=0,modeid='124',atype = params.atype,pnum=params.pnum,modenames='';
var modenum = 'emfk',modename='电费付款',isflow=1,modeid='124',atype = params.atype,pnum=params.pnum,modenames='';
if(!atype)atype='';if(!pnum)pnum='';
var fieldsarr = [{"name":"\u7533\u8bf7\u4eba","fields":"base_name"},{"name":"\u7533\u8bf7\u4eba\u90e8\u95e8","fields":"base_deptname"},{"name":"\u5355\u53f7","fields":"sericnum"},{"fields":"amount","name":"\u4ed8\u6b3e\u91d1\u989d","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"docnum","name":"\u5355\u636e\u7f16\u53f7","fieldstype":"num","ispx":"0","isalign":"0","islb":"1"},{"fields":"title","name":"\u6807\u9898","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"cause","name":"\u4ed8\u6b3e\u4e8b\u7531","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"payee","name":"\u6536\u6b3e\u65b9","fieldstype":"selectdatafalse","ispx":"0","isalign":"0","islb":"1"},{"fields":"payway","name":"\u4ed8\u6b3e\u65b9\u5f0f","fieldstype":"rockcombo","ispx":"0","isalign":"0","islb":"1"},{"fields":"info","name":"\u6536\u6b3e\u65b9\u4fe1\u606f","fieldstype":"textarea","ispx":"0","isalign":"0","islb":"1"},{"fields":"dept","name":"\u7533\u8bf7\u90e8\u95e8","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"receipt","name":"\u9644\u4ef6","fieldstype":"uploadfile","ispx":"0","isalign":"0","islb":"1"},{"fields":"applicant","name":"\u7533\u8bf7\u4eba","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"org","name":"\u4ed8\u6b3e\u7ec4\u7ec7","fieldstype":"rockcombo","ispx":"0","isalign":"0","islb":"1"},{"fields":"date","name":"\u7533\u8bf7\u65e5\u671f","fieldstype":"datetime","ispx":"0","isalign":"0","islb":"1"}],fieldsselarr= [];
var fieldsarr = [{"name":"\u7533\u8bf7\u4eba","fields":"base_name"},{"name":"\u7533\u8bf7\u4eba\u90e8\u95e8","fields":"base_deptname"},{"name":"\u5355\u53f7","fields":"sericnum"},{"fields":"cause","name":"\u4ed8\u6b3e\u4e8b\u7531","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"info","name":"\u6536\u6b3e\u65b9\u4fe1\u606f","fieldstype":"textarea","ispx":"0","isalign":"0","islb":"1"},{"fields":"receipt","name":"\u9644\u4ef6","fieldstype":"uploadfile","ispx":"0","isalign":"0","islb":"1"},{"fields":"docnum","name":"\u5355\u636e\u7f16\u53f7","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"title","name":"\u6807\u9898","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"applicant","name":"\u7533\u8bf7\u4eba","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"dept","name":"\u7533\u8bf7\u90e8\u95e8","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"amount","name":"\u4ed8\u6b3e\u91d1\u989d","fieldstype":"text","ispx":"0","isalign":"0","islb":"1"},{"fields":"payee","name":"\u6536\u6b3e\u65b9","fieldstype":"selectdatafalse","ispx":"0","isalign":"0","islb":"1"},{"fields":"payway","name":"\u4ed8\u6b3e\u65b9\u5f0f","fieldstype":"rockcombo","ispx":"0","isalign":"0","islb":"1"},{"fields":"org","name":"\u4ed8\u6b3e\u7ec4\u7ec7","fieldstype":"rockcombo","ispx":"0","isalign":"0","islb":"1"},{"fields":"date","name":"\u7533\u8bf7\u65e5\u671f","fieldstype":"datetime","ispx":"0","isalign":"0","islb":"1"}],fieldsselarr= {"columns_emfk_all":"amount,docnum,title,payee,payway,dept,applicant,date,caozuo"};
var c = {
reload:function(){
......@@ -210,7 +210,7 @@ $(document).ready(function(){
fanye:true,modenum:modenum,modename:modename,statuschange:false,tablename:jm.base64decode('Y19lbWZr'),
url:c.storeurl(),storeafteraction:'storeaftershow',storebeforeaction:'storebeforeshow',
params:{atype:atype},
columns:[{text:"付款金额",dataIndex:"amount"},{text:"单据编号",dataIndex:"docnum"},{text:"标题",dataIndex:"title"},{text:"付款事由",dataIndex:"cause"},{text:"收款方",dataIndex:"payee"},{text:"付款方式",dataIndex:"payway"},{text:"收款方信息",dataIndex:"info"},{text:"申请部门",dataIndex:"dept"},{text:"附件",dataIndex:"receipt"},{text:"申请人",dataIndex:"applicant"},{text:"付款组织",dataIndex:"org"},{text:"申请日期",dataIndex:"date"},{
columns:[{text:"申请人",dataIndex:"base_name",sortable:true},{text:"申请人部门",dataIndex:"base_deptname",sortable:true},{text:"单号",dataIndex:"sericnum"},{text:"付款事由",dataIndex:"cause"},{text:"收款方信息",dataIndex:"info"},{text:"附件",dataIndex:"receipt"},{text:"单据编号",dataIndex:"docnum"},{text:"标题",dataIndex:"title"},{text:"申请人",dataIndex:"applicant"},{text:"申请部门",dataIndex:"dept"},{text:"付款金额",dataIndex:"amount"},{text:"收款方",dataIndex:"payee"},{text:"付款方式",dataIndex:"payway"},{text:"付款组织",dataIndex:"org"},{text:"申请日期",dataIndex:"date"},{text:"状态",dataIndex:"statustext"},{
text:'',dataIndex:'caozuo',callback:'opegs{rand}'
}],
itemdblclick:function(){
......@@ -255,9 +255,9 @@ $(document).ready(function(){
<tr>
<td style="padding-right:10px;" id="tdleft_{rand}" nowrap><button id="addbtn_{rand}" class="btn btn-primary" click="clickwin,0" disabled type="button"><i class="icon-plus"></i> 新增</button></td>
<td>
<input class="form-control" style="width:160px" id="key_{rand}" placeholder="关键字">
<input class="form-control" style="width:160px" id="key_{rand}" placeholder="关键字/申请人/单号">
</td>
<td style="padding-left:10px"><select class="form-control" style="width:120px" id="selstatus_{rand}"><option value="">-全部状态-</option><option style="color:blue" value="0">待处理</option><option style="color:green" value="1">已审核</option><option style="color:red" value="2">不同意</option><option style="color:#888888" value="5">已作废</option><option style="color:#17B2B7" value="23">退回</option></select></td>
<td style="padding-left:10px">
<div style="white-space:nowrap">
<button style="border-right:0;border-top-right-radius:0;border-bottom-right-radius:0" class="btn btn-default" click="searchbtn" type="button">搜索</button><button class="btn btn-default" id="downbtn_{rand}" type="button" style="padding-left:8px;padding-right:8px;border-top-left-radius:0;border-bottom-left-radius:0"><i class="icon-angle-down"></i></button>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论