|
@@ -47,27 +47,27 @@
|
|
|
<text>{{item.name}}</text>
|
|
|
</view>
|
|
|
<view class="item-detail">
|
|
|
- <view class="item-detail-info">
|
|
|
- <view class="flex justify_between">
|
|
|
- <text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
- <text class="item-detail-text">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
- </view>
|
|
|
- <view class="flex justify_between">
|
|
|
- <view class="item-detail-text flex_1">
|
|
|
- <text class="item-price">¥{{item.price||0}}</text>
|
|
|
- </view>
|
|
|
- <view class="item-detail-text" v-if="item.currentInven">
|
|
|
- <u-button shape="circle" @click="addPart(item)" v-if="!item.checked" :custom-style="{width:'48upx',height:'48upx'}" type="primary" size="mini">
|
|
|
- <u-icon name="plus" color="#fff" size="28"></u-icon>
|
|
|
- </u-button>
|
|
|
- <u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0" :max="item.currentInven"></u-number-box>
|
|
|
- </view>
|
|
|
- <view class="item-detail-text" v-if="item.affiliation=='SUPER_CATALOGUE'||!item.currentInven">
|
|
|
- <text v-if="!item.checked" @click="addPart(item)" class="phtxt">我要临配</text>
|
|
|
+ <view class="item-detail-info">
|
|
|
+ <view class="flex justify_between">
|
|
|
+ <text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
+ <text class="item-detail-text" v-if="item.affiliation=='SHELF'">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="flex justify_between">
|
|
|
+ <view class="item-detail-text flex_1">
|
|
|
+ <text class="item-price" v-if="item.affiliation=='SHELF'">¥{{item.price||0}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="item-detail-text" v-if="item.currentInven">
|
|
|
+ <u-button shape="circle" @click="addPart(item)" v-if="!item.checked" :custom-style="{width:'48upx',height:'48upx'}" type="primary" size="mini">
|
|
|
+ <u-icon name="plus" color="#fff" size="28"></u-icon>
|
|
|
+ </u-button>
|
|
|
+ <u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0" :max="item.currentInven"></u-number-box>
|
|
|
+ </view>
|
|
|
+ <view class="item-detail-text" v-if="item.affiliation=='SUPER_CATALOGUE'||!item.currentInven">
|
|
|
+ <text v-if="!item.checked" @click="addPart(item)" class="phtxt">我要临配</text>
|
|
|
<u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0"></u-number-box>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="nav-right-item-btns flex align_center justify_between">
|
|
|
<view>
|
|
|
</view>
|