|
@@ -19,12 +19,12 @@
|
|
<body>
|
|
<body>
|
|
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
<span class="c-gray en">/</span> PST管理
|
|
<span class="c-gray en">/</span> PST管理
|
|
- <span class="c-gray en">/</span> 生产计划列表
|
|
|
|
|
|
+ <span class="c-gray en">/</span> 工作计划列表
|
|
<a class="btn radius r" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
<a class="btn radius r" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
</nav>
|
|
</nav>
|
|
<div class="text-c" style="margin-top: 20px;">
|
|
<div class="text-c" style="margin-top: 20px;">
|
|
<form action="${path}/admin/productionPlan/select_productionPlan_list" method="post">
|
|
<form action="${path}/admin/productionPlan/select_productionPlan_list" method="post">
|
|
- <button type="button" class="my-btn-search" onclick="add_employee('添加生产计划','${path}/admin/productionPlan/to_addProductionPlan','970','750');" style="cursor:pointer; margin-right: 50px;">添加生产计划</button>
|
|
|
|
|
|
+ <button type="button" class="my-btn-search" onclick="add_employee('${path}/admin/productionPlan/to_addProductionPlan');" style="cursor:pointer; margin-right: 50px;">添加工作计划</button>
|
|
<input class="my-input" style="width: 12%;" type="text" value="<#if planDate??>${planDate?string("yyyy-MM-dd")!''}</#if>" name="plan_Date" id="plan_Date" onClick="WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d'})" placeholder="工作计划日期" readonly="readonly"/>
|
|
<input class="my-input" style="width: 12%;" type="text" value="<#if planDate??>${planDate?string("yyyy-MM-dd")!''}</#if>" name="plan_Date" id="plan_Date" onClick="WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d'})" placeholder="工作计划日期" readonly="readonly"/>
|
|
<select class="my-select" id="planProcessId" name="planProcessId" style="width: 12%;">
|
|
<select class="my-select" id="planProcessId" name="planProcessId" style="width: 12%;">
|
|
<option value="">请选择工序</option>
|
|
<option value="">请选择工序</option>
|
|
@@ -45,6 +45,8 @@
|
|
<th width="100">拉线</th>
|
|
<th width="100">拉线</th>
|
|
<th width="100">工序</th>
|
|
<th width="100">工序</th>
|
|
<th width="100">员工数量</th>
|
|
<th width="100">员工数量</th>
|
|
|
|
+ <th width="100">工作时长</th>
|
|
|
|
+ <th width="100">工作成果</th>
|
|
<th width="100">更新时间</th>
|
|
<th width="100">更新时间</th>
|
|
<th width="100">操作</th>
|
|
<th width="100">操作</th>
|
|
</tr>
|
|
</tr>
|
|
@@ -57,17 +59,21 @@
|
|
<td class="text-c" width="100">${list.planStay!''}</td>
|
|
<td class="text-c" width="100">${list.planStay!''}</td>
|
|
<td class="text-c" width="100">${list.processName!''}</td>
|
|
<td class="text-c" width="100">${list.processName!''}</td>
|
|
<td class="text-c" width="100">${list.employeesNum!''}</td>
|
|
<td class="text-c" width="100">${list.employeesNum!''}</td>
|
|
|
|
+ <td class="text-c" width="100">${list.planWorkHours!''}</td>
|
|
|
|
+ <td class="text-c" width="100">${list.planResults!''}</td>
|
|
<td class="text-c" width="100">${(list.planUpdateTime?string("yyyy-MM-dd HH:mm:ss"))!''!''}</td>
|
|
<td class="text-c" width="100">${(list.planUpdateTime?string("yyyy-MM-dd HH:mm:ss"))!''!''}</td>
|
|
<!-- 遍历操作 -->
|
|
<!-- 遍历操作 -->
|
|
<td class="td-manage text-c">
|
|
<td class="td-manage text-c">
|
|
- <a onclick="add_employee('编辑','${path}/admin/productionPlan/to_update_productionPlan?planId='+${list.planId!''},'970','750');" title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none">编辑</a>
|
|
|
|
|
|
+ <a onclick="add_employee('${path}/admin/productionPlan/to_update_productionPlan?planId='+${list.planId!''});" title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none">编辑</a>
|
|
<a onclick="delProductionPlan(${list.planId!''});" title="删除生产计划" href="javascript:;" class="ml-5" style="text-decoration:none">删除</a>
|
|
<a onclick="delProductionPlan(${list.planId!''});" title="删除生产计划" href="javascript:;" class="ml-5" style="text-decoration:none">删除</a>
|
|
- <a onclick="add_employee('完善生产计划','${path}/admin/productionPlan/to_perfect_productionPlan?planId='+${list.planId!''},'970','750');" title="完善工作计划" href="javascript:;" class="ml-5" style="text-decoration:none">完善工作计划</a>
|
|
|
|
- </td>
|
|
|
|
|
|
+ <#if !list.planWorkHours??>
|
|
|
|
+ <a onclick="add_employee('${path}/admin/productionPlan/to_perfect_productionPlan?planId='+${list.planId!''});" title="完善工作计划" href="javascript:;" class="ml-5" style="text-decoration:none">完善工作计划</a>
|
|
|
|
+ </#if>
|
|
|
|
+ </td>
|
|
</tr>
|
|
</tr>
|
|
</#list>
|
|
</#list>
|
|
<#else>
|
|
<#else>
|
|
- <tr><td id="noMachineTr" colspan="11" class="td-manage text-c" >暂时没有生产计划,请添加!</td></tr>
|
|
|
|
|
|
+ <tr><td id="noMachineTr" colspan="11" class="td-manage text-c" >暂时没有工作计划,请添加!</td></tr>
|
|
</#if>
|
|
</#if>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
@@ -86,8 +92,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- function add_employee(title,url,w,h){
|
|
|
|
|
|
+ /*function add_employee(title,url,w,h){
|
|
layer_show(title,url,w,h);
|
|
layer_show(title,url,w,h);
|
|
|
|
+ }*/
|
|
|
|
+ function add_employee(url) {
|
|
|
|
+ window.location.href= url;
|
|
}
|
|
}
|
|
|
|
|
|
/*删除计划*/
|
|
/*删除计划*/
|