|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="item-cmd_bx" @click="showAddModelFn()">
|
|
|
|
|
|
|
+ <view class="item-cmd_bx" @click.stop="showAddModelFn()">
|
|
|
<view class="img_bx" style="background:#eeeeee">
|
|
<view class="img_bx" style="background:#eeeeee">
|
|
|
<block v-if="info.frontHide == 1">
|
|
<block v-if="info.frontHide == 1">
|
|
|
<view class="sold-out">
|
|
<view class="sold-out">
|
|
@@ -18,7 +18,7 @@
|
|
|
{{ info.name || "" }}
|
|
{{ info.name || "" }}
|
|
|
<text v-if="info.variety && info.variety ==1" class="show-color"></text>
|
|
<text v-if="info.variety && info.variety ==1" class="show-color"></text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="kc" style="position:absolute;top:55upx;">
|
|
|
|
|
|
|
+ <view class="kc" style="position:absolute;top:55upx;z-index:99" @click.stop="copyCreate()">
|
|
|
<block v-if="info.ratioType == 0">{{info.ratio}}{{info.smallUnit}}/{{info.bigUnit}}</block>
|
|
<block v-if="info.ratioType == 0">{{info.ratio}}{{info.smallUnit}}/{{info.bigUnit}}</block>
|
|
|
<block v-else>若干{{info.smallUnit}}/{{info.bigUnit}}</block>
|
|
<block v-else>若干{{info.smallUnit}}/{{info.bigUnit}}</block>
|
|
|
</view>
|
|
</view>
|
|
@@ -107,6 +107,9 @@ export default {
|
|
|
this.userPrice = this.info.userPrice
|
|
this.userPrice = this.info.userPrice
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ copyCreate(){
|
|
|
|
|
+ this.pageTo({url: '/admin/item/copy?id='+this.info.id})
|
|
|
|
|
+ },
|
|
|
delProduct(info){
|
|
delProduct(info){
|
|
|
this.$emit("delProduct", info)
|
|
this.$emit("delProduct", info)
|
|
|
},
|
|
},
|