hefeng 5 lat temu
rodzic
commit
df488fe1b7

+ 5 - 5
src/main/resources/static/app/basic/storehouse/views/Storehouse-edit.html

@@ -199,7 +199,7 @@
199 199
 											<th>
200 200
 												<label class="input">
201 201
 													<input type="number" ng-model="basicStorehouse.houseDoorNum" ng-readonly="isNotEdit"
202
-												name="houseDoorNum" oninput="if(value.length>1) value=value.slice(0,1)" name="houseDoorNum" required>
202
+														name="houseDoorNum" oninput="if(value.length>1) value=value.slice(0,1)" required>
203 203
 												</label>
204 204
 											</th>
205 205
 										</tr>
@@ -230,7 +230,7 @@
230 230
 											<th>
231 231
 												<label class="input">
232 232
 													<input type="number" ng-model="basicStorehouse.width" ng-readonly="isNotEdit"
233
-														name="width" oninput="if(value.length>5) value=value.slice(0,5)" name="width" required 
233
+														name="width" oninput="if(value.length>5) value=value.slice(0,5)" required 
234 234
 														onblur="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''" />
235 235
 												</label>
236 236
 											</th>
@@ -336,7 +336,7 @@
336 336
 											<th>
337 337
 												<label class="input">
338 338
 												<input  type="number" step="1"  min="0" ng-model="basicStorehouse.designCapacity" ng-readonly="isNotEdit" name="designCapacity"
339
-												onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''" required>
339
+												onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''" required validThan0=true>
340 340
 												</label>
341 341
 											</th>
342 342
 											<th>
@@ -409,7 +409,7 @@
409 409
 											<th>
410 410
 												<label class="input">
411 411
 													<input type="number" ng-model="basicStorehouse.binVolume" ng-readonly="isNotEdit" name="binVolume" required validThan0=true
412
-														name="height" onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''">
412
+														onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''">
413 413
 												</label>
414 414
 											</th>
415 415
 										</tr>
@@ -452,7 +452,7 @@
452 452
 											<th>
453 453
 												<label class="input">
454 454
 													<input type="number" ng-model="basicStorehouse.grainPileVolume" ng-readonly="isNotEdit"
455
-														name="height" onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''">
455
+														name="grainPileVolume" onblur="this.value= this.value.match(/\d+(\.\d{0,4})?/) ? this.value.match(/\d+(\.\d{0,4})?/)[0] : ''">
456 456
 												</label>
457 457
 											</th>
458 458
 										</tr>