ID:{$Rs.id} | 合同类型:{$Rs.type}
合同编号:{$Rs.bianhao} | 合同名称:{$Rs.mingcheng}
客户ID:{$Rs.cid} | 客户名称:{$Rs.title}
联系人:{$Rs.name} | 联系电话:{$Rs.dianhua}
合同金额:{$Rs.jine} | 已收款:{$Rs.yishou}
未收款:{$Rs.weishou} | 已开票:{$Rs.kaipiao}
已付款:{$Rs.yifu} | 业务员:{$Rs.jingban}
分享给:{$Rs.juname} | 截至日期:{$Rs.jztime}
续费:{$Rs.xufei} | 审核状态:{$Rs.shenhe}
审核人:{$Rs.shenheren} | 添加人:{$Rs.uname}
添加时间:{$Rs.addtime} | 更新人:{$Rs.uuname}
更新时间:{$Rs.updatetime}
备注说明: {$Rs.beizhu}
合同内容: {$Rs.content|html_out=###}
上传附件: $attlist=M('files')->where('attid='.$Rs['attid'].' and status=1')->select(); {$vf['uid']|truename=###}:{$vf['filedesc']} {$vf['addtime']}

$chukulist=M('chuku')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 出库单号 | 出库产品 | 出库数量 | 出库时间 | 业务员 | 审核人 | 审核状态 | 详细
--- | --- | --- | --- | --- | --- | --- | --- | ---
{$chukuv.id} | {$chukuv.number} | {$chukuv.title|msubstr=###,0,20} | {$chukuv.shuliang} | {$chukuv.shijian|substr=###,0,10} | {$chukuv.jingban} | {$chukuv.shenheren} | {$chukuv.shenhe} | 详细

$hetongslist=M('hetongs')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 产品编号 | 产品名称 | 产品分类 | 产品规格 | 计量单位 | 销售价格 | 数量 | 小计 | 备注 | 审核状态 | 详细
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{$hetongsv.id} | {$hetongsv.number} | {$hetongsv.title|msubstr=###,0,20} | {$hetongsv.fenlei} | {$hetongsv.type|msubstr=###,0,20} | {$hetongsv.danwei|msubstr=###,0,20} | {$hetongsv.xjiage} | {$hetongsv.shuliang} | {$hetongsv.xiaoji} | {$hetongsv.beizhu|msubstr=###,0,20} | {$hetongsv.shenhe} | 详细

$shoulist=M('shou')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 收款类型 | 收款金额 | 业务员 | 备注 | 审核人 | 审核状态 | 添加人 | 添加时间 | 详细
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{$shouv.id} | {$shouv.type} | {$shouv.jine} | {$shouv.jingban|msubstr=###,0,20} | {$shouv.beizhu|msubstr=###,0,20} | {$shouv.shenheren|msubstr=###,0,20} | {$shouv.shenhe} | {$shouv.uname|msubstr=###,0,20} | {$shouv.addtime|substr=###,0,10} | 详细

$shenhelist=M('shenhe')->where(array('xid'=>$Rs['id'],'type'=>CONTROLLER_NAME))->limit(100)->select();
ID | 审核结果 | 审核意见 | 审核人 | 审核时间 | 详细
--- | --- | --- | --- | --- | ---
{$shenhev.id} | {$shenhev.title|msubstr=###,0,20} | {$shenhev.content|msubstr=###,0,20} | {$shenhev.uname|msubstr=###,0,20} | {$shenhev.addtime|substr=###,0,10} | 详细

$kaipiaolist=M('kaipiao')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 开票抬头 | 开票金额 | 发票编号 | 经办人 | 备注 | 添加人 | 添加时间 | 详细
--- | --- | --- | --- | --- | --- | --- | --- | ---
{$kaipiaov.id} | {$kaipiaov.title|msubstr=###,0,20} | {$kaipiaov.jine} | {$kaipiaov.piaohao} | {$kaipiaov.jingban|msubstr=###,0,20} | {$kaipiaov.beizhu|msubstr=###,0,20} | {$kaipiaov.uname|msubstr=###,0,20} | {$kaipiaov.addtime|substr=###,0,10} | 详细

$fahuolist=M('fahuo')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 发货时间 | 物流快递 | 备注说明 | 经办人 | 添加人 | 添加时间 | 详细
--- | --- | --- | --- | --- | --- | --- | ---
{$fahuov.id} | {$fahuov.shijian|substr=###,0,10} | {$fahuov.value|msubstr=###,0,20} | {$fahuov.beizhu|msubstr=###,0,20} | {$fahuov.jingban|msubstr=###,0,20} | {$fahuov.uname|msubstr=###,0,20} | {$fahuov.addtime|substr=###,0,10} | 详细

$fukuanlist=M('fukuan')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 付款类型 | 付款方式 | 付款金额 | 经办人 | 备注 | 审核人 | 审核状态 | 添加人 | 添加时间 | 详细
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{$fukuanv.id} | {$fukuanv.leixing} | {$fukuanv.type} | {$fukuanv.jine} | {$fukuanv.jingban|msubstr=###,0,20} | {$fukuanv.beizhu|msubstr=###,0,20} | {$fukuanv.shenheren|msubstr=###,0,20} | {$fukuanv.shenhe|msubstr=###,0,20} | {$fukuanv.uname|msubstr=###,0,20} | {$fukuanv.addtime|substr=###,0,10} | 详细

$huifanglist=M('huifang')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 回访详情 | 处理结果 | 添加人 | 添加时间 | 更新时间 | 详细
--- | --- | --- | --- | --- | --- | ---
{$huifangv.id} | {$huifangv.content|msubstr=###,0,20} | {$huifangv.beizhu|msubstr=###,0,20} | {$huifangv.uname|msubstr=###,0,20} | {$huifangv.addtime|substr=###,0,10} | {$huifangv.updatetime|substr=###,0,10} | 详细

$tousulist=M('tousu')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 投诉内容 | 处理结果 | 添加人 | 添加时间 | 更新时间 | 详细
--- | --- | --- | --- | --- | --- | ---
{$tousuv.id} | {$tousuv.content|msubstr=###,0,20} | {$tousuv.beizhu|msubstr=###,0,20} | {$tousuv.uname|msubstr=###,0,20} | {$tousuv.addtime|substr=###,0,10} | {$tousuv.updatetime|substr=###,0,10} | 详细

$renwulist=M('renwu')->where(array('hid'=>$Rs['id']))->limit(100)->select();
ID | 截止时间 | 任务标题 | 处理结果 | 添加人 | 添加时间 | 更新时间 | 详细
--- | --- | --- | --- | --- | --- | --- | ---
{$renwuv.id} | {$renwuv.jztime|substr=###,0,10} | {$renwuv.biaoti|msubstr=###,0,20} | {$renwuv.jieguo} | {$renwuv.uname|msubstr=###,0,20} | {$renwuv.addtime|substr=###,0,10} | {$renwuv.updatetime|substr=###,0,10} | 详细