|
@@ -20,11 +20,16 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <view class="item" v-for="(itm, index) in tableH(4)" :key="index">
|
|
|
|
|
|
|
+ <view class="item" v-for="(itm, index) in tableH(1)" v-if='itm.prop' :key="index">
|
|
|
<view class="lable rx-cc">{{ itm.label }}</view>
|
|
<view class="lable rx-cc">{{ itm.label }}</view>
|
|
|
<view class="content">{{ mate[itm.prop] }}</view>
|
|
<view class="content">{{ mate[itm.prop] }}</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="item">
|
|
|
|
|
+ <view class="lable rx-cc">包装库存</view>
|
|
|
|
|
+ <view class="content">{{mate.availableCountBase}}/ {{mate.minUnit}}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="item">
|
|
<view class="item">
|
|
@@ -33,8 +38,8 @@
|
|
|
<input class="uni-input" v-model="mate.demandQuantity"
|
|
<input class="uni-input" v-model="mate.demandQuantity"
|
|
|
@blur='mate.demandQuantity > mate.packingCountBase ? mate.demandQuantity = mate.packingCountBase : mate.demandQuantity'
|
|
@blur='mate.demandQuantity > mate.packingCountBase ? mate.demandQuantity = mate.packingCountBase : mate.demandQuantity'
|
|
|
type="digit"></input>
|
|
type="digit"></input>
|
|
|
- <view class="unit">/{{mate.unit}}</view>
|
|
|
|
|
- <view> (库存:{{ mate.packingCountBase }})</view>
|
|
|
|
|
|
|
+ <view class="unit">/{{mate.measuringUnit}}</view>
|
|
|
|
|
+ <view> (库存:{{ mate.packingCountBase }} {{mate.measuringUnit}})</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|