|
|
@@ -38,7 +38,7 @@
|
|
|
<label for="price" class="col-4 text-info">单价</label>
|
|
|
<input id="price" type="number" min="0" step="0.001" class="offset-3 col-5 form-control"
|
|
|
:class="errors.price ? 'is-invalid' : ''" v-model="model.storage.price">
|
|
|
- <span class="invalid-feedback mt-0 offset-2" role="alert" v-if="errors.price">
|
|
|
+ <span class="invalid-feedback mt-0 offset-6" role="alert" v-if="errors.price">
|
|
|
<strong>@{{ errors.price[0] }}</strong>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -46,10 +46,10 @@
|
|
|
<label for="unit_id" class="col-5 offset-1 text-info">单位</label>
|
|
|
<select id="unit_id" class="col-6 form-control"
|
|
|
:class="errors.unit_id ? 'is-invalid' : ''" v-model="model.storage.unit_id">
|
|
|
- <option v-for="unit in pool.units" :value="unit.id" v-if="unit.name == 'm²' || unit.name=='㎡' || unit.name == 'm³' || unit.name == '件' || unit.name == '托'">
|
|
|
+ <option v-for="unit in pool.units" :value="unit.id" v-if="unit.name == 'm²' || unit.name=='㎡' || unit.name == 'm³' || unit.name == '件'">
|
|
|
@{{ unit.name }}</option>
|
|
|
</select>
|
|
|
- <span class="invalid-feedback mt-0 offset-2" role="alert" v-if="errors.unit_id">
|
|
|
+ <span class="invalid-feedback mt-0 offset-6" role="alert" v-if="errors.unit_id">
|
|
|
<strong>@{{ errors.unit_id[0] }}</strong>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -59,7 +59,7 @@
|
|
|
:class="errors.time_unit_id ? 'is-invalid' : ''" v-model="model.storage.time_unit_id">
|
|
|
<option v-for="unit in pool.units" :value="unit.id" v-if="unit.name == '日' || unit.name == '月'">@{{ unit.name }}</option>
|
|
|
</select>
|
|
|
- <span class="invalid-feedback mt-0 offset-2" role="alert" v-if="errors.time_unit_id">
|
|
|
+ <span class="invalid-feedback mt-0 offset-6" role="alert" v-if="errors.time_unit_id">
|
|
|
<strong>@{{ errors.time_unit_id[0] }}</strong>
|
|
|
</span>
|
|
|
</div>
|