|
|
@ -36,7 +36,7 @@ |
|
|
|
<text>数量 : </text> |
|
|
|
<view class="uni-flex uni-row uni-center" style="align-items: center;"> |
|
|
|
<input class="qty_input" v-model="allQty" :focus="true" type="number" |
|
|
|
@confirm="confirm()" @input="checkNum" :maxlength="maxlength" disabled :style="{background:'#f5f5f5',color:'#bbbbbb'}"/> |
|
|
|
@confirm="confirm()" @input="checkNum" :maxlength="maxlength" :disabled="!allowEditQty" :style="allowEditQty?{}:{background:'#f5f5f5',color:'#bbbbbb'}"/> |
|
|
|
<uom :uom="dataContent.uom"></uom> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -119,7 +119,11 @@ |
|
|
|
queryBalance: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
} |
|
|
|
}, |
|
|
|
allowEditQty: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch:{ |
|
|
|
'allQty'(newVal){ |
|
|
|