This commit is contained in:
sunguangming
2023-12-26 13:26:54 +08:00
parent fec05420fc
commit 5e3d5c2f9f
+1 -1
View File
@@ -394,7 +394,7 @@ window.loadBranches = function(product)
{
let productID = $(this).val();
if(productID > 0 && chosenProducts.indexOf(productID) == -1) chosenProducts.push(productID);
if($product.val() != 0 && $product.val() == $(this).val() && $product.attr('id') != $(this).attr('id') && !multiBranchProducts[$product.val()])
if($product.val() != 0 && $product.val() == $(this).val() && $product.attr('id') != $(this).attr('id'))
{
zui.Modal.alert(errorSameProducts);
$(`#${product.id}`).zui('picker').$.setValue(0);