|
|
@@ -389,7 +389,8 @@
|
|
|
<div class="col-md-4 col-sm-4 col"><input ng-model="sampleItem.sampleSend.code" class="form-control input-sm" type="text" required></div>
|
|
|
<label class="col-md-2 col-sm-2 col">单重:</label>
|
|
|
<div class="col-md-4 col-sm-4 col input-group">
|
|
|
- <input ng-model="sampleItem.sampleSend.weight" class="form-control input-sm" type="number">
|
|
|
+ <input ng-model="sampleItem.sampleSend.weight" class="form-control input-sm" type="text"
|
|
|
+ ng-pattern="/^[1-9]\d*\.{0,1}\d*|0\.\d*[1-9]\d*$/">
|
|
|
<span style="width: 56px;" class="input-group-addon">g</span>
|
|
|
</div>
|
|
|
</div>
|