水滴连接数
This commit is contained in:
@@ -963,7 +963,7 @@
|
||||
<p v-else style="padding:0;margin:0;white-space: nowrap;overflow:hidden;"><span class="glyphicon glyphicon-asterisk " style="color:#00a63f;overflow:hidden;"></span>[未知]{{item.name}}</p>
|
||||
<hr style="margin:0;">
|
||||
<p style="padding:0;margin:0;">余量:{{item.total}} 延迟:{{item.ping}}ms</p>
|
||||
<p style="padding:0;margin:0;">分配数量:<input type="number" min=0 value="0" :class="item.province+'-'+item.city+'-'+item.rid+'-100'" @@change="selsect_adddr_num(item.province+'-'+item.city+'-'+item.rid+'-100')" :max="item.total" style="width:50%;color:black;background:white;"></p>
|
||||
<p style="padding:0;margin:0;">分配数量:<input type="number" min=0 value="0" :class="item.province+'-'+item.city+'-'+item.rid+'-100'" @@change="selsect_adddr_num(item.province+'-'+item.city+'-'+item.rid+'-100',item.total)" :max="item.total" style="width:50%;color:black;background:white;"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1200,7 +1200,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
selsect_adddr_num(addr_id) {
|
||||
selsect_adddr_num(addr_id,total) {
|
||||
var num = $("."+addr_id).val();
|
||||
if (num>total) {
|
||||
num =total;
|
||||
|
||||
Reference in New Issue
Block a user