mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-19 03:35:28 +08:00
1. 【新增】售后单售后原因类型支持搜索
2. 【新增】手工创建订单折扣可输入正数 3. 【优化】盘点申请单确认 4. 【修复】采购退货单模拟出库失败问题 5. 【新增】订单金额客户实付与结算金额 6. 【优化】仓库发货统计报表物料名称显示 7. 【优化】自有仓储虚拟发货逻辑 8. 【修复】基础物料分类管理问题
This commit is contained in:
73
app/material/view/admin/seller/add.html
Normal file
73
app/material/view/admin/seller/add.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<div class="tableform">
|
||||
<div class="division">
|
||||
<form method="post" action="index.php?app=material&ctl=admin_seller&act=save" id="frm">
|
||||
<{input type="hidden" name="id" value=$data.id}>
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>销售人员编码:</th>
|
||||
<td><{input type="text" vtype="required" name="seller_code" value=$data.seller_code }></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>销售人员名称:</th>
|
||||
<td><{input type="text" vtype="required" name="seller_name" value=$data.seller_name }></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>禁用状态:</th>
|
||||
<td><{input type="bool" name="disabled" value=$data.disabled }></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<{if $readonly}><{else}>
|
||||
<{area inject=".mainFoot"}>
|
||||
<div class="table-action">
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<{button type="button" id='submit_btn' class="btn-primary" label='保存' }>
|
||||
<{button type="button" id='close_btn' class="btn-secondary" label='关闭' isCloseDialogBtn="true"}>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<{/area}>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var _form = $('frm');//表单ID
|
||||
var btn = $('submit_btn');//按钮ID
|
||||
var finder = finderGroup['<{$env.get.finder_id}>'];
|
||||
|
||||
_form.store('target',{
|
||||
onRequest:function(){
|
||||
btn.setAttribute('disabled', 'disabled');
|
||||
},
|
||||
onComplete:function(){
|
||||
btn.removeAttribute('disabled');
|
||||
},
|
||||
onSuccess:function(response){
|
||||
var hash_res_obj = JSON.decode(response);
|
||||
if (hash_res_obj.success != undefined && hash_res_obj.success != ""){
|
||||
try{
|
||||
var _dialogIns = btn.getParent('.dialog').retrieve('instance');
|
||||
}catch(e){}
|
||||
|
||||
if(_dialogIns){
|
||||
setTimeout(finder.refresh(),30000);
|
||||
_dialogIns.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
btn.addEvent('click',function(){
|
||||
_form.fireEvent('submit',{stop:$empty});
|
||||
});
|
||||
|
||||
})();
|
||||
</script>
|
||||
<{/if}>
|
||||
Reference in New Issue
Block a user