|
@@ -944,7 +944,7 @@ $(document).ready(() => {
|
|
|
const exist = c.bills.find(x => {
|
|
const exist = c.bills.find(x => {
|
|
|
return x.code === price.b_code && x.name === price.name && x.unit === price.unit && x.unit_price === price.org_price;
|
|
return x.code === price.b_code && x.name === price.name && x.unit === price.unit && x.unit_price === price.org_price;
|
|
|
});
|
|
});
|
|
|
- c.visible = !exist;
|
|
|
|
|
|
|
+ c.visible = !!exist;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
$('#choose-rela-change').modal('show');
|
|
$('#choose-rela-change').modal('show');
|