* Set branch value.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
window.handleRenderRow = function($row, index, row)
|
||||
{
|
||||
/* Set the branches for the row. */
|
||||
if(branchProduct)
|
||||
{
|
||||
$row.find('.form-batch-control[data-name="branch"] .picker-box').on('inited', function(e, info)
|
||||
{
|
||||
let $branch = info[0];
|
||||
$branch.$.setValue(row.branch);
|
||||
});
|
||||
}
|
||||
/* Set the modules for the row. */
|
||||
$row.find('.form-batch-control[data-name="module"] .picker-box').on('inited', function(e, info)
|
||||
{
|
||||
|
||||
@@ -10,11 +10,13 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
jsVar('modulePairs', $modulePairs);
|
||||
jsVar('scenePairs', $scenePairs);
|
||||
jsVar('productID', $productID);
|
||||
jsVar('products', $products);
|
||||
jsVar('cases', $cases);
|
||||
jsVar('branchProduct', $branchProduct);
|
||||
jsVar('branchOption', $branchTagOption[$productID]);
|
||||
jsVar('modulePairs', $modulePairs);
|
||||
jsVar('scenePairs', $scenePairs);
|
||||
jsVar('productID', $productID);
|
||||
jsVar('products', $products);
|
||||
jsVar('cases', $cases);
|
||||
|
||||
if(isset($suhosinInfo))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user