删除无用的注释和文件
This commit is contained in:
@@ -77,7 +77,6 @@ class MaterialController extends DefaultController
|
||||
]);
|
||||
}
|
||||
|
||||
// 新建
|
||||
public function createAction($action = 'edit')
|
||||
{
|
||||
$id = (int)Request::get('id');
|
||||
@@ -87,7 +86,6 @@ class MaterialController extends DefaultController
|
||||
], 'create');
|
||||
}
|
||||
|
||||
// 创建
|
||||
public function editAction()
|
||||
{
|
||||
return $this->createAction('edit');
|
||||
@@ -275,7 +273,6 @@ class MaterialController extends DefaultController
|
||||
return $this->json('配方保存成功。', true);
|
||||
}
|
||||
|
||||
// 删除
|
||||
public function deleteAction()
|
||||
{
|
||||
if (Request::method() == 'POST') {
|
||||
@@ -284,9 +281,6 @@ class MaterialController extends DefaultController
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 弹出层信息
|
||||
*/
|
||||
public function dialogAction()
|
||||
{
|
||||
$search = search_form([
|
||||
|
||||
@@ -59,7 +59,6 @@ class PlanController extends WorkflowController
|
||||
}
|
||||
|
||||
$header['buttons'] = [
|
||||
//['name' => '删除', 'icon' => 'fa-remove', 'action' => 'delete', 'display' => $this->access['delete']],
|
||||
['name' => '导出', 'icon' => 'fa-share', 'action' => 'export', 'display' => 1],
|
||||
];
|
||||
|
||||
@@ -167,7 +166,6 @@ class PlanController extends WorkflowController
|
||||
]);
|
||||
}
|
||||
|
||||
// 新建
|
||||
public function createAction($action = 'edit')
|
||||
{
|
||||
$id = (int)Request::get('id');
|
||||
@@ -177,19 +175,16 @@ class PlanController extends WorkflowController
|
||||
], 'create');
|
||||
}
|
||||
|
||||
// 审核
|
||||
public function auditAction()
|
||||
{
|
||||
return $this->createAction('edit');
|
||||
}
|
||||
|
||||
// 创建
|
||||
public function editAction()
|
||||
{
|
||||
return $this->createAction('edit');
|
||||
}
|
||||
|
||||
// 创建
|
||||
public function showAction()
|
||||
{
|
||||
return $this->createAction('show');
|
||||
@@ -211,7 +206,6 @@ class PlanController extends WorkflowController
|
||||
return $this->json($rows, true);
|
||||
}
|
||||
|
||||
// 删除
|
||||
public function deleteAction()
|
||||
{
|
||||
if (Request::method() == 'POST') {
|
||||
|
||||
@@ -7,13 +7,11 @@ use Gdoo\Stock\Services\StockService;
|
||||
class ProduceService
|
||||
{
|
||||
/**
|
||||
* 获取开票单位锁定金额
|
||||
* 获取生产计划
|
||||
*
|
||||
* @i_UserID
|
||||
* @i_UserName
|
||||
*@i_Date 日期
|
||||
* @i_DeptId 车间
|
||||
* @i_IsCalAgain 是否重新计算
|
||||
* @date 日期
|
||||
* @department_id 车间
|
||||
* @isCalAgain 是否重新计算
|
||||
*/
|
||||
public static function getMaterialPlanDay($date, $department_id, $isCalAgain)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user