|
@ -62,6 +62,7 @@ |
|
|
import uom from '@/mycomponents/qty/uom.vue' |
|
|
import uom from '@/mycomponents/qty/uom.vue' |
|
|
import stdUom from '@/mycomponents/qty/stdUom.vue' |
|
|
import stdUom from '@/mycomponents/qty/stdUom.vue' |
|
|
import packUnit from '@/mycomponents/qty/packUnit.vue' |
|
|
import packUnit from '@/mycomponents/qty/packUnit.vue' |
|
|
|
|
|
import { nextTick } from 'vue'; |
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
|
uom, |
|
|
uom, |
|
@ -136,8 +137,12 @@ |
|
|
this.recommendQty = Number(recommendQty); |
|
|
this.recommendQty = Number(recommendQty); |
|
|
this.labelQty = Number(labelQty); |
|
|
this.labelQty = Number(labelQty); |
|
|
this.allQty = Number(handleQty) |
|
|
this.allQty = Number(handleQty) |
|
|
|
|
|
// this.dataContent = item |
|
|
|
|
|
// console.log(333,this.allQty) |
|
|
|
|
|
// console.log(222,this.dataContent.packQty) |
|
|
setTimeout(res => { |
|
|
setTimeout(res => { |
|
|
this.$refs.popup.open('bottom') |
|
|
this.$refs.popup.open('bottom') |
|
|
|
|
|
this.stdCount = Math.ceil(this.allQty / this.dataContent.packQty); |
|
|
}, 500) |
|
|
}, 500) |
|
|
}, |
|
|
}, |
|
|
openRecordEditPopup(labelQty) { |
|
|
openRecordEditPopup(labelQty) { |
|
|