|
@@ -65,8 +65,7 @@
|
|
|
<view class="item">
|
|
|
<view class="l"><text style="color: red;">*</text>规格:</view>
|
|
|
<view class="r">
|
|
|
- <u-input type="number" placeholder="输入规格" @input="handler()" v-model="form.unit">
|
|
|
- <text slot="suffix">米</text>
|
|
|
+ <u-input placeholder="输入规格" @input="handler()" v-model="form.unit">
|
|
|
</u-input>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -353,10 +352,6 @@
|
|
|
this.$common.toast('请填写原产地');
|
|
|
return false;
|
|
|
}
|
|
|
- if (!this.$common.isNum(this.form.unit)) {
|
|
|
- this.$common.toast('规格只能填写数字');
|
|
|
- return false;
|
|
|
- }
|
|
|
if (!this.form.pack) {
|
|
|
this.$common.toast('请填写包装');
|
|
|
return false;
|