Commit b5f911d1 authored by Damon's avatar Damon

fix: 【ID1001716】【扳手会小程序】:物料选择页面,隐藏字段“可用xxx件”

parent 8b7dcae6
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="right-content-name u-line-2">{{ info.name }}</view> <view class="right-content-name u-line-2">{{ info.name }}</view>
<view class="right-content-desc u-line-2">{{ info.remark }}</view> <view class="right-content-desc u-line-2">{{ info.remark }}</view>
<view class="u-flex right-content-opera"> <view class="u-flex right-content-opera">
<view class="no" v-if="info.max"> <view class="no" v-if="maxShow">
可用{{ info.max }} 可用{{ info.max }}
</view> </view>
<view class="num"> <view class="num">
...@@ -43,6 +43,12 @@ ...@@ -43,6 +43,12 @@
default () { default () {
return false return false
} }
},
maxShow: { // 是否显示可用数量
type: Boolean,
default () {
return true
}
} }
}, },
data() { data() {
......
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
:key="index" :key="index"
:info="item" :info="item"
:show-checked="false" :show-checked="false"
:maxShow="false"
@numChange="numChange($event, item, index)" @numChange="numChange($event, item, index)"
@apply="apply(item, index)" @apply="apply(item, index)"
></select-parts> ></select-parts>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment