52 行
1.8 KiB
Plaintext
52 行
1.8 KiB
Plaintext
<script>
|
|
function addProgressNote()
|
|
{//添加进度备注
|
|
var ordProgressNote = Z("#ordProgressNote").val();
|
|
if (Z.Validates.isEmpty(ordProgressNote))
|
|
{
|
|
Z.alert("进度备注不能为空");
|
|
return;
|
|
}
|
|
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("OrderPresenter");
|
|
ajax.setMethodName("addProgressNote");
|
|
ajax.addParam("designId", '${designId}');
|
|
ajax.addParam("ordProgressNote", ordProgressNote);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("备注保存成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
|
});
|
|
ajax.execute();
|
|
}
|
|
</script>
|
|
|
|
<div class="z-mg-t10 z-mg-b10 z-mg-l10 ">
|
|
<span class="z-text-center">
|
|
<textarea class="z-w800 z-h100" id="ordProgressNote" name="ordProgressNote" placeholder="进度备注"></textarea>
|
|
<button type="button" class="z-button z-xlarge ${zmr_color_class} z-mg-l20" style="margin-top:-80px;" onclick="addProgressNote();">保存备注</button>
|
|
</span>
|
|
</div>
|
|
|
|
<table class="z-table z-bordered z-bg-white z-text-center">
|
|
<tr class="z-h40 z-text-center z-bg-gray">
|
|
<td width="150">订单号</td>
|
|
<td width="*">备注内容</td>
|
|
<td width="100">备注人</td>
|
|
<td width="150">备注时间</td>
|
|
</tr>
|
|
<#if pageResult.size() == 0>
|
|
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
|
|
<td colspan="4">暂不存在进度备注信息</td>
|
|
</tr>
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
|
|
<td>${item.getDesignId()}</td>
|
|
<td>${item.getOrdProgressNote()}</td>
|
|
<td>${item.getOperateCode()}</td>
|
|
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
|
|
</tr>
|
|
</#for>
|
|
${zhiqim_manager_paging(pageResult, "progressNote.htm")}
|
|
</table> |