Merge branch 'sprint/master_zhouxudong_54491_1' into 'master'

* Finish task #54491

See merge request easycorp/zentaopms!3495
This commit is contained in:
王怡栋
2022-05-19 00:55:52 +00:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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');
+3 -1
View File
@@ -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)
{