Browse Source

修改生产收料显示不全

wms3.0_pda
lijuncheng 10 months ago
parent
commit
2a4701138f
  1. 14
      mycomponents/detail/comDetailCard.vue
  2. 14
      pages/productReceipt/coms/comProductDetailCard.vue
  3. 4
      pages/productionReturn/coms/comReturnDetailCard.vue

14
mycomponents/detail/comDetailCard.vue

@ -73,7 +73,19 @@
}, },
}, },
watch: { watch: {
dataContent: {
handler(newName, oldName) {
if (this.dataContent.subList.length > 0) {
if (this.$refs.collapse1 != undefined && this.$refs.collapse1 != null) {
this.$nextTick(res => {
this.$refs.collapse1.resize()
})
}
}
},
immediate: true,
deep: true
}
}, },
data() { data() {

14
pages/productReceipt/coms/comProductDetailCard.vue

@ -69,7 +69,19 @@
}, },
watch: { watch: {
dataContent: {
handler(newName, oldName) {
if (this.dataContent.subList.length > 0) {
if (this.$refs.collapse1 != undefined && this.$refs.collapse1 != null) {
this.$nextTick(res => {
this.$refs.collapse1.resize()
})
}
}
},
immediate: true,
deep: true
}
}, },
data() { data() {

4
pages/productionReturn/coms/comReturnDetailCard.vue

@ -62,8 +62,8 @@
default: {} default: {}
}, },
locationTypeList: { locationTypeList: {
type: Object, type: Array,
default: {} default: []
}, },

Loading…
Cancel
Save