This commit is contained in:
tianshujie
2024-01-11 09:54:14 +08:00
parent 4ce033e984
commit fe5995d9cd
+1 -1
View File
@@ -6,7 +6,7 @@ window.checkUnlink = function()
const productID = +$elem.val();
if(unmodifiableProducts.includes(productID))
{
const $branch = $elem.closest('.product-block').find('[name^=branch]');
const $branch = $elem.closest('.product-block').find('.pick-value[name^=branch]');
if($branch.length)
{
const branchID = +$branch.val();