Files
OMS/app/ome/view/admin/order/dispatch.html
2026-01-04 19:08:31 +08:00

47 lines
1.5 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<table class="tableform">
<tbody>
<tr>
<th>订单确认小组:</th>
<td>
<{input class="dailog-batch-ipt" type="select" name='new_group_id' rows=$groups valueColumn="group_id" labelColumn="name"}>
</td>
</tr>
<tr>
<th>订单操作员:</th>
<td><{input class="dailog-batch-ipt" type="select" name='new_op_id'}></td>
</tr>
</tbody>
</table>
<script>
(function(){
$E('select[name=new_group_id]').addEvent('change',function(){
var group_id = this.value;
var selected_op_id = $E('select[name=new_op_id]').value;
W.page('index.php?app=ome&ctl=admin_group&act=get_op&p[0]='+group_id+'&p[1]='+selected_op_id+'&p[2]=true',{
update:$E('select[name=new_op_id]'),
onRequest:function(){
$E('select[name=new_op_id]').empty();
}
});
});
})();
</script>