admin_priv('stock_out_type'); $remarks = $_POST['remarks']; $add_time = gmtime(); $user_id = $_SESSION[admin_id]; $admin_agency_id = admin_agency_id(); $ip_addr = real_ip(); $sql = "INSERT INTO " . $ecs->table('stock_out_type') . "(remarks, add_time, user_id, if_delete, ip_addr, admin_agency_id ) " . "VALUES ('{$remarks}', '{$add_time}', '{$user_id}', '0', '{$ip_addr}', '{$admin_agency_id}')"; $db->query($sql); clear_cache_files(); // 清除相关的缓存文件 $link[0]['text'] = "操作成功"; $link[0]['href'] = 'stock_out_type.php?act=list'; sys_msg("出库类型添加操作成功", 0, $link); } elseif ($_REQUEST['act'] == 'query') { check_authz_json('stock_out_type'); $type_list = get_typelist(); /*判断代理商或管理员*/ if (if_agency()) { $smarty->assign('if_agency', if_agency()); } $smarty->assign('type_list', $type_list['arr']); $smarty->assign('filter', $type_list['filter']); $smarty->assign('record_count', $type_list['record_count']); $smarty->assign('page_count', $type_list['page_count']); make_json_result($smarty->fetch('stock_out_type_list.htm'), '', array('filter' => $type_list['filter'], 'page_count' => $type_list['page_count'])); } elseif ($_REQUEST['act'] == 'remove') { check_authz_json('stock_out_type'); $id = intval($_REQUEST['id']); /*add by hg for date 2014-03-26 判断代理商是否非法操作商品*/ //static_goods($_REQUEST['goods_id']); /*end*/
$conferenceroom = $user['conferenceroom']; } get_pubuser(2, "attendance", $attendance, "+选择出席人", 60, 4); ?> </td> </tr> <tr> <td nowrap class="TableContent" width="100"> 会议室:<?php get_helps(); ?> </td> <td class="TableData"> <select name="conferenceroom" id="conferenceroom" class="BigStatic"> <option value=" " selected="selected">默认会议室</option> <?php echo get_typelist($conferenceroom, 1); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="100"> 附件:</td> <td class="TableData"> <?php echo public_upload('appendix', $user['appendix']); ?> </td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center">
" /></td> </tr> <tr> <td nowrap class="TableContent" width="150">培训类型:</td> <td class="TableData"><select name="channel" class="BigStatic"> <option value="0" selected="selected">请选择类型</option> <?php echo get_typelist($user['channel'], 17); ?> </select></td> <td class="TableContent" width="150">培训形式:</td> <td class="TableData"><select name="trform" class="BigStatic"> <option value="0" selected="selected">请选择形式</option> <?php echo get_typelist($user['trform'], 18); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="150">主办部门:</td> <td class="TableData"><?php get_depabox(2, "sponsor", $user['sponsor'], "+选择部门", 30, 4); ?> </td> <td class="TableContent" width="150">负责人:<?php get_helps(); ?> </td> <td class="TableData"><?php get_pubuser(2, "responsible", $user['responsible'], "+选择负责人", 30, 4);
get_helps(); ?> </td> <td class="TableData"> <input type="text" name="jobpost" class="BigInput" style="width:268px;" size="20" value="<?php echo $blog['jobpost']; ?> " /></td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 招聘渠道:</td> <td class="TableData"> <select name="channel" class="BigStatic"> <option value="0" selected="selected">请选择渠道</option> <?php echo get_typelist($blog['channel'], 16); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 招聘费用:</td> <td class="TableData"> <input type="text" name="price" class="BigInput" size="15" value="<?php echo $blog['price']; ?> " onKeyUp="value=value.replace(/[^0-9^.]/g,'');" /> RMB</td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 开始日期:<?php get_helps();
<option value="0" ></option> <?php get_postlist(0, 0); ?> </select> </td> </tr> <tr> <td nowrap class="TableContent"> 学历:<?php get_helps(); ?> </td> <td class="TableData"><select name="education" class="BigStatic"> <option value="0" selected="selected">请选择学历</option> <?php echo get_typelist(0, 10); ?> </select> </td> </tr> <tr> <td nowrap class="TableContent"> 附件简历:</td> <td class="TableData"> <?php echo public_upload('appendix', ''); ?> </td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center">
</td> <td class="TableData"> <select name="conferenceroom" id="conferenceroom" class="BigStatic"> <option value=" " selected="selected">默认会议室</option> <?php echo get_typelist($user['conferenceroom'], 1); ?> </select></td> </tr> <tr> <td nowrap class="TableContent"> 会议类别:</td> <td class="TableData"> <select name="otype" class="BigStatic"> <option value=" " selected="selected">默认会议类别</option> <?php echo get_typelist($user['otype'], 2); ?> </select></td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center"> <tr> <td nowrap class="TableContent" width="104" style="border-right:#cccccc solid 1px;">内容:<?php get_helps(); ?> </td> <td class="TableData" style="padding-top:10px; padding-bottom:10px; padding-left:3px;"> <script>
<label class="ui-form-label" for="J-start">岗位:</label> <div class="ui-form-content"> <select class="BigStatic" name="job"> <option value="0" ></option> <?php get_postlist(0, $job); ?> </select> </div> <label class="ui-form-label" for="J-start">学历:</label> <div class="ui-form-content"> <select name="education" class="BigStatic"> <option value="0" selected="selected">请选择学历</option> <?php echo get_typelist($education, 10); ?> </select> </div> <div class="submit-time-container "> <div class="submit-time ui-button ui-button-sorange"> <input type="submit" class="ui-button-text"id="J-submit-time" value="查 找"/> </div> </div> </div> </div> </div> </div><!-- .record-search --> </form>
<label class="ui-form-label" for="J-start">计划周期:</label> <div class="ui-form-content"> <input type="text" value="<?php echo $vstartdate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='vstartdate' style="width:60px;"> - <input type="text" value="<?php echo $venddate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='venddate' style="width:60px;"> </div> <label class="ui-form-label" for="J-start">招聘渠道:</label> <div class="ui-form-content"> <select name="channel" class="BigStatic"> <option value="0" selected="selected">请选择渠道</option> <?php echo get_typelist($channel, 16); ?> </select> </div> <div class="submit-time-container "> <div class="submit-time ui-button ui-button-sorange"> <input type="submit" class="ui-button-text"id="J-submit-time" value="查 找"/> </div> </div> </div> </div> </div> </div><!-- .record-search --> </form>
</div> <label class="ui-form-label" for="J-start">培训类型:</label> <div class="ui-form-content"> <select name="channel" class="BigStatic"> <option value="0" selected="selected">请选择类型</option> <?php echo get_typelist($channel, 17); ?> </select> </div> <label class="ui-form-label" for="J-start">培训形式:</label> <div class="ui-form-content"> <select name="trform" class="BigStatic"> <option value="0" selected="selected">请选择形式</option> <?php echo get_typelist($trform, 18); ?> </select> </div> <br><br> <label class="ui-form-label" for="J-start">培训周期:</label> <div class="ui-form-content"> <input type="text" value="<?php echo $vstartdate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='vstartdate' > - <input type="text" value="<?php echo $venddate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='venddate' > </div>
<td nowrap class="TableContent" width="130"> 合同类型:</td> <td class="TableData"> <select name="type" class="BigStatic"> <option value="0" selected="selected">请选择类型</option> <?php echo get_typelist($blog['type'], 14); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="130"> 合同状态:</td> <td class="TableData"> <select name="ckey" class="BigStatic"> <option value="0" selected="selected">请选择状态</option> <?php echo get_typelist($blog['ckey'], 15); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="130"> 合同签订日期:<?php get_helps(); ?> </td> <td class="TableData"> <input type="text" name="signdate" class="BigInput" style="width:168px;" size="20" value="<?php echo $blog['signdate']; ?> " onClick="WdatePicker();" /></td> </tr> <tr>
<option value="0" ></option> <?php get_postlist(0, $blog['job']); ?> </select> </td> </tr> <tr> <td nowrap class="TableContent"> 学历:<?php get_helps(); ?> </td> <td class="TableData"><select name="education" class="BigStatic"> <option value="0" selected="selected">请选择学历</option> <?php echo get_typelist($blog['education'], 10); ?> </select> </td> </tr> <tr> <td nowrap class="TableContent"> 附件简历:</td> <td class="TableData"> <?php echo public_upload('appendix', $blog['appendix']); ?> </td> </tr> </table> <table width="90%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center">
get_helps(); ?> </td> <td class="TableData"><?php get_pubuser(1, "user", $user['user'], "+选择人员", 70, 20); ?> </td> <td class="TableContent" width="100">奖惩项目:<?php get_helps(); ?> </td> <td class="TableData"> <select name="project" class="BigStatic"> <option value="0" selected="selected">请选择项目</option> <?php echo get_typelist($user['project'], 19); ?> </select></td> </tr> <tr> <td nowrap class="TableContent" width="100">奖惩日期:<?php get_helps(); ?> </td> <td class="TableData"><input type="text" name="rewardsdate" class="BigInput" style="width:168px;" size="20" value="<?php echo $user['rewardsdate']; ?> " onClick="WdatePicker();" /></td> <td class="TableContent" width="100">工资月份:</td> <td class="TableData"> <select name="wagesmonth_year" class="BigStatic">
</div> <label class="ui-form-label" for="J-start">合同类型:</label> <div class="ui-form-content"> <select name="type" class="BigStatic"> <option value="0" selected="selected">请选择类型</option> <?php echo get_typelist($type, 14); ?> </select> </div> <label class="ui-form-label" for="J-start">合同状态:</label> <div class="ui-form-content"> <select name="ckey" class="BigStatic"> <option value="0" selected="selected" >请选择状态</option> <?php echo get_typelist($ckey, 15); ?> </select> </div> <br><br> <label class="ui-form-label" for="J-start">签订日期:</label> <div class="ui-form-content"> <input type="text" value="<?php echo $signdate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='signdate' > </div> <label class="ui-form-label" for="J-start" style="width:100px;">试用生效日期:</label> <div class="ui-form-content"> <input type="text" value="<?php
</tr> <tr> <td nowrap class="TableContent" width="15%"> 计划名称:<?php get_helps(); ?> </td> <td class="TableData"> <input type="text" name="jobpost" class="BigInput" style="width:268px;" size="20" value="" /></td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 招聘渠道:</td> <td class="TableData"> <select name="channel" class="BigStatic"> <option value="0" selected="selected">请选择渠道</option> <?php echo get_typelist(0, 16); ?> </select> 还没有渠道? <a href="admin.php?ac=type&fileurl=office&otype=16&muid=133&numberid=145">点击添加渠道>> </a></td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 招聘费用:</td> <td class="TableData"> <input type="text" name="price" class="BigInput" size="15" value="" onKeyUp="value=value.replace(/[^0-9^.]/g,'');"/> RMB</td> </tr> <tr> <td nowrap class="TableContent" width="15%"> 开始日期:<?php get_helps(); ?> </td> <td class="TableData">