|
|
@@ -37,8 +37,8 @@
|
|
|
</view>
|
|
|
<text class="bottom-button" @click.stop="moreAction(info)">更多</text>
|
|
|
<text class="bottom-button" @click.stop="goToStockDetail(info)">库存明细</text>
|
|
|
- <text class="bottom-button" @click.stop="breakSingleItem(info)">拆 1 份</text>
|
|
|
- <text class="bottom-button" @click.stop="doPrintLabel(info.id)">打标签</text>
|
|
|
+ <text class="bottom-button" @click.stop="doPrintLabel(info,0)">打标签</text>
|
|
|
+ <text class="bottom-button" @click.stop="doPrintLabel(info,1)">打价码</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -65,8 +65,8 @@ export default {
|
|
|
moreAction(item){
|
|
|
this.$emit('moreAction', item)
|
|
|
},
|
|
|
- doPrintLabel(item){
|
|
|
- this.$emit('doPrintLabel', item)
|
|
|
+ doPrintLabel(item,type){
|
|
|
+ this.$emit('doPrintLabel', item.id,type)
|
|
|
},
|
|
|
goToStockDetail(item){
|
|
|
this.$util.pageTo({url: "/pagesStorehouse/stockWarn/detailed?id="+item.id+'&name='+item.name})
|
|
|
@@ -77,7 +77,6 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
<style lang="scss" scoped>
|
|
|
.product{
|
|
|
height:230upx;
|