Cleanup some receiving cruft
This commit is contained in:
parent
6666857a0b
commit
31cebd28c2
|
@ -101,7 +101,7 @@
|
||||||
<div v-if="shouldShowQuickReceive">
|
<div v-if="shouldShowQuickReceive">
|
||||||
<slot name="quick-receive">
|
<slot name="quick-receive">
|
||||||
<!-- only show quick-receive if we have an identifiable product -->
|
<!-- only show quick-receive if we have an identifiable product -->
|
||||||
<div v-if="shouldShowQuickReceive" class="buttons">
|
<div class="buttons">
|
||||||
<b-button v-if="row.quick_receive_all"
|
<b-button v-if="row.quick_receive_all"
|
||||||
type="is-primary"
|
type="is-primary"
|
||||||
@click="addQuickAmount(row.quick_receive_quantity, row.quick_receive_uom)"
|
@click="addQuickAmount(row.quick_receive_quantity, row.quick_receive_uom)"
|
||||||
|
@ -256,11 +256,9 @@ export default {
|
||||||
},
|
},
|
||||||
shouldShowQuickReceive() {
|
shouldShowQuickReceive() {
|
||||||
if (!this.row.quick_receive) {
|
if (!this.row.quick_receive) {
|
||||||
console.log("row says not to")
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if (!this.row.product_uuid) {
|
if (!this.row.product_uuid) {
|
||||||
console.log("row has no product")
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue