Merge branch 'sprint/master_zhouxudong_54491_1' into 'master'
* Finish task #54491 See merge request easycorp/zentaopms!3495
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$config->product = new stdclass();
|
||||
$config->product->orderBy = 'isClosed,order_desc';
|
||||
$config->product->orderBy = 'isClosed,program_asc,order_asc';
|
||||
|
||||
$config->product->customBatchEditFields = 'line,PO,QD,RD,status,type,acl';
|
||||
if($config->systemMode == 'new') $config->product->customBatchEditFields = 'program,' . $config->product->customBatchEditFields;
|
||||
|
||||
@@ -1197,7 +1197,7 @@ class product extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function all($browseType = 'noclosed', $orderBy = 'program_asc', $param = 0, $recTotal = 0, $recPerPage = 20, $pageID = 1)
|
||||
public function all($browseType = 'noclosed', $orderBy = 'program_asc,order_asc', $param = 0, $recTotal = 0, $recPerPage = 20, $pageID = 1)
|
||||
{
|
||||
/* Load module and set session. */
|
||||
$this->loadModel('program');
|
||||
|
||||
@@ -13,7 +13,9 @@ $(function()
|
||||
/* Set movable conditions. */
|
||||
canMoveHere: function($ele, $target)
|
||||
{
|
||||
return $ele.data('parent') === $target.data('parent');
|
||||
var canMove = true;
|
||||
if($ele.hasClass('no-nest')) canMove = $target.hasClass('no-nest') ? true : false;
|
||||
return $ele.data('parent') === $target.data('parent') && canMove;
|
||||
},
|
||||
start: function(e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user