diff --git a/mycomponents/detail/comDetailCard.vue b/mycomponents/detail/comDetailCard.vue index bfabce80..9afaf97d 100644 --- a/mycomponents/detail/comDetailCard.vue +++ b/mycomponents/detail/comDetailCard.vue @@ -9,7 +9,8 @@ + :right-options="item.scaned?scanOptions:detailOptions" + style='padding:0px 0px 5px 0px;align-items: center;'> @@ -36,7 +37,7 @@ } from '@/common/array.js'; export default { - emits: ['openDetail',"updateData"], + emits: ['openDetail', "updateData"], components: { itemCompareQty, recommend, @@ -78,7 +79,7 @@ return { option: [], showItem: {}, - locatonItem:{}, + locatonItem: {}, editItem: {}, detailOptions: [], scanOptions: [] @@ -101,7 +102,7 @@ this.detail(item) } else if (e.content.text == "编辑") { this.edit(item) - } else if (e.content.text == "库位") { + } else if (e.content.text == "库位") { this.showLocation(item) } else if (e.content.text == "移除") { this.remove(item) @@ -139,7 +140,7 @@ }, //扫描源库位 getLocation(location, code) { - this.locatonItem.toLocationCode =code; + this.locatonItem.toLocationCode = code; this.$emit('updateData') }, } diff --git a/mycomponents/recommend/recommend.vue b/mycomponents/recommend/recommend.vue index c2057ba2..37fc81cc 100644 --- a/mycomponents/recommend/recommend.vue +++ b/mycomponents/recommend/recommend.vue @@ -1,5 +1,5 @@