| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <script>
- function doModify()
- {
- var ajax = new Z.Ajax();
- ajax.setClassName("com.zhiqim.yangcai.design.action.sys.ReceiveMerModifyAction");
- ajax.setMethodName("update");
- ajax.addParam("orgId", document.modifyForm.orgId.value);
- ajax.addParam("merStatus", document.modifyForm.merStatus.value);
- ajax.addParam("isPauseRecieive", document.modifyForm.isPauseRecieive.value);
- ajax.addParam("merLevel", document.modifyForm.merLevel.value);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){
- parent.location.reload();
- });
- ajax.setLoading("doModifyBtn", '保存', {disabled:true});
- ajax.execute();
- }
- </script>
- <form name="modifyForm" action="" method="post" onSubmit="void(0)" data-role="z-call-frame">
- <table class="z-table z-bordered z-h50-tr z-pd10 z-bg-white">
- <tr>
- <td width="160">选择接单商户:</td>
- <td width="*">
- <select id="orgId" name="orgId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
- <option value="${orgMer.getOrgId()}">${ZmrOrgDao.getOrgName(request, orgMer.getOrgId())}</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="0" <#if orgMer.getMerStatus() == 0>selected</#if>>正常</option>
- <option value="1" <#if orgMer.getMerStatus() == 1>selected</#if>>停用</option>
- </select>
- </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>
- <input id="merLevel" name="merLevel" value="${orgMer.getMerLevel()}" class="z-input z-w200" maxlength="6" data-options="type:Decimal;paste:true;" placeholder="排序优先级(填写数字)">
- </td>
- </tr>
- </table>
- <#-- 操作 -->
- <div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
- <button type="button" id="doModifyBtn" class="z-button z-large z-w120 z-blue" onclick="doModify();">保存</button>
- <button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close();">取消</button>
- </div>
- </form>
|