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