Commit 5c44cfa0 by wangzhihui

套餐别名

1 parent ee2e73f1
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</block> </block>
</view> </view>
<!-- <checkbox value="{{item.packageCode}}" active="{{item.active}}" /> --> <!-- <checkbox value="{{item.packageCode}}" active="{{item.active}}" /> -->
<view class="packageName" catchtap="choose" data-index="{{ index }}">{{item.packageGoods.packageName}}</view> <view class="packageName" catchtap="choose" data-index="{{ index }}">{{item.packageGoods.packageAlias||item.packageGoods.packageName}}</view>
<block wx:if="{{ !item.active }}"> <block wx:if="{{ !item.active }}">
<view class="total-price">¥{{item.packageGoods.upgradePrice}}</view> <view class="total-price">¥{{item.packageGoods.upgradePrice}}</view>
</block> </block>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<view class="item-bd" catchtap="choose" data-index="{{ index }}"> <view class="item-bd" catchtap="choose" data-index="{{ index }}">
<view class="upgrade-item" wx:for="{{ item.packageGoods.goodsList }}" wx:for-item="i" wx:for-index="ind"> <view class="upgrade-item" wx:for="{{ item.packageGoods.goodsList }}" wx:for-item="i" wx:for-index="ind">
<view class="dot"></view> <view class="dot"></view>
<view class="name">{{i.upgradeGoodsAlias||i.upgradeGoodsName}}</view> <view class="name">{{i.goodsAlias||i.upgradeGoodsAlias||i.upgradeGoodsName}}</view>
<view class="price">¥{{i.sellPrice}}</view> <view class="price">¥{{i.sellPrice}}</view>
</view> </view>
</view> </view>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<view class="name "> <view class="name ">
<!-- --> <!-- -->
<view wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}"> <view wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}">
{{item.multipleSpecificationsGoods.goods.goodsAlias}} 商品别名:{{item.multipleSpecificationsGoods.goods.goodsAlias}}
</view> </view>
<view>{{item.multipleSpecificationsGoods.baseGoodsName}}</view> <view>{{item.multipleSpecificationsGoods.baseGoodsName}}</view>
...@@ -146,5 +146,5 @@ ...@@ -146,5 +146,5 @@
</van-collapse> </van-collapse>
<Gl-Button-Group bindbtnTap="btnTap" textNameObj="{{ textNameObj }}" /> <Gl-Button-Group bindbtnTap="btnTap" textNameObj="{{ textNameObj }}" />
</view> </view>
<goods show="{{ goodsBox }}" bindconfirm="chooseGoods" goodsData="{{ quotationGoodsList }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}" /> <goods show="{{ goodsBox }}" wx:if="{{goodsBox}}" bindconfirm="chooseGoods" goodsData="{{ quotationGoodsList }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}" />
<date-select show="{{ showDateSelect }}" bind:close="closeDateModal" selectPay="{{orderInfo.payType}}" bind:confirm="onChanteSuccessDate"></date-select> <date-select show="{{ showDateSelect }}" bind:close="closeDateModal" selectPay="{{orderInfo.payType}}" bind:confirm="onChanteSuccessDate"></date-select>
\ No newline at end of file \ No newline at end of file
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="../../images/del-btn.png" /> <image src="../../images/del-btn.png" />
</view> </view>
<view class="meal-name">{{item.packageGoods.packageName}}</view> <view class="meal-name">{{item.packageGoods.packageAlias||item.packageGoods.packageName}}</view>
<view class="meal-price">¥{{item.totalPrice}}</view> <view class="meal-price">¥{{item.totalPrice}}</view>
</view> </view>
<view class="goods" wx:for="{{ item.packageGoods.goodsList }}" wx:for-index="gInx" wx:for-item="g"> <view class="goods" wx:for="{{ item.packageGoods.goodsList }}" wx:for-index="gInx" wx:for-item="g">
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
<view class="goods"> <view class="goods">
<view class="name_box"> <view class="name_box">
<view class="name text-hide" wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}"> <view class="name text-hide" wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}">
{{item.multipleSpecificationsGoods.goods.goodsAlias}} 商品别名:{{item.multipleSpecificationsGoods.goods.goodsAlias}}
</view> </view>
<view class="name text-hide"> <view class="name text-hide">
{{item.multipleSpecificationsGoods.baseGoodsName}} {{item.multipleSpecificationsGoods.baseGoodsName}}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!