Browse Source

PDA预生产报工和装配报工扫描箱码编辑页面包装个数不正确

hella_online_20240829
zhang_li 3 months ago
parent
commit
f196c2c4e8
  1. 5
      src/mycomponents/qty/recommendQtyEdit.vue

5
src/mycomponents/qty/recommendQtyEdit.vue

@ -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) {

Loading…
Cancel
Save