twt 3 vuotta sitten
vanhempi
commit
e46fdf9f2b
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6 6
      pages/module/maintain.vue

+ 6 - 6
pages/module/maintain.vue

@@ -59,9 +59,9 @@
 										<view class="goodsCont">
 											<view class="goodsContTop">
 												<view class="goodsItemName">{{v.showName}}</view>
-												<view class="replaceBox" @click.stop="replace(vf,index,findex,i)">
+												<view class="replaceBox"  v-if="vf.goodsList.length>1" @click.stop="replace(vf,index,findex,i)">
 													<!-- <view class="replace"  v-if="vf.goodsList.length>1&&!v.gh">更换</view> -->
-													<view class="replace"  v-if="vf.goodsList.length>1">更换</view>
+													<view class="replace" >更换</view>
 												</view>
 												
 											</view>
@@ -643,7 +643,7 @@ export default {
 																goodsList:addArr,
 																del:true,
 																
-																//tpn:true,
+																tpn:true,
 															}
 															addDta.goodsList.forEach(add=>{
 																add.del=true;
@@ -669,7 +669,7 @@ export default {
 																goodsGroupDetail:goods.goodsGroupDetail,
 															  	goodsList:addArr,
 															  	del:true,
-																//tpn:true,
+																tpn:true,
 																//gh:true,
 															  }
 															  addDta.goodsList.forEach(add=>{
@@ -999,7 +999,7 @@ export default {
 															goodsGroupDetail:goods.goodsGroupDetail,
 															goodsList:addArr,
 															del:true,
-															//tpn:true,
+															tpn:true,
 														}
 														addDta.goodsList.forEach(add=>{
 															add.del=true;
@@ -1024,7 +1024,7 @@ export default {
 															goodsGroupDetail:goods.goodsGroupDetail,
 														  	goodsList:addArr,
 														  	del:true,
-															//tpn:true,
+															tpn:true,
 														  }
 														  addDta.goodsList.forEach(add=>{
 														  	add.del=true;