first commit
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
<#def designatedPath="/receiveMerManage.htm"/>
|
||||
${request.getValidateScript()}
|
||||
${zhiqim_manager_history("/receiveMerManage.htm")}
|
||||
${zhiqim_manager_breadcrumb_parent("/receiveMerManage.htm", "接单商户管理", "添加接单商户")}
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<script>
|
||||
var prdtypeArr = [];
|
||||
Z.onload(function(){
|
||||
|
||||
});
|
||||
|
||||
function doSelectDesignType(v)
|
||||
{
|
||||
if (Z.AR.contains(prdtypeArr, v))
|
||||
Z.AR.remove(prdtypeArr, v);
|
||||
else
|
||||
prdtypeArr.push(v);
|
||||
|
||||
if (Z("input[name=typeIds]").length == prdtypeArr.length)
|
||||
{
|
||||
Z.D.id("selectAllType").checked=true;
|
||||
Z("i[data-id=selectAllType]").addClass("z-active");
|
||||
}
|
||||
else
|
||||
{
|
||||
Z.D.id("selectAllType").checked=false;
|
||||
Z("i[data-id=selectAllType]").removeClass("z-active");
|
||||
}
|
||||
doBiuldPolicy(prdtypeArr);
|
||||
}
|
||||
|
||||
function doselctbox(box, type)
|
||||
{
|
||||
var _div = Z(box).parent().parent().siblings("div");
|
||||
Z.each(_div.find('i.z-checkbox'), function(item, i)
|
||||
{
|
||||
if (Z(item).hasClass("z-active"))
|
||||
{
|
||||
if (!box.checked)
|
||||
{
|
||||
Z(item).click();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (box.checked)
|
||||
{
|
||||
Z(item).click();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (type == 1)
|
||||
{
|
||||
doBiuldPolicy(prdtypeArr)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function doSelectAllDesignType(box)
|
||||
{
|
||||
var type = Z.V.isEmptyBlank(Z.FM.getCheckBoxValue("typeIds")) ? 1 : (Z("input[name=typeIds]").length != prdtypeArr.length ? 1 : 2);
|
||||
|
||||
if (box.checked && type == 2)
|
||||
type = 1;
|
||||
|
||||
Z.FM.doSelectCheckBox('typeIds', type)
|
||||
prdtypeArr = Z.AR.toArray(Z.FM.getCheckBoxValue("typeIds"), ",");
|
||||
doBiuldPolicy(prdtypeArr);
|
||||
}
|
||||
|
||||
</script>
|
||||
<form name="theForm" action="receiveMerInsert.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<table class="z-table z-bordered z-h50-tr z-pd10 z-bg-white">
|
||||
<tr class="zi-h40 z-bg-gray z-bold">
|
||||
<td colspan="20">添加接单组织</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%">选择接组织:</td>
|
||||
<td width="25%">
|
||||
<select id="orgId" name="orgId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}">${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td width="25%">组织接单优先级:<span class="z-text-red" style="color:#D0CECE;">数字越小派单越前</span></td>
|
||||
<td width="25%">
|
||||
<input id="merLevel" name="merLevel" value="${orgMer.getMerLevel()}" class="z-input z-w200" maxlength="6" data-options="type:Decimal;paste:true;" placeholder="排序优先级(填写数字)">
|
||||
<span class="z-text-red">*</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>接单状态:</td>
|
||||
<td>
|
||||
<select id="isPauseRecieive" name="isPauseRecieive" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="false" <#if orgMer.isPauseRecieive() == false>selected</#if>>开启</option>
|
||||
<option value="true" <#if orgMer.isPauseRecieive()>selected</#if>>暂停</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>组织状态:</td>
|
||||
<td>
|
||||
<select id="merStatus" name="merStatus" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="false" <#if orgMer.getMerStatus() == 0>selected</#if>>正常</option>
|
||||
<option value="true" <#if orgMer.getMerStatus() == 1>selected</#if>>停用</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
${zhiqim_manager_content_end()}
|
||||
Reference in New Issue
Block a user