cb-biz-ui 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<ui-icon name="add" :size="19" color="red"></ui-icon>
|
|
80
80
|
</view>
|
|
81
81
|
<view v-else class="number-box" @tap.stop="() => {}">
|
|
82
|
-
<uni-number-box
|
|
82
|
+
<!-- <uni-number-box
|
|
83
83
|
:value="goodsCount"
|
|
84
84
|
:min="0"
|
|
85
85
|
:max="
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"
|
|
90
90
|
:step="1"
|
|
91
91
|
@change="change"
|
|
92
|
-
></uni-number-box>
|
|
92
|
+
></uni-number-box> -->
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
<ui-numberbox
|
|
95
95
|
:value="goodsCount"
|
|
96
96
|
:min="0"
|
|
97
97
|
:max="
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
:step="1"
|
|
109
109
|
:backgroundColor="textFontSize.numberBoxBg"
|
|
110
110
|
iconColor="#C7C7CC"
|
|
111
|
-
></ui-numberbox>
|
|
111
|
+
></ui-numberbox>
|
|
112
112
|
</view>
|
|
113
113
|
<ui-cubic-bezier
|
|
114
114
|
v-if="bezier"
|
|
@@ -217,11 +217,11 @@ const getDiscount = (discount: number | string) => {
|
|
|
217
217
|
return `${discount} 折`;
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
const change = (val:
|
|
221
|
-
if (val > props.entity.inventoryCapacity) {
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
emit('countChange',
|
|
220
|
+
const change = (val: changeValueType) => {
|
|
221
|
+
// if (val > props.entity.inventoryCapacity) {
|
|
222
|
+
// triggerMax();
|
|
223
|
+
// }
|
|
224
|
+
emit('countChange', val, props.entity);
|
|
225
225
|
};
|
|
226
226
|
|
|
227
227
|
const triggerMax = () => {
|