|
|
@@ -53,7 +53,7 @@
|
|
|
<form @submit.prevent="createQrotedPrice(message)">
|
|
|
<input
|
|
|
class="price-input"
|
|
|
- type="number"
|
|
|
+ type="digit"
|
|
|
v-model="message.quotedPrice"
|
|
|
placeholder="输入价格"
|
|
|
@focus="hideKeyboard"
|
|
|
@@ -73,7 +73,7 @@
|
|
|
> -->
|
|
|
<input
|
|
|
class="price-input"
|
|
|
- type="number"
|
|
|
+ type="digit"
|
|
|
v-model="message.quotedPrice"
|
|
|
placeholder="输入价格"
|
|
|
@focus="hideKeyboard"
|
|
|
@@ -1131,8 +1131,8 @@ export default {
|
|
|
this.$msg('价格格式不正确');
|
|
|
return;
|
|
|
}
|
|
|
- if (message.quotedPrice <= 0) {
|
|
|
- this.$msg('价格不能小于等于0');
|
|
|
+ if (message.quotedPrice <= 0.01) {
|
|
|
+ this.$msg('价格不能小于等于0.01');
|
|
|
return;
|
|
|
}
|
|
|
const keyArr = message.goodsInfo.key.split('-');// shopId-userId-goodsId
|