562 lines
28 KiB
Plaintext
562 lines
28 KiB
Plaintext
${Styles.htmlOverflowHidden()}
|
||
${yangcai_calc_Left_width_height(340, 110)}
|
||
<script>
|
||
//查询操作员
|
||
|
||
var attaTypeMap = new Z.HashMap();
|
||
var blameOrgMap = new Z.HashMap();
|
||
var orgUserListMap = new Z.HashMap();
|
||
Z.onload(function(){
|
||
//初始化 文件类型
|
||
<#for item : FileTypeConstants.getFileTypeList()>
|
||
attaTypeMap.put('${item.value()}', '${item.desc()}')
|
||
</#for>
|
||
|
||
});
|
||
|
||
function getObject(json)
|
||
{
|
||
json = json.replace(/\r/g, '');
|
||
json = json.replace(/\n/g, '<br/>');
|
||
json = json.replace(/\t/g, ' ');
|
||
var reg = /(\u0000)|(\u0001)|(\u0002)|(\u0003)|(\u0004)|(\u0005)|(\u0006)|(\u0007)|(\u000b)|(\u000e)|(\u000f)|(\u0010)|(\u0011)|(\u0012)|(\u0013)|(\u0014)|(\u0015)|(\u0016)|(\u0017)|(\u0018)|(\u0019)|(\u001a)|(\u001b)|(\u001c)|(\u001d)|(\u001e)|(\u001f)/g;
|
||
//var reg = //g;
|
||
return Z.J.toObject(json.replace(reg, ""));
|
||
}
|
||
|
||
function doShowAfterOrderInfo(obj, designAfsId)
|
||
{
|
||
if (!designAfsId)
|
||
{
|
||
Z.alert("请选择一项");
|
||
return;
|
||
}
|
||
|
||
var ajax = new Z.Ajax();
|
||
ajax.setContextPath('${context.getContextPath()}');
|
||
ajax.setClassName("DesignAfterOrderPresenter");
|
||
ajax.setMethodName("doQueryAfterOrderDataInfo");
|
||
ajax.addParam("designAfsId", designAfsId);
|
||
ajax.setFailureAlert();
|
||
ajax.setSuccess(function(){
|
||
//初始化数据内容
|
||
var attamap = new Z.HashMap();
|
||
var obj = getObject(this.responseText);
|
||
var afterOrder = obj.afterOrder;
|
||
var problemType = obj.problemType;
|
||
var attaList = obj.afterAttaList;
|
||
for (var i=0; i< attaList.length; i++)
|
||
{
|
||
var atta = attaList[i];
|
||
var list = attamap.get(atta.attaModul);
|
||
if (!list)
|
||
list=[];
|
||
|
||
list.push(atta);
|
||
attamap.put(atta.attaModul, list);
|
||
}
|
||
|
||
var afterRightContent = '';
|
||
afterRightContent +='\r\n <table class="z-table z-pd10 z-bordered z-w100p" style="margin-top:;">';
|
||
afterRightContent +='\r\n <tr bgcolor="#f5f5f5">';
|
||
afterRightContent +='\r\n <td>产品信息:</td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
afterRightContent +='\r\n <tr>';
|
||
afterRightContent +='\r\n <td id="orderText" class="z-lh150p">'+afterOrder.orderText+'</td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
afterRightContent +='\r\n <tr bgcolor="#f5f5f5">';
|
||
afterRightContent +='\r\n <td><span class="z-bold">问题描述:</td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
afterRightContent +='\r\n <tr>';
|
||
afterRightContent +='\r\n <td id="problemDesc" class="z-lh150p">';
|
||
afterRightContent +='\r\n <div id="problemDesc" class="z-overflow-y-auto z-w100p" id="atta_EndFile" style="min-height:24px; max-height:100px;">';
|
||
afterRightContent +='\r\n '+(afterOrder.problemDesc ? afterOrder.problemDesc : '');
|
||
afterRightContent +='\r\n </div>';
|
||
afterRightContent +='\r\n </td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
|
||
if (problemType && problemType.problemName)
|
||
{
|
||
afterRightContent +='\r\n <tr bgcolor="#f5f5f5">';
|
||
afterRightContent +='\r\n <td><span class="z-bold">售后原因:</td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
afterRightContent +='\r\n <tr>';
|
||
afterRightContent +='\r\n <td id="problemDesc" class="z-lh150p">';
|
||
afterRightContent +='\r\n <div id="problemDesc" class="z-overflow-y-auto z-w100p" id="atta_EndFile" style="min-height:24px; max-height:100px;">';
|
||
afterRightContent +='\r\n '+(problemType.problemName);
|
||
afterRightContent +='\r\n </div>';
|
||
afterRightContent +='\r\n </td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
}
|
||
|
||
for (var i=0; i<attamap._keys.length; i++)
|
||
{
|
||
|
||
var attaList = attamap.get(attamap._keys[i]);
|
||
if (!attaList || attaList.length == 0)
|
||
continue;
|
||
|
||
if (!attaTypeMap.get(attamap._keys[i]))
|
||
continue;//不支持的附件类型
|
||
|
||
|
||
afterRightContent +='\r\n <tr class="z-h40" bgcolor="#efefef">';
|
||
afterRightContent +='\r\n <td style="position: relative;">';
|
||
afterRightContent +='\r\n <input type="checkbox" class="z-checkbox" data-role="z-checkbox" data-class="z-blue" onclick="Z.FM.doSelectCheckBox(\'atta_'+attamap._keys[i]+'\', this.checked);" >';
|
||
afterRightContent +='\r\n <b class="z-pd4">'+attaTypeMap.get(attamap._keys[i])+'</b>';
|
||
afterRightContent +='\r\n <button id="download_'+attamap._keys[i]+'" onclick="doDownload(\''+attamap._keys[i]+'\')" class="z-button z-mg-l20 z-float-right z-orange z-mg-r6">下载</button>';
|
||
afterRightContent +='\r\n </td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
afterRightContent +='\r\n <tr class="z-h40">';
|
||
afterRightContent +='\r\n <td class="z-pd-l10">';
|
||
for (var j=0; j<attaList.length; j++)
|
||
{
|
||
var atta = attaList[j];
|
||
afterRightContent +='\r\n <div class="z-overflow-y-auto z-w100p" style="min-height:24px; max-height:100px;">';
|
||
afterRightContent +='\r\n <div id="div_checkbox_'+atta.attaId+'" class="z-text-ellipsis z-w300 z-pointer" onclick="" title="'+atta.fileName+'">';
|
||
afterRightContent +='\r\n <input id="atta_'+atta.attaId+'" name="atta_'+atta.attaModul+'" type="checkbox" class="z-checkbox" data-role="z-checkbox" data-class="z-blue" data-attaid="'+atta.attaId+'" data-downloadUrl="'+(atta.ossUrl ? atta.ossUrl : '')+'" value="'+atta.attaId+'"><span class="z-pd6" onclick="Z(this).parent().find(\'zcover>i.z-checkbox\').click();">'+atta.fileName+'</span><br>';
|
||
afterRightContent +='\r\n </div>';
|
||
afterRightContent +='\r\n </div>';
|
||
}
|
||
afterRightContent +='\r\n </td>';
|
||
afterRightContent +='\r\n </tr>';
|
||
}
|
||
afterRightContent +='\r\n </table>';
|
||
Z("#afterRightContent").htmlc(afterRightContent);
|
||
});
|
||
ajax.execute();
|
||
}
|
||
|
||
function doDownload(attaType)
|
||
{
|
||
var attaIds = Z.FM.getCheckBoxValue("atta_" + attaType, "");
|
||
if (Z.V.isEmpty(attaIds))
|
||
{
|
||
parent.Z.alert("请选择需要下载的文件");
|
||
return false;
|
||
}
|
||
|
||
var ajax = new Z.Ajax();
|
||
ajax.setClassName("UploadFilePresenter");
|
||
ajax.setMethodName("doDownloadFile");
|
||
ajax.addParam("attaId", attaIds);
|
||
ajax.setFailure(function(){
|
||
Z.alert(this.responseText,null, {width:320});
|
||
});
|
||
ajax.setSuccess(function(){
|
||
Z.L.href("/downFile.htm?attaId=" + attaIds, zCallFrame);
|
||
});
|
||
ajax.setLoading('download_'+attaType, '下载', {disabled:true});
|
||
ajax.execute();
|
||
}
|
||
|
||
<#if ZmrPathRule.check(request, "/appointAfterBlame.htm")>
|
||
var picProblemMap = new Z.HashMap();
|
||
function doPreAppointAfterBlame()
|
||
{//指定责任
|
||
//清空缓存数据
|
||
picProblemMap = new Z.HashMap();
|
||
|
||
var designAfsId = Z.FM.getChecked("designAfsId");
|
||
if (Z.V.isEmpty(designAfsId))
|
||
{
|
||
Z.alert("请选择一条订单");
|
||
return;
|
||
}
|
||
|
||
var ajax = new Z.Ajax();
|
||
ajax.setContextPath('${context.getContextPath()}');
|
||
ajax.setClassName("DesignAfterOrderPresenter");
|
||
ajax.setMethodName("doQueryAppointBlameData");
|
||
ajax.addParam("designAfsId", designAfsId);
|
||
ajax.setFailureAlert();
|
||
|
||
ajax.setSuccess(function(){
|
||
var attamap = new Z.HashMap();
|
||
var obj = getObject(this.responseText);
|
||
var afterOrder = obj.afterOrder;
|
||
var attaList = obj.afterAttaList;
|
||
for (var i=0; i< attaList.length; i++)
|
||
{
|
||
var atta = attaList[i];
|
||
var list = attamap.get(atta.attaModul);
|
||
if (!list)
|
||
list=[];
|
||
|
||
list.push(atta);
|
||
attamap.put(atta.attaModul, list);
|
||
}
|
||
|
||
for (var i = 0; i < obj.problemList.length; i++)
|
||
{
|
||
var p = obj.problemList[i];
|
||
var list = picProblemMap.get(''+p.picType);
|
||
if (!list)
|
||
list = [];
|
||
|
||
list.push(p);
|
||
picProblemMap.put(''+p.picType, list);
|
||
}
|
||
|
||
|
||
var dialogContent ='<form name="appointAfterBlameForm">';
|
||
dialogContent +='<input type="hidden" name="designAfsId" value="'+afterOrder.designAfsId+'">';
|
||
dialogContent +='<input type="hidden" name="outAfsId" value="'+afterOrder.outAfsId+'">';
|
||
dialogContent +='<table class="z-table z-bordered-line z-pd6 z-bg-white z-text-left">';
|
||
dialogContent +=' <tr class="z-h40" bgcolor="">';
|
||
dialogContent +=' <td align="right">设计订单:</td>';
|
||
dialogContent +=' <td >'+afterOrder.designId+'</td>';
|
||
dialogContent +=' <td align="right">订单组织:</td>';
|
||
dialogContent +=' <td >'+(blameOrgMap.get(''+afterOrder.orgId) ? blameOrgMap.get(''+afterOrder.orgId).orgName : '')+'</td>';
|
||
dialogContent +=' <td align="right">订单设计师:</td>';
|
||
dialogContent +=' <td >'+afterOrder.designer+'</td>';
|
||
dialogContent +=' </tr>';
|
||
|
||
dialogContent +=' <tr class="z-h40" bgcolor="">';
|
||
dialogContent +=' <td align="right">旺旺号:</td>';
|
||
dialogContent +=' <td >'+afterOrder.buyerNick+'</td>';
|
||
dialogContent +=' <td align="right">产品名:</td>';
|
||
dialogContent +=' <td colspan="3" >'+afterOrder.orderText+'</td>';
|
||
dialogContent +=' </tr>';
|
||
|
||
dialogContent +=' <tr class="z-h40">';
|
||
dialogContent +=' <td align="right" valign="top">问题描述:</td>';
|
||
dialogContent +=' <td colspan="5" valign="top"><div class="z-overflow-y-auto " style="min-height:26px; max-height:160px">'+afterOrder.problemDesc+'</div></td>';
|
||
dialogContent +=' </tr>';
|
||
|
||
dialogContent +=' <tr class="z-h40" bgcolor="">';
|
||
dialogContent +=' <td width="100" align="right">责任组织:</td>';
|
||
dialogContent +=' <td width="160">';
|
||
dialogContent +=' <select id="picOrgId" name="picOrgId" onchange="showOrgOperator(this.value, \'\')" class="z-w140 z-select" data-role="z-select">';
|
||
dialogContent +=' <option value="">请选择</option>';
|
||
for (var i = 0; i < blameOrgMap._keys.length; i++)
|
||
{
|
||
var org = blameOrgMap.get(blameOrgMap._keys[i]);
|
||
var selcted = (afterOrder.picOrgId == org.orgId) ? "selected" : "";
|
||
dialogContent +=' <option value="'+org.orgId+'" '+selcted+'>'+org.orgName+'</option>';
|
||
}
|
||
dialogContent +=' </select>';
|
||
dialogContent +=' </td>';
|
||
dialogContent +=' <td width="100" align="right">责任归属:</td>';
|
||
dialogContent +=' <td>';
|
||
dialogContent +=' <div id="">';
|
||
dialogContent +=' <select id="picType" name="picType" onchange="showProblemType(this.value, \'\')" class="z-w140 z-select" data-role="z-select" data-class="z-blue" >';
|
||
dialogContent +=' <option value="">请选择</option>';
|
||
for (var i = 0; i < obj.picList.length; i++)
|
||
{
|
||
var picType = obj.picList[i];
|
||
var selcted = (afterOrder.picType == picType.picType) ? "selected" : "";
|
||
if (Z.V.isEmptyBlank(selcted) && picType.picStatus == 1)
|
||
continue;
|
||
|
||
dialogContent +=' <option value="'+picType.picType+'" '+selcted+'>'+picType.picTypeName+'</option>';
|
||
}
|
||
dialogContent +=' </select>';
|
||
dialogContent +=' </div>';
|
||
dialogContent +=' </td>';
|
||
dialogContent +=' <td align="right">售后原因:</td>';
|
||
dialogContent +=' <td id="picProblemTypeDiv">';
|
||
dialogContent +=' <select data-class="z-blue" data-role="z-select-search" id="problemType" name="problemType" class="z-w200 z-select">';
|
||
dialogContent +=' <option value="">请选择</option>';
|
||
dialogContent +=' </select>';
|
||
dialogContent +=' </td>';
|
||
dialogContent +=' </tr>';
|
||
dialogContent +=' <tr class="z-h40" bgcolor="">';
|
||
dialogContent +=' <td align="right">售后责任人:</td>';
|
||
dialogContent +=' <td id="afterBlamerDiv">';
|
||
dialogContent +=' <select name="afterBlamer" data-class="z-blue" data-role="z-select-search" data-options="maxHeight:180px" id="afsHandler"class="z-w140 z-select">';
|
||
dialogContent +=' <option value="">请选择</option>';
|
||
dialogContent +=' </select>';
|
||
dialogContent +=' </td>';
|
||
dialogContent +=' <td align="right">处理人:</td>';
|
||
var afterHandler = '${request.getSessionName()}';
|
||
dialogContent +=' <td>'+afterHandler+'</td>';
|
||
dialogContent +=' <td align="right">损失金额:</td>';
|
||
dialogContent +=' <td><input name="lossAmount" class="z-input z-w200" value="'+afterOrder.lossAmount.toFixed(2)+'" data-options="type:Amount2R;paste:true"></td>';
|
||
dialogContent +=' </tr>';
|
||
dialogContent +='</table>';
|
||
|
||
dialogContent +='<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">';
|
||
if (afterOrder.afterStatus == ${AfterConstants.CS_0.value()})
|
||
dialogContent +=' <button type="button" id="appointBlameBtn" class="z-button z-large z-w120 z-cyan" onclick="doAppointAfterBlame(this.form)">提交</button>';
|
||
|
||
dialogContent +=' <button type="button" class="z-button z-large z-mg-l10" onclick="Z.Dialog.close();">关闭</button>';
|
||
dialogContent +='</div>';
|
||
dialogContent +='</form>';
|
||
|
||
var appointBlameDialog = new Z.Dialog();
|
||
appointBlameDialog.id = "appointBlame";
|
||
appointBlameDialog.title = "售后订单:["+afterOrder.outAfsId+"]责任分配";
|
||
appointBlameDialog.text = "<div id='appointBlame_dialogContent'></div>";
|
||
appointBlameDialog.width = 1024;
|
||
appointBlameDialog.height = 500;
|
||
appointBlameDialog.execute();
|
||
Z("#appointBlame_dialogContent").htmlc(dialogContent);
|
||
showOrgOperator(afterOrder.picOrgId, afterOrder.afterBlamer);//选中 操作员
|
||
showProblemType(afterOrder.picType, afterOrder.problemType)
|
||
});
|
||
ajax.setLoading("appointAfterBlameBtn", "正在处理", {disabled:true})
|
||
ajax.execute();
|
||
}
|
||
|
||
function showOrgOperator(orgId, userName)
|
||
{
|
||
var org = blameOrgMap.get(''+orgId);
|
||
var html ='<select name="afterBlamer" data-class="z-blue" data-role="z-select-search" data-options="maxHeight:180px" id="afsHandler"class="z-w140 z-select">';
|
||
html +='\r\n <option value="">请选择</option>';
|
||
|
||
var userList = orgUserListMap.get(""+orgId);
|
||
if (org && userList && userList.length && userList.length > 0)
|
||
{
|
||
for (var i = 0; i < userList.length; i++)
|
||
{
|
||
var user = userList[i];
|
||
var selected = (''+user.operatorCode == ''+userName) ? "selected" : "";
|
||
html +='\r\n<option value="'+user.operatorCode+'" '+selected+'>'+user.operatorCode+'</option>';
|
||
}
|
||
}
|
||
html +='\r\n</select>';
|
||
Z("#afterBlamerDiv").htmlc(html);
|
||
}
|
||
|
||
function showProblemType(picTyle, problemType)
|
||
{
|
||
var html ='<select name="problemType" data-class="z-blue" data-role="z-select-search" data-options="maxHeight:180px" id="afsHandler"class="z-w200 z-select">';
|
||
html +='\r\n <option value="">请选择</option>';
|
||
var problemList = picProblemMap.get(""+picTyle);
|
||
if (picTyle && problemList && problemList.length && problemList.length > 0)
|
||
{
|
||
for (var i = 0; i < problemList.length; i++)
|
||
{
|
||
var p = problemList[i];
|
||
var selcted = (''+problemType == ''+p.problemType) ? "selected" : "";
|
||
if (Z.V.isEmptyBlank(selcted) && p.problemStatus == 1)
|
||
continue;
|
||
html +='\r\n <option value="'+p.problemType+'" '+selcted+'>'+p.problemName+'</option>';
|
||
}
|
||
}
|
||
html +='\r\n</select>';
|
||
Z("#picProblemTypeDiv").htmlc(html);
|
||
}
|
||
|
||
function doAppointAfterBlame(blameForm)
|
||
{//提交责任分配
|
||
var ajax = new Z.Ajax();
|
||
ajax.setContextPath('${context.getContextPath()}');
|
||
ajax.setClassName("DesignAfterOrderPresenter");
|
||
ajax.setMethodName("doAppointAfterBlame");
|
||
ajax.setParamForm(blameForm);
|
||
ajax.setFailureAlert();
|
||
ajax.setSuccess(function()
|
||
{
|
||
Z.Dialog.close();
|
||
document.theForm.submit();
|
||
});
|
||
ajax.setLoading("appointBlameBtn", "正在提交", {disabled:true});
|
||
ajax.execute();
|
||
|
||
}
|
||
|
||
</#if>
|
||
//赔付比修改
|
||
function doEditDesignAfsId(){
|
||
var designAfsId = Z.FM.getChecked("designAfsId");
|
||
var lossAmount = Z("#lossAmount_"+designAfsId).val();
|
||
var compensateAmount = Z("#compensateAmount_"+designAfsId).val();
|
||
var designId = Z("#designId_"+designAfsId).val();
|
||
var afterStatus = Z("#afterStatus_"+designAfsId).val();
|
||
if (Z.V.isEmpty(designAfsId)){
|
||
Z.alert("请选择一条售后单");
|
||
return;
|
||
};
|
||
if (afterStatus < 0 || afterStatus > 300){
|
||
Z.alert("该售后单状态不允许修改赔付比");
|
||
return;
|
||
};
|
||
var dialog = new Z.Dialog();
|
||
dialog.title = "修改售后赔付比";
|
||
dialog.url = "/doEditDesignAfsId.htm?designId=" + designId +"&designAfsId="+designAfsId+"&lossAmount="+lossAmount+"&compensateAmount="+compensateAmount;
|
||
dialog.width = 600;
|
||
dialog.height = 354;
|
||
dialog.execute();
|
||
}
|
||
</script>
|
||
|
||
${zhiqim_manager_breadcrumb("售后单列表")}
|
||
${zhiqim_manager_content()}
|
||
<#-- 导航 -->
|
||
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||
<nav>
|
||
<ul>
|
||
<li class="z-active">售后单列表</li>
|
||
</ul>
|
||
</nav>
|
||
</div>
|
||
|
||
<#-- 左侧功能 -->
|
||
<div id="left" class="z-overflow-y-auto z-overflow-x-hidden z-relative-left">
|
||
<#-- 查询条件 -->
|
||
${zhiqim_manager_title("查询条件")}
|
||
<form name="theForm" method="post">
|
||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||
<tr>
|
||
<td width="30%">售后单号:<input name="designAfsId" class="${zmr_color_class} z-input z-w180 z-mg-l4" value="${designAfsId}" maxlength="64" placeholder="订单号"></td>
|
||
<td width="34%">订 单 号 :<input name="designId" class="${zmr_color_class} z-input z-w180 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号"></td>
|
||
<td>
|
||
创建时间:
|
||
<input id="startCreateDate" name="startCreateDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startCreateDate}"> -
|
||
<input id="endCreateDate" name="endCreateDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endCreateDate}">
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40">
|
||
<td>设 计 师 :
|
||
<input name="designer" class="${zmr_color_class} z-input z-w180 z-mg-l4" value="${designer}" maxlength="64" placeholder="设计师">
|
||
</td>
|
||
<td>处理状态:
|
||
<select name="afterStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||
<option value="">全部</option>
|
||
<#for item : AfterConstants.getStatusList()>
|
||
<option value="${item.value()}" <#if item.value() == afterStatus>selected</#if>>${item.desc()}</option>
|
||
</#for>
|
||
</select>
|
||
</td>
|
||
<td>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40">
|
||
<td colspan="3" class="z-text-center"><button class="z-button z-large z-w120 z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
|
||
<#-- 操作功能 -->
|
||
<div class="z-w100p z-mg-t10 z-mg-b3">
|
||
<#if ZmrPathRule.check(request, "/designCopiesr.htm")>
|
||
<button id="doEditDesignAfsId" type="button" class="z-button z-blue" onclick="doEditDesignAfsId();"><i class="z-font z-modify"></i>赔付比修改</button>
|
||
</#if>
|
||
</div>
|
||
|
||
<#-- 列表-->
|
||
<div class="z-overflow-auto z-bd-r">
|
||
<table class="z-table z-bordered z-h40-tr z-pd5 zi-bd-r-none z-bg-white z-text-center" style="width:2500px">
|
||
<tr bgcolor="${zmr_thead_bgcolor}" data-layoutCode="orderList">
|
||
<td width="30">选择</td>
|
||
<td width="120">售后单号</td>
|
||
<td width="100">订单号</td>
|
||
<td width="80">设计师</td>
|
||
<td width="60">创建时间</td>
|
||
<td width="100">处理状态</td>
|
||
<td width="60">损失金额</td>
|
||
<td width="60">赔付金额<span data-role="z-tooltip" data-options="align:left;width:200px;" class="z-color-red" data-text="2021年10月1日起,设计师售后赔偿金额由损失金额改为赔付金额"> *</span></td>
|
||
<td width="250">售后原因</td>
|
||
<td width="150">产品</td>
|
||
<td width="80">店铺</td>
|
||
<td width="80">旺旺号</td>
|
||
<td width="100">特殊工艺</td>
|
||
<td width="60">订单金额</td>
|
||
<td width="100">新补单号</td>
|
||
<td width="150">申诉拒绝原因</td>
|
||
<td width="60">申诉拒绝时间</td>
|
||
</tr>
|
||
${zhiqim_manager_tr_no_record(pageResult, 21, "暂时没有订单信息")}
|
||
<#for item : pageResult.list()>
|
||
<input id="lossAmount_${item.getDesignAfsId()}" type="hidden" value="${item.getLossAmount()}">
|
||
<input id="compensateAmount_${item.getDesignAfsId()}" type="hidden" value="${item.getCompensateAmount()}">
|
||
<input id="designId_${item.getDesignAfsId()}" type="hidden" value="${item.getDesignId()}">
|
||
<input id="afterStatus_${item.getDesignAfsId()}" type="hidden" value="${item.getAfterStatus()}">
|
||
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||
<td><input id="designAfsId" name="designAfsId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" onclick="doShowAfterOrderInfo(this, this.value)" value="${item.getDesignAfsId()}" data-qq="${item.getUserQq()}" data-wx="${item.getUserWx()}" data-buyerNick="${item.getBuyerNick()}"></td>
|
||
<td>${item.getDesignAfsId()}</td>
|
||
<td>${item.getDesignId()}</td>
|
||
<td>${item.getDesigner()}</td>
|
||
<td>${Sqls.toDateTimeString(item.getAfterCreateTime())}</td>
|
||
<td>${AfterConstants.statusHtml(item.getAfterStatus())}</td>
|
||
<td>${item.getLossAmount()}</td>
|
||
<#if item.getAfterCreateTime().getTime() gte lNowTime>
|
||
<td>${(item.getCompensateAmount())}</td>
|
||
<#else>
|
||
<td>${item.getLossAmount()}</td>
|
||
</#if>
|
||
<td>${item.getProblemDesc()}</td>
|
||
<td>${item.getOrderText()}</td>
|
||
<td>${item.getShopNick()}</td>
|
||
<td id="ww${item.getDesignAfsId()}" data-ww="${item.getBuyerNick()}">${item.getBuyerNick()}</td>
|
||
<td>${item.getPrintSpecial()}</td>
|
||
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
|
||
<td><#if item.getNewDesignId() gt 0>${item.getNewDesignId()}</#if></td>
|
||
<td>${item.getAfterReturnNote()}</td>
|
||
<td>${Sqls.toDateTimeString(item.getAfterBlameReturnTime())}</td>
|
||
</tr>
|
||
</#for>
|
||
</table>
|
||
</div>
|
||
${zhiqim_manager_paging(pageResult, "designAfterOrder.htm")}
|
||
</div>
|
||
${zhiqim_manager_content_end()}
|
||
|
||
<#--右侧文件信息-->
|
||
<div id="afterRight" class="z-fixed z-pd6 z-bd-l z-bg-white z-h100p" style="top:${zmr_topnav_height}px;right:0;width:340px;z-index:50;">
|
||
<div id="afterRightContent" class="zi-mg-t15">
|
||
<table class="z-table z-pd10 z-bordered z-w100p" style="margin-top:;">
|
||
<tr bgcolor="#f5f5f5">
|
||
<td>产品信息:</td>
|
||
</tr>
|
||
<tr>
|
||
<td id="orderText" class="z-lh150p">请选择订单</td>
|
||
</tr>
|
||
<tr bgcolor="#f5f5f5">
|
||
<td><span class="z-bold">问题描述:</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="z-lh150p">
|
||
<div id="problemDesc" class="z-overflow-y-auto z-w100p" id="atta_EndFile" style="min-height:24px; max-height:100px;">
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40" bgcolor="#efefef">
|
||
<td style="position: relative;">
|
||
<zcover style="float: none; margin: 0px;"><input type="checkbox" class="z-checkbox" data-role="z-checkbox" data-class="z-blue" onclick="Z.FM.doSelectCheckBox('atta_AftersaleFile', this.checked);" data-id="Z_Checkbox_ZaKqqLra8T" style="visibility: hidden; margin: 0px;"><i class="z-checkbox z-role-checkbox z-relative z-blue" id="Z_Checkbox_ZaKqqLra8T" data-id="" data-name="" style="padding: 0px; margin-left: -16px;"></i></zcover>
|
||
<b class="z-pd4">售后文件</b>
|
||
<button id="download" class="z-button z-mg-l20 z-float-right z-orange z-mg-r6">下载</button>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40">
|
||
<td class="z-pd-l10">
|
||
<div class="z-overflow-y-auto z-w100p" id="atta_AftersaleFile" style="min-height:24px; max-height:100px;">
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40" bgcolor="#efefef">
|
||
<td style="position: relative;">
|
||
<zcover style="float: none; margin: 0px;"><input type="checkbox" class="z-checkbox" data-role="z-checkbox" data-class="z-blue" onclick="Z.FM.doSelectCheckBox('atta_DesginFile', this.checked);" data-id="Z_Checkbox_TsMUgMR9ME" style="visibility: hidden; margin: 0px;"><i class="z-checkbox z-role-checkbox z-relative z-blue" id="Z_Checkbox_TsMUgMR9ME" data-id="" data-name="" style="padding: 0px; margin-left: -16px;"></i></zcover>
|
||
<b class="z-pd4">设计文件</b>
|
||
<button id="download" class="z-button z-mg-l20 z-float-right z-orange z-mg-r6">下载</button>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40">
|
||
<td class="z-pd-l10">
|
||
<div class="z-overflow-y-auto z-w100p" id="atta_DesginFile" style="min-height:24px; max-height:100px;">
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40" bgcolor="#efefef">
|
||
<td style="position: relative;">
|
||
<zcover style="float: none; margin: 0px;"><input type="checkbox" class="z-checkbox" data-role="z-checkbox" data-class="z-blue" onclick="Z.FM.doSelectCheckBox('atta_EndFile', this.checked);" data-id="Z_Checkbox_7pxVgdChg9" style="visibility: hidden; margin: 0px;"><i class="z-checkbox z-role-checkbox z-relative z-blue" id="Z_Checkbox_7pxVgdChg9" data-id="" data-name="" style="padding: 0px; margin-left: -16px;"></i></zcover>
|
||
<b class="z-pd4">印刷文件</b>
|
||
<button id="download" class="z-button z-mg-l20 z-float-right z-orange z-mg-r6">下载</button>
|
||
</td>
|
||
</tr>
|
||
<tr class="z-h40">
|
||
<td class="z-pd-l10">
|
||
<div class="z-overflow-y-auto z-w100p" id="atta_EndFile" style="min-height:24px; max-height:100px;">
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<#-- 联系旺旺&联系QQ弹窗框 -->
|
||
<iframe id="openFrm" class="z-hide" src="about:blank"></iframe>
|