|
@@ -7,27 +7,23 @@
|
|
|
<view class="commodity-view">
|
|
<view class="commodity-view">
|
|
|
<view class="commodity-list">
|
|
<view class="commodity-list">
|
|
|
<view class="commodity-item" v-for="(item, index) in selectList" :key="index">
|
|
<view class="commodity-item" v-for="(item, index) in selectList" :key="index">
|
|
|
- <image class="item-icon" :src="item.cover" alt="商品图" />
|
|
|
|
|
|
|
+ <image class="item-icon" :src="item.cover" alt="" />
|
|
|
<view class="item-info">
|
|
<view class="item-info">
|
|
|
<view class="info-line">
|
|
<view class="info-line">
|
|
|
<text class="item-name">{{ item.itemName }}</text>
|
|
<text class="item-name">{{ item.itemName }}</text>
|
|
|
<text class="item-price">
|
|
<text class="item-price">
|
|
|
<text class="unit">¥</text>
|
|
<text class="unit">¥</text>
|
|
|
<text class="price">
|
|
<text class="price">
|
|
|
- {{ item.userPrice }}
|
|
|
|
|
|
|
+ {{ parseFloat(item.userPrice)||0 }}
|
|
|
</text>
|
|
</text>
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-line">
|
|
<view class="info-line">
|
|
|
<text class="item-type"></text>
|
|
<text class="item-type"></text>
|
|
|
<text class="item-count">
|
|
<text class="item-count">
|
|
|
- <text v-if="item.bigCount > 0 || item.smallCount > 0">{{
|
|
|
|
|
- `${item.bigCount}`
|
|
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ <text v-if="item.bigCount > 0 || item.smallCount > 0">{{`${item.bigCount}`}}</text>
|
|
|
<text v-if="item.smallCount > 0">/</text>
|
|
<text v-if="item.smallCount > 0">/</text>
|
|
|
- <text v-if="item.smallCount > 0">{{
|
|
|
|
|
- `${item.smallCount}`
|
|
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ <text v-if="item.smallCount > 0">{{`${item.smallCount}`}}</text>
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -35,8 +31,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="summary-bar">
|
|
<view class="summary-bar">
|
|
|
<view class="operate-view" @click="gobackEvent">
|
|
<view class="operate-view" @click="gobackEvent">
|
|
|
- <text class="iconfont icongouwuche"></text>
|
|
|
|
|
- 重选花材
|
|
|
|
|
|
|
+ <text class="iconfont icongouwuche"></text>重选花材
|
|
|
</view>
|
|
</view>
|
|
|
<view class="describe-view">
|
|
<view class="describe-view">
|
|
|
共{{ selectList.length }}种,合计 ¥<text class="price">{{ allPrice }}</text>
|
|
共{{ selectList.length }}种,合计 ¥<text class="price">{{ allPrice }}</text>
|
|
@@ -309,8 +304,6 @@ export default {
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
//删除记忆
|
|
//删除记忆
|
|
|
this.removeMemory(that.option.customId)
|
|
this.removeMemory(that.option.customId)
|
|
|
- //删除小菊的记忆
|
|
|
|
|
- uni.removeStorageSync("xj"+params.customId)
|
|
|
|
|
const {data: { id, orderSn },} = res;
|
|
const {data: { id, orderSn },} = res;
|
|
|
this.$util.pageTo({ url: '/admin/billing/result',type:2,query: {orderId:id,orderSn:orderSn}})
|
|
this.$util.pageTo({ url: '/admin/billing/result',type:2,query: {orderId:id,orderSn:orderSn}})
|
|
|
}
|
|
}
|